diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2017-03-09 22:08:29 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2017-03-09 22:08:29 +0000 |
| commit | 7123b78f3fd6758421f46a9fe735cb7de6bc6904 (patch) | |
| tree | f42bbee0143517f09dc8aec912335e0a9ab86172 /src/Fl_Group.cxx | |
| parent | fdee9dbf5d3d90e1258fb110fe7ce8d09e818d0d (diff) | |
Separated Fl_Spinner.H and Fl_Spinner.cxx (STR #2776).
Also removed deprecated (misspelled) method names mininum() and maxinum().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12189 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Group.cxx')
| -rw-r--r-- | src/Fl_Group.cxx | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/Fl_Group.cxx b/src/Fl_Group.cxx index b4ef6d91c..5a8fb1fd4 100644 --- a/src/Fl_Group.cxx +++ b/src/Fl_Group.cxx @@ -852,34 +852,6 @@ Fl_Input_Choice::Fl_Input_Choice (int X,int Y,int W,int H,const char*L) } -Fl_Spinner::Fl_Spinner(int X, int Y, int W, int H, const char *L) -: 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); -} - - // // End of "$Id$". // |
