Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

BC_Menu Class Reference

#include <bcmenu.h>

List of all members.

Public Member Functions

 BC_Menu (char *text)
virtual ~BC_Menu ()
int add_item (BC_MenuItem *menuitem)
int remove_item (BC_MenuItem *item=0)
int total_menuitems ()
int set_text (char *text)
int initialize (BC_WindowBase *top_level, BC_MenuBar *menu_bar, int x, int y, int w, int h)
int dispatch_button_press ()
int dispatch_button_release ()
int dispatch_keypress ()
int dispatch_motion_event ()
int dispatch_cursor_leave ()
int dispatch_translation_event ()
int deactivate_menu ()
int activate_menu ()
int unhighlight ()
void draw_items ()

Private Member Functions

int draw_title ()

Private Attributes

int active
char text [1024]
int highlighted
int x
int y
int w
int h


class BC_MenuBar

Detailed Description

Definition at line 21 of file bcmenu.h.

Constructor & Destructor Documentation

BC_Menu::BC_Menu char *  text  ) 

Definition at line 14 of file bcmenu.C.

BC_Menu::~BC_Menu  )  [virtual]

Definition at line 22 of file bcmenu.C.

Member Function Documentation

int BC_Menu::activate_menu  ) 

Definition at line 195 of file bcmenu.C.

int BC_Menu::add_item BC_MenuItem menuitem  ) 

Definition at line 46 of file bcmenu.C.

int BC_Menu::deactivate_menu  ) 

Definition at line 298 of file bcmenu.C.

int BC_Menu::dispatch_button_press  ) 

Definition at line 63 of file bcmenu.C.

int BC_Menu::dispatch_button_release  ) 

Definition at line 94 of file bcmenu.C.

int BC_Menu::dispatch_cursor_leave  ) 

Definition at line 176 of file bcmenu.C.

int BC_Menu::dispatch_keypress  ) 

Definition at line 115 of file bcmenu.C.

int BC_Menu::dispatch_motion_event  ) 

Definition at line 120 of file bcmenu.C.

int BC_Menu::dispatch_translation_event  ) 

Definition at line 186 of file bcmenu.C.

void BC_Menu::draw_items  ) 

Definition at line 219 of file bcmenu.C.

int BC_Menu::draw_title  )  [private]

Definition at line 231 of file bcmenu.C.

int BC_Menu::initialize BC_WindowBase top_level,
BC_MenuBar menu_bar,
int  x,
int  y,
int  w,
int  h

Definition at line 27 of file bcmenu.C.

int BC_Menu::remove_item BC_MenuItem item = 0  ) 

Definition at line 52 of file bcmenu.C.

int BC_Menu::set_text char *  text  ) 

Definition at line 224 of file bcmenu.C.

int BC_Menu::total_menuitems  ) 

Definition at line 58 of file bcmenu.C.

int BC_Menu::unhighlight  ) 

Definition at line 309 of file bcmenu.C.

Friends And Related Function Documentation

friend class BC_MenuBar [friend]

Definition at line 27 of file bcmenu.h.

Member Data Documentation

int BC_Menu::active [private]

Definition at line 52 of file bcmenu.h.

int BC_Menu::h [private]

Definition at line 61 of file bcmenu.h.

int BC_Menu::highlighted [private]

Definition at line 59 of file bcmenu.h.

BC_MenuBar* BC_Menu::menu_bar [private]

Definition at line 56 of file bcmenu.h.

BC_MenuPopup* BC_Menu::menu_popup [private]

Definition at line 58 of file bcmenu.h.

char BC_Menu::text[1024] [private]

Definition at line 53 of file bcmenu.h.

BC_WindowBase* BC_Menu::top_level [private]

Definition at line 54 of file bcmenu.h.

int BC_Menu::w [private]

Definition at line 61 of file bcmenu.h.

int BC_Menu::x [private]

Definition at line 61 of file bcmenu.h.

int BC_Menu::y [private]

Definition at line 61 of file bcmenu.h.

The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:26:37 2006 for Guicast-svn by  doxygen 1.4.4