Author: matt
Date: 2010-11-16 06:36:56 -0800 (Tue, 16 Nov 2010)
New Revision: 7858
Log:
Removed clutter
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 10:01:08 UTC (rev
7857)
+++ branches/branch-1.1/test/menubar.cxx 2010-11-16 14:36:56 UTC (rev
7858)
@@ -188,23 +188,6 @@
}
};
-#ifdef TEST_MYBUTTON
-class MyButton : public Fl_Button {
-public:
- MyButton(int x, int y,int w, int h, const char *l=0)
- : Fl_Button(x, y, w, h, l) { }
- int handle(int event) {
- switch (event) {
- case FL_ENTER:
- puts("ENTER"); break;
- case FL_LEAVE:
- puts("LEAVE"); break;
- }
- printf("%d\n", event);
- return Fl_Button::handle(event);
- }
-};
-#endif
int main(int argc, char **argv) {
//Fl::set_color(Fl_Color(15),0,0,128);
@@ -218,9 +201,6 @@
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