Add radio buttons to unittests_schemes in 4th tab.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12172 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
16774ddc4e
commit
1e5826e84b
@ -42,6 +42,7 @@
|
|||||||
#include <FL/Fl_Box.H>
|
#include <FL/Fl_Box.H>
|
||||||
#include <FL/Fl_Light_Button.H>
|
#include <FL/Fl_Light_Button.H>
|
||||||
#include <FL/Fl_Check_Button.H>
|
#include <FL/Fl_Check_Button.H>
|
||||||
|
#include <FL/Fl_Radio_Round_Button.H>
|
||||||
|
|
||||||
class SchemesTest : public Fl_Group {
|
class SchemesTest : public Fl_Group {
|
||||||
Fl_Choice *schemechoice;
|
Fl_Choice *schemechoice;
|
||||||
@ -198,6 +199,25 @@ public:
|
|||||||
} // Fl_File_Input* o
|
} // Fl_File_Input* o
|
||||||
o->end();
|
o->end();
|
||||||
} // Fl_Group* o
|
} // Fl_Group* o
|
||||||
|
{ Fl_Group* o = new Fl_Group(15, 140, 310, 190, "tab4");
|
||||||
|
//o->box(FL_THIN_UP_BOX);
|
||||||
|
o->color(FL_DARK1);
|
||||||
|
o->hide();
|
||||||
|
{ Fl_Radio_Round_Button* o = new Fl_Radio_Round_Button(40, 160, 120, 25, "Choice 1");
|
||||||
|
o->tooltip("Fl_Radio_Round_Button");
|
||||||
|
o->value(1); // selected
|
||||||
|
} // Fl_Radio_Round_Button* o
|
||||||
|
{ Fl_Radio_Round_Button* o = new Fl_Radio_Round_Button(40, 190, 120, 25, "Choice 2");
|
||||||
|
o->tooltip("Fl_Radio_Round_Button");
|
||||||
|
} // Fl_Radio_Round_Button* o
|
||||||
|
{ Fl_Radio_Round_Button* o = new Fl_Radio_Round_Button(40, 220, 120, 25, "Choice 3");
|
||||||
|
o->tooltip("Fl_Radio_Round_Button");
|
||||||
|
} // Fl_Radio_Round_Button* o
|
||||||
|
{ Fl_Radio_Round_Button* o = new Fl_Radio_Round_Button(40, 250, 120, 25, "Choice 4");
|
||||||
|
o->tooltip("Fl_Radio_Round_Button");
|
||||||
|
} // Fl_Radio_Round_Button* o
|
||||||
|
o->end();
|
||||||
|
} // Fl_Group* o
|
||||||
o->end();
|
o->end();
|
||||||
} // Fl_Tabs* o
|
} // Fl_Tabs* o
|
||||||
{ Fl_Box* o = new Fl_Box(341, 10, 80, 50, "thin box\ndown1");
|
{ Fl_Box* o = new Fl_Box(341, 10, 80, 50, "thin box\ndown1");
|
||||||
|
Loading…
Reference in New Issue
Block a user