summaryrefslogtreecommitdiff
path: root/documentation/editor.html
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1999-03-25 15:26:44 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1999-03-25 15:26:44 +0000
commita5778a1864570ae097099363377f2b3b05c17737 (patch)
tree2249c6b82038146a4b6a76ab0e92a7d314daa199 /documentation/editor.html
parent7b19ba41ae282ff46eed9f7bc8804aadd55da3dd (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.html34
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[] = {
- { &quot;&amp;File&quot;, 0, 0, 0, FL_SUBMENU },
- { &quot;&amp;New&quot;, FL_ALT + 'n', new_cb },
- { &quot;&amp;Open...&quot;, FL_ALT + 'o', open_cb, 0, FL_MENU_DIVIDER },
- { &quot;&amp;Save&quot;, FL_ALT + 's', save_cb },
- { &quot;Save &amp;As...&quot;, FL_ALT + FL_SHIFT + 's', saveas_cb, 0, FL_MENU_DIVIDER },
- { &quot;&amp;Quit&quot;, FL_ALT + 'q', quit_cb },
+ { "&amp;File", 0, 0, 0, FL_SUBMENU },
+ { "&amp;New", FL_ALT + 'n', (Fl_Callback *)new_cb },
+ { "&amp;Open...", FL_ALT + 'o', (Fl_Callback *)open_cb, 0, FL_MENU_DIVIDER },
+ { "&amp;Save", FL_ALT + 's', (Fl_Callback *)save_cb },
+ { "Save &amp;As...", FL_ALT + FL_SHIFT + 's', (Fl_Callback *)saveas_cb, 0, FL_MENU_DIVIDER },
+ { "&amp;Quit", FL_ALT + 'q', (Fl_Callback *)quit_cb },
{ 0 },
- { &quot;&amp;Edit&quot;, 0, 0, 0, FL_SUBMENU },
- { &quot;&amp;Undo&quot;, FL_ALT + 'z', undo_cb, 0, FL_MENU_DIVIDER },
- { &quot;Cu&amp;t&quot;, FL_ALT + 'x', cut_cb },
- { &quot;&amp;Copy&quot;, FL_ALT + 'c', copy_cb },
- { &quot;&amp;Paste&quot;, FL_ALT + 'v', paste_cb },
- { &quot;&amp;Delete&quot;, 0, delete_cb },
+ { "&amp;Edit", 0, 0, 0, FL_SUBMENU },
+ { "&amp;Undo", FL_ALT + 'z', (Fl_Callback *)undo_cb, 0, FL_MENU_DIVIDER },
+ { "Cu&amp;t", FL_ALT + 'x', (Fl_Callback *)cut_cb },
+ { "&amp;Copy", FL_ALT + 'c', (Fl_Callback *)copy_cb },
+ { "&amp;Paste", FL_ALT + 'v', (Fl_Callback *)paste_cb },
+ { "&amp;Delete", 0, (Fl_Callback *)delete_cb },
{ 0 },
- { &quot;&amp;Search&quot;, 0, 0, 0, FL_SUBMENU },
- { &quot;&amp;Find...&quot;, FL_ALT + 'f', find_cb },
- { &quot;F&amp;ind Again&quot;, FL_ALT + 'g', find2_cb },
- { &quot;&amp;Replace...&quot;, FL_ALT + 'r', replace_cb },
- { &quot;Re&amp;place Again&quot;, FL_ALT + 't', replace2_cb },
+ { "&amp;Search", 0, 0, 0, FL_SUBMENU },
+ { "&amp;Find...", FL_ALT + 'f', (Fl_Callback *)find_cb },
+ { "F&amp;ind Again", FL_ALT + 'g', (Fl_Callback *)find2_cb },
+ { "&amp;Replace...", FL_ALT + 'r', (Fl_Callback *)replace_cb },
+ { "Re&amp;place Again", FL_ALT + 't', (Fl_Callback *)replace2_cb },
{ 0 },
{ 0 }