summaryrefslogtreecommitdiff
path: root/fluid/Fl_Type.h
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-03-07 20:46:21 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-03-07 20:46:21 +0000
commit120dbf2c46b838de792472af39a6e76da19f544d (patch)
tree8535a2f5ca29a3af3dd7a674b79e7465f6b1a028 /fluid/Fl_Type.h
parentf00f9c7422bdb8d0e218b766aa087e03f61910f8 (diff)
Add ideal_size() and ideal_spacing() methods, which are used for the
guide stuff. This allows for different sizes and spacing depending on the widget and size... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4085 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/Fl_Type.h')
-rw-r--r--fluid/Fl_Type.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fluid/Fl_Type.h b/fluid/Fl_Type.h
index 3f44a7fe4..f5fd26924 100644
--- a/fluid/Fl_Type.h
+++ b/fluid/Fl_Type.h
@@ -304,6 +304,9 @@ public:
virtual void read_property(const char *);
virtual int read_fdesign(const char*, const char*);
+ virtual void ideal_size(int &w, int &h);
+ virtual void ideal_spacing(int &x, int &y);
+
~Fl_Widget_Type();
void redraw();
};