Code

Changed preference to use file chooser button
[inkscape.git] / src / box3d-face.h
index 08729150e2119b97532a4d3d7b4999f79d670717..091a8108bb839a1e4b8bb5a383691b365c679567 100644 (file)
@@ -40,18 +40,25 @@ public:
                    bool align_along_PL = false);
     ***/
     void set_corners (NR::Point &A, NR::Point &B, NR::Point &C, NR::Point &D);
-    void set_face (NR::Point const A, NR::Point const C, Box3D::Axis const dir1, Box3D::Axis const dir2);
+    //void set_face (NR::Point const A, NR::Point const C, Box3D::Axis const dir1, Box3D::Axis const dir2);
     
-    void hook_path_to_3dbox();
+    void hook_path_to_3dbox(SPPath * existing_path = NULL);
+    void set_style(Inkscape::XML::Node *repr_face = NULL, bool extruded = true);
     void set_path_repr();
     void set_curve();
+    inline void lower_to_bottom() { SP_ITEM (path)->lowerToBottom(); }
+    inline void raise_to_top() { SP_ITEM (path)->raiseToTop(); }
+    gchar * axes_string();
     gchar * svg_repr_string();
+    static gint descr_to_id (gchar const *descr);
 
 private:
     NR::Point *corners[4];
 
     Box3D::Axis dir1;
     Box3D::Axis dir2;
+
+    Box3D::FrontOrRear front_or_rear;
     
     SPPath *path;
     SP3DBox *parent_box3d;