19 #ifndef Fl_Sys_Menu_Bar_H
20 #define Fl_Sys_Menu_Bar_H
22 #include "Fl_Menu_Bar.H"
25 #if defined(__APPLE__) || defined(FL_DOXYGEN)
52 int add(
const char* label,
int shortcut,
Fl_Callback*,
void *user_data=0,
int flags=0);
56 int add(
const char* label,
const char* shortcut,
Fl_Callback* cb,
void *user_data=0,
int flags=0) {
59 int add(
const char* str);
60 int insert(
int index,
const char* label,
int shortcut,
Fl_Callback *cb,
void *user_data=0,
int flags=0);
64 int insert(
int index,
const char* label,
const char* shortcut,
Fl_Callback *cb,
void *user_data=0,
int flags=0) {
68 void replace(
int rank,
const char *name);
82 void mode (
int i,
int fl) {
98 #endif // defined(__APPLE__) || defined(FL_DOXYGEN)
100 #endif // Fl_Sys_Menu_Bar_H
FL_EXPORT unsigned int fl_old_shortcut(const char *s)
Emulation of XForms named shortcuts.
Definition: fl_shortcut.cxx:331