Classes | Typedefs | Functions
core/vgui/vgui_menu.h File Reference

Representation of menus and menu items for pop-up and menubar menus. More...

#include <vcl_string.h>
#include <vcl_vector.h>
#include <vcl_iosfwd.h>
#include <vgui/vgui_key.h>
#include <vgui/vgui_modifier.h>
#include <vgui/vgui_command_sptr.h>

Go to the source code of this file.

Classes

struct  vgui_menu_item
 Representation of an item on a menu. More...
struct  vgui_menu_item::invocation
 Description of keyboard shortcut (makes no sense for separators). More...
class  vgui_menu
 Representation of a menu for both pop-up and menubar menus. More...

Typedefs

typedef void(* vgui_menu_callback )(void const *client_data)
typedef void(* vgui_menu_callback_no_client_data )()

Functions

vcl_ostream & operator<< (vcl_ostream &, vgui_menu const &)

Detailed Description

Representation of menus and menu items for pop-up and menubar menus.

Author:
fsm

Contains classes vgui_menu_item vgui_menu

These menu description structures are designed to work for both pop-up (modal) menus and stay-up (non-modal) menus. They can be passed by value.

    Modifications
     07-Aug-1999 K.Y.McGaul - Added Doxygen style comments.
   

Definition in file vgui_menu.h.


Typedef Documentation

typedef void(* vgui_menu_callback)(void const *client_data)

Definition at line 29 of file vgui_menu.h.

Definition at line 30 of file vgui_menu.h.


Function Documentation

vcl_ostream& operator<< ( vcl_ostream &  ,
vgui_menu const &   
)

Definition at line 181 of file vgui_menu.cxx.