From 398acd9c2a73d0d5c69bb51f7f3497e229fb367c Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Tue, 24 Jul 2012 04:37:22 +0000 Subject: 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 --- FL/Fl_Spinner.H | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) (limited to 'FL/Fl_Spinner.H') 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.

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_); } -- cgit v1.2.3