diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2017-03-11 23:26:32 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2017-03-11 23:26:32 +0000 |
| commit | a1d555bd8014679843e6f9c53f33d301b49326b8 (patch) | |
| tree | b7a337af4658795945f247e33815c8559dab49ad /src/Fl_Group.cxx | |
| parent | 5544404f7a89a3d7e781f5e57d1271076485c91c (diff) | |
Separated Fl_Input_Choice.H and Fl_Input_Choice.cxx (STR #2750).
As proposed in STR #2750 and #2752: only status quo, i.e.:
- no new method Fl_Input_Choice::maximum_size(int) (STR #2750 and #2752)
- no handling of FL_Down key to open menu (STR #2752)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12192 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Group.cxx')
| -rw-r--r-- | src/Fl_Group.cxx | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/src/Fl_Group.cxx b/src/Fl_Group.cxx index 5a8fb1fd4..769156540 100644 --- a/src/Fl_Group.cxx +++ b/src/Fl_Group.cxx @@ -3,7 +3,7 @@ // // Group widget for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2010 by Bill Spitzak and others. +// Copyright 1998-2017 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -28,10 +28,6 @@ #include <FL/fl_draw.H> #include <stdlib.h> -#include <FL/Fl_Input_Choice.H> -#include <FL/Fl_Spinner.H> - - Fl_Group* Fl_Group::current_; // Hack: A single child is stored in the pointer to the array, while @@ -834,24 +830,6 @@ void Fl_Group::draw_outside_label(const Fl_Widget& widget) const { } -Fl_Input_Choice::Fl_Input_Choice (int X,int Y,int W,int H,const char*L) -: Fl_Group(X,Y,W,H,L) -{ - Fl_Group::box(FL_DOWN_BOX); - align(FL_ALIGN_LEFT); // default like Fl_Input - inp_ = new Fl_Input(inp_x(), inp_y(), - inp_w(), inp_h()); - inp_->callback(inp_cb, (void*)this); - inp_->box(FL_FLAT_BOX); // cosmetic - inp_->when(FL_WHEN_CHANGED|FL_WHEN_NOT_CHANGED); - menu_ = new InputMenuButton(menu_x(), menu_y(), - menu_w(), menu_h()); - menu_->callback(menu_cb, (void*)this); - menu_->box(FL_FLAT_BOX); // cosmetic - end(); -} - - // // End of "$Id$". // |
