Removed test output and test button (#ifdef TEST_MYBUTTON).

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@7857 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser 2010-11-16 10:01:08 +00:00
parent 6b3472dfed
commit 5ee73008ee
1 changed files with 4 additions and 2 deletions

View File

@ -188,7 +188,7 @@ public:
}
};
#ifdef TEST_MYBUTTON
class MyButton : public Fl_Button {
public:
MyButton(int x, int y,int w, int h, const char *l=0)
@ -204,7 +204,7 @@ public:
return Fl_Button::handle(event);
}
};
#endif
int main(int argc, char **argv) {
//Fl::set_color(Fl_Color(15),0,0,128);
@ -218,7 +218,9 @@ int main(int argc, char **argv) {
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);