Author: AlbrechtS
Date: 2010-11-16 02:01:08 -0800 (Tue, 16 Nov 2010)
New Revision: 7857
Log:
Removed test output and test button (#ifdef TEST_MYBUTTON).


Modified:
   branches/branch-1.1/test/menubar.cxx

Modified: branches/branch-1.1/test/menubar.cxx
===================================================================
--- branches/branch-1.1/test/menubar.cxx        2010-11-16 09:44:55 UTC (rev 
7856)
+++ branches/branch-1.1/test/menubar.cxx        2010-11-16 10:01:08 UTC (rev 
7857)
@@ -188,7 +188,7 @@
   }
 };
 
-
+#ifdef TEST_MYBUTTON
 class MyButton : public Fl_Button {
 public:
   MyButton(int x, int y,int w, int h, const char *l=0)
@@ -204,8 +204,8 @@
     return Fl_Button::handle(event);
   }
 };
+#endif
 
-
 int main(int argc, char **argv) {
   //Fl::set_color(Fl_Color(15),0,0,128);
   for (int i=0; i<99; i++) {
@@ -218,7 +218,9 @@
   Fl_Menu_Bar menubar(0,0,WIDTH,30); menubar.menu(menutable);
   menubar.callback(test_cb);
   menus[0] = &menubar;
+#ifdef TEST_MYBUTTON
   MyButton bb(100, 125, 120, 25, "Erwinn");
+#endif
   Fl_Menu_Button mb1(100,100,120,25,"&menubutton"); mb1.menu(pulldown);
   mb1.tooltip("this is a menu button");
   mb1.callback(test_cb);

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to