mirror of
https://github.com/fltk/fltk.git
synced 2026-05-31 13:55:38 +08:00
Change member function args to Fl_Menu_Bar::play_menu(const Fl_Menu_Item *)
This commit is contained in:
+3
-2
@@ -92,9 +92,10 @@ public:
|
||||
*/
|
||||
virtual void update() {}
|
||||
/**
|
||||
Opens the menu named \c title of the menubar.
|
||||
Opens the 1st level submenu of the menubar corresponding to \c item.
|
||||
\since 1.4.0
|
||||
*/
|
||||
virtual void play_menu(const char *title);
|
||||
virtual void play_menu(const Fl_Menu_Item *item);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -111,7 +111,7 @@ public:
|
||||
const Fl_Menu_Item *menu() const {return Fl_Menu_::menu();}
|
||||
void menu(const Fl_Menu_Item *m);
|
||||
void update() FL_OVERRIDE;
|
||||
void play_menu(const char *title) FL_OVERRIDE;
|
||||
void play_menu(const Fl_Menu_Item *) FL_OVERRIDE;
|
||||
int add(const char* label, int shortcut, Fl_Callback*, void *user_data=0, int flags=0);
|
||||
/** Adds a new menu item.
|
||||
\see Fl_Menu_::add(const char* label, int shortcut, Fl_Callback*, void *user_data=0, int flags=0)
|
||||
|
||||
Reference in New Issue
Block a user