From b5f85fd9d681a5cbbbc022bf0b2b23ba7eeeb41b Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 10 Mar 1999 20:18:38 +0000 Subject: Changed PostScript output to Level 1 for maximum compatibility. Fixed some more typos and formatting problems. git-svn-id: file:///fltk/svn/fltk/trunk@415 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Menu_Item.html | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'documentation/Fl_Menu_Item.html') diff --git a/documentation/Fl_Menu_Item.html b/documentation/Fl_Menu_Item.html index 3f1fc10fd..3ae3a389e 100644 --- a/documentation/Fl_Menu_Item.html +++ b/documentation/Fl_Menu_Item.html @@ -47,10 +47,8 @@ enum { // values for flags: }; - Typically menu items are statically defined; for example: - - -
-
+Typically menu items are statically defined; for example: 
+
     Fl_Menu_Item popup[] = {
       {"&alpha",   FL_ALT+'a', the_cb, (void*)1},
       {"&beta",    FL_ALT+'b', the_cb, (void*)2},
    @@ -69,15 +67,16 @@ Fl_Menu_Item popup[] = {
       {"check",    FL_ALT+'i', 0, 0, FL_MENU_TOGGLE|FL_MENU_VALUE},
       {"box",      FL_ALT+'i', 0, 0, FL_MENU_TOGGLE},
     {0}};
    -	
    -
- A submenu title is identified by the bit FL_SUBMENU in the -flags field, and ends with a label() that is NULL -. You can nest menus to any depth. A pointer to the first item in the + +produces: +

+ +A submenu title is identified by the bit FL_SUBMENU in the +flags field, and ends with a label() that is NULL. +You can nest menus to any depth. A pointer to the first item in the submenu can be treated as an Fl_Menu array itself. It is also possible to make seperate submenu arrays with FL_SUBMENU_POINTER - flags. +flags.

You should use the method functions to access structure members and not access them directly to avoid compatibility problems with future releases of FLTK.

-- cgit v1.2.3