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

BC_MenuPopup Class Reference

#include <bcmenupopup.h>

Inheritance diagram for BC_MenuPopup:

BC_SubMenu List of all members.

Public Member Functions

 BC_MenuPopup ()
virtual ~BC_MenuPopup ()
int initialize (BC_WindowBase *top_level, BC_MenuBar *menu_bar, BC_Menu *menu, BC_MenuItem *menu_item, BC_PopupMenu *popup_menu)
int add_item (BC_MenuItem *item)
int remove_item (BC_MenuItem *item=0)
int total_menuitems ()
int deactivate_submenus (BC_MenuPopup *exclude=0)
int dispatch_button_press ()
int dispatch_button_release ()
int dispatch_key_press ()
int dispatch_motion_event ()
int dispatch_cursor_leave ()
int dispatch_translation_event ()
int deactivate_menu ()
int activate_menu (int x, int y, int w, int h, int top_window_coords, int vertical_justify)
int get_key_x ()
int get_w ()
int draw_items ()
BC_Popupget_popup ()

Private Member Functions

int get_dimensions ()

Private Attributes

ArrayList< BC_MenuItem * > menu_items
BC_WindowBasetop_level
BC_MenuItemmenu_item
BC_MenuBarmenu_bar
BC_PopupMenupopup_menu
BC_Menumenu
int x
int y
int w
int h
int key_x
BC_Popuppopup
int active
int type
BC_Pixmapwindow_bg
BC_Pixmapitem_bg [3]

Friends

class BC_MenuItem
class BC_PopupMenu

Detailed Description

Definition at line 19 of file bcmenupopup.h.


Constructor & Destructor Documentation

BC_MenuPopup::BC_MenuPopup  ) 
 

Definition at line 21 of file bcmenupopup.C.

BC_MenuPopup::~BC_MenuPopup  )  [virtual]
 

Definition at line 29 of file bcmenupopup.C.


Member Function Documentation

int BC_MenuPopup::activate_menu int  x,
int  y,
int  w,
int  h,
int  top_window_coords,
int  vertical_justify
 

Definition at line 204 of file bcmenupopup.C.

int BC_MenuPopup::add_item BC_MenuItem item  ) 
 

Definition at line 77 of file bcmenupopup.C.

int BC_MenuPopup::deactivate_menu  ) 
 

Definition at line 289 of file bcmenupopup.C.

int BC_MenuPopup::deactivate_submenus BC_MenuPopup exclude = 0  ) 
 

Definition at line 280 of file bcmenupopup.C.

int BC_MenuPopup::dispatch_button_press  ) 
 

Definition at line 100 of file bcmenupopup.C.

int BC_MenuPopup::dispatch_button_release  ) 
 

Definition at line 114 of file bcmenupopup.C.

int BC_MenuPopup::dispatch_cursor_leave  ) 
 

Definition at line 189 of file bcmenupopup.C.

int BC_MenuPopup::dispatch_key_press  ) 
 

Definition at line 128 of file bcmenupopup.C.

int BC_MenuPopup::dispatch_motion_event  ) 
 

Definition at line 138 of file bcmenupopup.C.

int BC_MenuPopup::dispatch_translation_event  ) 
 

Definition at line 157 of file bcmenupopup.C.

int BC_MenuPopup::draw_items  ) 
 

Definition at line 300 of file bcmenupopup.C.

int BC_MenuPopup::get_dimensions  )  [private]
 

Definition at line 334 of file bcmenupopup.C.

int BC_MenuPopup::get_key_x  ) 
 

Definition at line 372 of file bcmenupopup.C.

BC_Popup * BC_MenuPopup::get_popup  ) 
 

Definition at line 377 of file bcmenupopup.C.

int BC_MenuPopup::get_w  ) 
 

Definition at line 382 of file bcmenupopup.C.

int BC_MenuPopup::initialize BC_WindowBase top_level,
BC_MenuBar menu_bar,
BC_Menu menu,
BC_MenuItem menu_item,
BC_PopupMenu popup_menu
 

Definition at line 42 of file bcmenupopup.C.

int BC_MenuPopup::remove_item BC_MenuItem item = 0  ) 
 

Definition at line 84 of file bcmenupopup.C.

int BC_MenuPopup::total_menuitems  ) 
 

Definition at line 95 of file bcmenupopup.C.


Friends And Related Function Documentation

friend class BC_MenuItem [friend]
 

Definition at line 25 of file bcmenupopup.h.

friend class BC_PopupMenu [friend]
 

Definition at line 26 of file bcmenupopup.h.


Member Data Documentation

int BC_MenuPopup::active [private]
 

Definition at line 67 of file bcmenupopup.h.

int BC_MenuPopup::h [private]
 

Definition at line 62 of file bcmenupopup.h.

BC_Pixmap* BC_MenuPopup::item_bg[3] [private]
 

Definition at line 71 of file bcmenupopup.h.

int BC_MenuPopup::key_x [private]
 

Definition at line 64 of file bcmenupopup.h.

BC_Menu* BC_MenuPopup::menu [private]
 

Definition at line 60 of file bcmenupopup.h.

BC_MenuBar* BC_MenuPopup::menu_bar [private]
 

Definition at line 58 of file bcmenupopup.h.

BC_MenuItem* BC_MenuPopup::menu_item [private]
 

Definition at line 57 of file bcmenupopup.h.

ArrayList<BC_MenuItem *> BC_MenuPopup::menu_items [private]
 

Definition at line 55 of file bcmenupopup.h.

BC_Popup* BC_MenuPopup::popup [private]
 

Definition at line 66 of file bcmenupopup.h.

BC_PopupMenu* BC_MenuPopup::popup_menu [private]
 

Definition at line 59 of file bcmenupopup.h.

BC_WindowBase* BC_MenuPopup::top_level [private]
 

Definition at line 56 of file bcmenupopup.h.

int BC_MenuPopup::type [private]
 

Definition at line 68 of file bcmenupopup.h.

int BC_MenuPopup::w [private]
 

Definition at line 62 of file bcmenupopup.h.

BC_Pixmap* BC_MenuPopup::window_bg [private]
 

Definition at line 70 of file bcmenupopup.h.

int BC_MenuPopup::x [private]
 

Definition at line 62 of file bcmenupopup.h.

int BC_MenuPopup::y [private]
 

Definition at line 62 of file bcmenupopup.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