diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2012-07-24 04:37:22 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2012-07-24 04:37:22 +0000 |
| commit | 398acd9c2a73d0d5c69bb51f7f3497e229fb367c (patch) | |
| tree | 1c7466ccccbe5dd68b23eb459ba4e045491df7fd /FL/Fl_Spinner.H | |
| parent | e607c90877e3d2dbf352d0f794c6c81c6d264b4e (diff) | |
STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Spinner.H')
| -rw-r--r-- | FL/Fl_Spinner.H | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/FL/Fl_Spinner.H b/FL/Fl_Spinner.H index 90706d6b1..2262c924a 100644 --- a/FL/Fl_Spinner.H +++ b/FL/Fl_Spinner.H @@ -121,31 +121,7 @@ private: and label string. <P>Inherited destructor Destroys the widget and any value associated with it. */ - Fl_Spinner(int X, int Y, int W, int H, const char *L = 0) - : Fl_Group(X, Y, W, H, L), - input_(X, Y, W - H / 2 - 2, H), - up_button_(X + W - H / 2 - 2, Y, H / 2 + 2, H / 2, "@-42<"), - down_button_(X + W - H / 2 - 2, Y + H - H / 2, - H / 2 + 2, H / 2, "@-42>") { - end(); - - value_ = 1.0; - minimum_ = 1.0; - maximum_ = 100.0; - step_ = 1.0; - format_ = "%g"; - - align(FL_ALIGN_LEFT); - - input_.value("1"); - input_.type(FL_INT_INPUT); - input_.when(FL_WHEN_ENTER_KEY | FL_WHEN_RELEASE); - input_.callback((Fl_Callback *)sb_cb, this); - - up_button_.callback((Fl_Callback *)sb_cb, this); - - down_button_.callback((Fl_Callback *)sb_cb, this); - } + Fl_Spinner(int X, int Y, int W, int H, const char *L = 0); /** Sets or returns the format string for the value. */ const char *format() { return (format_); } |
