diff options
Diffstat (limited to 'documentation/editor.html')
| -rw-r--r-- | documentation/editor.html | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/documentation/editor.html b/documentation/editor.html index b76dd81af..e2aa51dde 100644 --- a/documentation/editor.html +++ b/documentation/editor.html @@ -56,27 +56,27 @@ items in a menubar: <UL> <PRE> Fl_Menu_Item menuitems[] = { - { "&File", 0, 0, 0, FL_SUBMENU }, - { "&New", FL_ALT + 'n', new_cb }, - { "&Open...", FL_ALT + 'o', open_cb, 0, FL_MENU_DIVIDER }, - { "&Save", FL_ALT + 's', save_cb }, - { "Save &As...", FL_ALT + FL_SHIFT + 's', saveas_cb, 0, FL_MENU_DIVIDER }, - { "&Quit", FL_ALT + 'q', quit_cb }, + { "&File", 0, 0, 0, FL_SUBMENU }, + { "&New", FL_ALT + 'n', (Fl_Callback *)new_cb }, + { "&Open...", FL_ALT + 'o', (Fl_Callback *)open_cb, 0, FL_MENU_DIVIDER }, + { "&Save", FL_ALT + 's', (Fl_Callback *)save_cb }, + { "Save &As...", FL_ALT + FL_SHIFT + 's', (Fl_Callback *)saveas_cb, 0, FL_MENU_DIVIDER }, + { "&Quit", FL_ALT + 'q', (Fl_Callback *)quit_cb }, { 0 }, - { "&Edit", 0, 0, 0, FL_SUBMENU }, - { "&Undo", FL_ALT + 'z', undo_cb, 0, FL_MENU_DIVIDER }, - { "Cu&t", FL_ALT + 'x', cut_cb }, - { "&Copy", FL_ALT + 'c', copy_cb }, - { "&Paste", FL_ALT + 'v', paste_cb }, - { "&Delete", 0, delete_cb }, + { "&Edit", 0, 0, 0, FL_SUBMENU }, + { "&Undo", FL_ALT + 'z', (Fl_Callback *)undo_cb, 0, FL_MENU_DIVIDER }, + { "Cu&t", FL_ALT + 'x', (Fl_Callback *)cut_cb }, + { "&Copy", FL_ALT + 'c', (Fl_Callback *)copy_cb }, + { "&Paste", FL_ALT + 'v', (Fl_Callback *)paste_cb }, + { "&Delete", 0, (Fl_Callback *)delete_cb }, { 0 }, - { "&Search", 0, 0, 0, FL_SUBMENU }, - { "&Find...", FL_ALT + 'f', find_cb }, - { "F&ind Again", FL_ALT + 'g', find2_cb }, - { "&Replace...", FL_ALT + 'r', replace_cb }, - { "Re&place Again", FL_ALT + 't', replace2_cb }, + { "&Search", 0, 0, 0, FL_SUBMENU }, + { "&Find...", FL_ALT + 'f', (Fl_Callback *)find_cb }, + { "F&ind Again", FL_ALT + 'g', (Fl_Callback *)find2_cb }, + { "&Replace...", FL_ALT + 'r', (Fl_Callback *)replace_cb }, + { "Re&place Again", FL_ALT + 't', (Fl_Callback *)replace2_cb }, { 0 }, { 0 } |
