summaryrefslogtreecommitdiff
path: root/fluid/Fl_Type.h
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2005-08-15 20:40:16 +0000
committerMatthias Melcher <fltk@matthiasm.com>2005-08-15 20:40:16 +0000
commit41c089f3c13261e4606d43c1682fb4b3501e6670 (patch)
tree1a7e909f2a65009de8b4694edf0eb6b4be408ebc /fluid/Fl_Type.h
parentc38c41a0c67211d90c87b92364d593e3362b0467 (diff)
Dottet label selection box and standard widget selection boxes would not always align when snapping was enabled. Also, the dragging indicators would not snap. (STR #964)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4514 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/Fl_Type.h')
-rw-r--r--fluid/Fl_Type.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fluid/Fl_Type.h b/fluid/Fl_Type.h
index 4c7d18af5..8220273bb 100644
--- a/fluid/Fl_Type.h
+++ b/fluid/Fl_Type.h
@@ -464,7 +464,8 @@ protected:
friend class Overlay_Window;
int mx,my; // mouse position during dragging
int x1,y1; // initial position of selection box
- int bx,by,br,bt; // bounding box of selection
+ int bx,by,br,bt; // bounding box of selection before snapping
+ int sx,sy,sr,st; // bounding box of selection after snapping to guides
int dx,dy;
int drag; // which parts of bbox are being moved
int numselected; // number of children selected