diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-03-25 15:26:44 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-03-25 15:26:44 +0000 |
| commit | a5778a1864570ae097099363377f2b3b05c17737 (patch) | |
| tree | 2249c6b82038146a4b6a76ab0e92a7d314daa199 /documentation/editor.html | |
| parent | 7b19ba41ae282ff46eed9f7bc8804aadd55da3dd (diff) | |
Updated README and distribution packages to use v1.0.1.
Updated makefiles and makeincludes to use DSONAME and GLDLIBS.
Updated configure.in to use DSONAME instead of LIBNAME.
Updated editor example code in documentation.
Added ANSI C++ changes to make things compile with the latest EGCS
compiler.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@458 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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 } |
