summaryrefslogtreecommitdiffstats
path: root/src/box3d.h
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2007-12-26 11:19:54 +0000
committercilix42 <cilix42@users.sourceforge.net>2007-12-26 11:19:54 +0000
commitc3707d1f929ff303572094636ec5f9edf4431f3e (patch)
treeed04a22de2074382126ffb503688517e0b1cda6b /src/box3d.h
parentmore on cairo ps/pdf options (diff)
downloadinkscape-c3707d1f929ff303572094636ec5f9edf4431f3e.tar.gz
inkscape-c3707d1f929ff303572094636ec5f9edf4431f3e.zip
Don't show boxes as everted (i.e., always show the same sides) during initial drag, regardless of the mouse pointer position.
(bzr r4306)
Diffstat (limited to 'src/box3d.h')
-rw-r--r--src/box3d.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/box3d.h b/src/box3d.h
index d34ac1ae0..d6243d5e0 100644
--- a/src/box3d.h
+++ b/src/box3d.h
@@ -43,6 +43,8 @@ struct SPBox3D : public SPGroup {
Proj::Pt3 save_corner0;
Proj::Pt3 save_corner7;
+ Box3D::Axis swapped; // to indicate which coordinates are swapped during dragging
+
gint my_counter; // for debugging only
};
@@ -70,6 +72,8 @@ int box3d_VP_lies_in_PL_sector (SPBox3D const *box, Proj::Axis vpdir, int id1, i
/* ensures that the coordinates of corner0 and corner7 are in the correct order (to prevent everted boxes) */
void box3d_relabel_corners(SPBox3D *box);
+void box3d_check_for_swapped_coords(SPBox3D *box);
+
void box3d_add_to_selection(SPBox3D *box);
void box3d_remove_from_selection(SPBox3D *box);
void box3d_mark_transformed(SPBox3D *box);