summaryrefslogtreecommitdiff
path: root/fluid/Fl_Type.h
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2005-08-15 23:07:20 +0000
committerMatthias Melcher <fltk@matthiasm.com>2005-08-15 23:07:20 +0000
commit78e42749634776a377eb3f0ceadea6276213ec7e (patch)
tree7fb45a6dd35e54204d7ac7104fcc9b3cb80466a3 /fluid/Fl_Type.h
parent41c089f3c13261e4606d43c1682fb4b3501e6670 (diff)
Added support for Fl_Window::size_range() in FLUID. There are no UI elements for increment or aspect ratio.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/Fl_Type.h')
-rw-r--r--fluid/Fl_Type.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/fluid/Fl_Type.h b/fluid/Fl_Type.h
index 8220273bb..eaacb3a29 100644
--- a/fluid/Fl_Type.h
+++ b/fluid/Fl_Type.h
@@ -485,7 +485,7 @@ protected:
public:
- Fl_Window_Type() { drag = dx = dy = 0; }
+ Fl_Window_Type() { drag = dx = dy = 0; sr_min_w = sr_min_h = sr_max_w = sr_max_h = 0; }
uchar modal, non_modal;
Fl_Type *make();
@@ -511,6 +511,8 @@ public:
Fl_Widget *enter_live_mode(int top=0);
void leave_live_mode();
void copy_properties();
+
+ int sr_min_w, sr_min_h, sr_max_w, sr_max_h;
};
class Fl_Widget_Class_Type : private Fl_Window_Type {