diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2017-02-11 16:39:19 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2017-02-11 16:39:19 +0000 |
| commit | 1e5826e84b17c341364fb4f61cefaefa288b8c9b (patch) | |
| tree | b411b1a565e87f39cbfeca9748ca208a97ebbcc7 /test/unittest_schemes.cxx | |
| parent | 16774ddc4e000c89e560fde0ced8be9814ef041e (diff) | |
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
Diffstat (limited to 'test/unittest_schemes.cxx')
| -rw-r--r-- | test/unittest_schemes.cxx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/unittest_schemes.cxx b/test/unittest_schemes.cxx index 8761f64de..2efcaac82 100644 --- a/test/unittest_schemes.cxx +++ b/test/unittest_schemes.cxx @@ -42,6 +42,7 @@ #include <FL/Fl_Box.H> #include <FL/Fl_Light_Button.H> #include <FL/Fl_Check_Button.H> +#include <FL/Fl_Radio_Round_Button.H> class SchemesTest : public Fl_Group { Fl_Choice *schemechoice; @@ -198,6 +199,25 @@ public: } // Fl_File_Input* o o->end(); } // 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(); } // Fl_Tabs* o { Fl_Box* o = new Fl_Box(341, 10, 80, 50, "thin box\ndown1"); |
