diff --git a/src/box3d.h b/src/box3d.h
index 182a312e13b9ffdcb989302cfdff2b5bb73358df..5dbf0cf5e4912aeea30a82ae10cfe35a171a5425 100644 (file)
--- a/src/box3d.h
+++ b/src/box3d.h
-#ifndef __SP_BOX3D_H__
-#define __SP_BOX3D_H__
+#ifndef SEEN_SP_BOX3D_H
+#define SEEN_SP_BOX3D_H
/*
* SVG <box3d> implementation
/*
* SVG <box3d> implementation
* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
* Maximilian Albert <Anhalter42@gmx.de>
* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
* Maximilian Albert <Anhalter42@gmx.de>
+ * Abhishek Sharma
*
* Copyright (C) 2007 Authors
* Copyright (C) 1999-2002 Lauris Kaplinski
*
* Copyright (C) 2007 Authors
* Copyright (C) 1999-2002 Lauris Kaplinski
class Persp3DReference;
class SPBox3D : public SPGroup {
class Persp3DReference;
class SPBox3D : public SPGroup {
- public:
+public:
gint z_orders[6]; // z_orders[i] holds the ID of the face at position #i in the group (from top to bottom)
gchar *persp_href;
gint z_orders[6]; // z_orders[i] holds the ID of the face at position #i in the group (from top to bottom)
gchar *persp_href;
Box3D::Axis swapped; // to indicate which coordinates are swapped during dragging
gint my_counter; // for debugging only
Box3D::Axis swapped; // to indicate which coordinates are swapped during dragging
gint my_counter; // for debugging only
+
+ /**
+ * Create a SPBox3D and append it to the parent.
+ */
+ static SPBox3D * createBox3D(SPItem * parent);
};
class SPBox3DClass {
};
class SPBox3DClass {
- public:
+public:
SPGroupClass parent_class;
};
SPGroupClass parent_class;
};
SPGroup *box3d_convert_to_group(SPBox3D *box);
SPGroup *box3d_convert_to_group(SPBox3D *box);
-#endif /* __SP_BOX3D_H__ */
+#endif // SEEN_SP_BOX3D_H
/*
Local Variables:
/*
Local Variables:
fill-column:99
End:
*/
fill-column:99
End:
*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :