diff options
| author | Martin Owens <doctormo@gmail.com> | 2013-10-06 18:45:09 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2013-10-06 18:45:09 +0000 |
| commit | 86343e070a018d6636c38b1e74ea8cf7b1c4af77 (patch) | |
| tree | e4c772a236d5285a3d2a1eec42a0e9f1f625f464 /src/box3d.cpp | |
| parent | Order of message setting for tools (diff) | |
| download | inkscape-86343e070a018d6636c38b1e74ea8cf7b1c4af77.tar.gz inkscape-86343e070a018d6636c38b1e74ea8cf7b1c4af77.zip | |
Add 3d Box displayName and description
(bzr r12665)
Diffstat (limited to 'src/box3d.cpp')
| -rw-r--r-- | src/box3d.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/box3d.cpp b/src/box3d.cpp index 193051ee5..ff99fccba 100644 --- a/src/box3d.cpp +++ b/src/box3d.cpp @@ -1325,6 +1325,15 @@ SPGroup *box3d_convert_to_group(SPBox3D *box) return SP_GROUP(doc->getObjectByRepr(grepr)); } +const char *SPBox3D::displayName() { + return _("3D Box"); +} + +gchar *SPBox3D::description() { + // We could put more details about the 3d box here + return g_strdup(""); +} + static inline void box3d_push_back_corner_pair(SPBox3D *box, std::list<std::pair<Geom::Point, Geom::Point> > &pts, int c1, int c2) { pts.push_back(std::make_pair(box3d_get_corner_screen(box, c1, false), |
