From 709366d65c9c4f3bec059e3bb714a21ad6012af9 Mon Sep 17 00:00:00 2001 From: Bill Spitzak Date: Fri, 26 Feb 1999 07:12:39 +0000 Subject: Fixed documentation of Fl_Menu_Item::size() git-svn-id: file:///fltk/svn/fltk/trunk@346 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Menu_Item.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'documentation') diff --git a/documentation/Fl_Menu_Item.html b/documentation/Fl_Menu_Item.html index 7d3ca8820..3f1fc10fd 100644 --- a/documentation/Fl_Menu_Item.html +++ b/documentation/Fl_Menu_Item.html @@ -285,9 +285,10 @@ does not match any shortcuts then NULL is returned. This only matches the shortcut() fields, not the letters in the title preceeded by '

int Fl_Menu_Item::size()

- Return the offset of the NULL terminator that ends this menu, -correctly skipping over submenus. To copy a menu you should copy -size() + 1 structures. + Returns the number of Fl_Menu_Item structures that make up this menu, +correctly counting submenus. This includes the "terminator" item at +the end. So to copy a menu you need to copy +size()*sizeof(Fl_Menu_Item) bytes.

const Fl_Menu_Item* Fl_Menu_Item::next(int n=1) const
Fl_Menu_Item* Fl_Menu_Item::next(int n=1);

-- cgit v1.2.3