diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2006-04-27 22:47:59 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2006-04-27 22:47:59 +0000 |
| commit | f74a812003bab965e02e6811eb90d111bff90139 (patch) | |
| tree | f4f2372b752efbec054d8cfd2acbdb2c5d7d916e /fluid/factory.cxx | |
| parent | ad0fc9ca23717b46639d2f28a83437300499870d (diff) | |
STR #1158: Fl_Spinner is now fully supported by Fluid. Previously, min, max, step and value could not be edited the usual way because spinner is derived from Fl_Group, not Fl_Valuator...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5038 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/factory.cxx')
| -rw-r--r-- | fluid/factory.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fluid/factory.cxx b/fluid/factory.cxx index 7eaf5dc87..27b9a5cba 100644 --- a/fluid/factory.cxx +++ b/fluid/factory.cxx @@ -394,6 +394,7 @@ public: if (w < 40) w = 40 ; } virtual const char *type_name() {return "Fl_Spinner";} + int is_spinner() const { return 1; } Fl_Widget *widget(int x,int y,int w,int h) { return new Fl_Spinner(x,y,w,h,"spinner:");} Fl_Widget_Type *_make() {return new Fl_Spinner_Type();} |
