From 1e5826e84b17c341364fb4f61cefaefa288b8c9b Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sat, 11 Feb 2017 16:39:19 +0000 Subject: 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 --- test/unittest_schemes.cxx | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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 #include #include +#include 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"); -- cgit v1.2.3