From d55dfeb5e954d650287320c5e2fe90befe6e2d60 Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Mon, 15 Sep 2008 17:46:42 +0000 Subject: Doxygen documentation. Fixed somes typos and also H4 remanent misplaced tags and comments. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6258 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Menu_.H | 32 +++----------------------------- 1 file changed, 3 insertions(+), 29 deletions(-) (limited to 'FL/Fl_Menu_.H') diff --git a/FL/Fl_Menu_.H b/FL/Fl_Menu_.H index 583f44440..41e9a492d 100644 --- a/FL/Fl_Menu_.H +++ b/FL/Fl_Menu_.H @@ -124,41 +124,15 @@ public: This box type is used to surround the currently-selected items in the menus. If this is FL_NO_BOX then it acts like FL_THIN_UP_BOX and selection_color() acts like - FL_WHITE, for back compatability. - - -

const Fl_Menu_Item *Fl_Menu_::find_item(const char *name);

- -

Returns a pointer to the menu item with the given (full) - pathname. If no matching menu item can be found, a NULL pointer - is returned. This function does not search submenus that are linked - via FL_SUBMENU_POINTER.

- - -

int Fl_Menu_::item_pathname(char *name, int namelen ) const;
- int Fl_Menu_::item_pathname(char *name, int namelen, const Fl_Menu_Item *finditem) const;

- -

Returns the 'menu pathname' (eg. "File/Quit") for the recently picked item in user supplied string 'name'. Useful in the callback function for a menu item, to determine the last picked item's 'menu pathname' string. - -

If finditem is specified, name will contain the 'menu pathname' for that item. - -

Returns: - -

- -

In the case of errors (-1 or -2), 'name' will be an empty string. + FL_WHITE, for back compatibility. */ Fl_Boxtype down_box() const {return (Fl_Boxtype)down_box_;} /** See Fl_Boxtype Fl_Menu_::down_box() const */ void down_box(Fl_Boxtype b) {down_box_ = b;} - /** For back compatability, same as selection_color() */ + /** For back compatibility, same as selection_color() */ Fl_Color down_color() const {return selection_color();} - /** For back compatability, same as selection_color() */ + /** For back compatibility, same as selection_color() */ void down_color(unsigned c) {selection_color(c);} }; -- cgit v1.2.3