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

BC_MenuBar Class Reference

#include <bcmenubar.h>

Inheritance diagram for BC_MenuBar:

BC_SubWindow BC_WindowBase BC_RelocatableWidget List of all members.

Public Member Functions

 BC_MenuBar (int x, int y, int w)
virtual ~BC_MenuBar ()
int add_menu (BC_Menu *menu)
int initialize ()
int focus_out_event ()
int keypress_event ()
int button_press_event ()
int button_release_event ()
int cursor_motion_event ()
int cursor_enter_event ()
int cursor_leave_event ()
int resize_event (int w, int h)
int translation_event ()
int deactivate ()
int unhighlight ()
void draw_items ()

Static Public Member Functions

static int calculate_height (BC_WindowBase *window)

Private Member Functions

int draw_face ()
int activate ()

Private Attributes

ArrayList< BC_Menu * > menu_titles
int button_releases
int active
BC_Pixmapmenu_bar_bg
BC_Pixmapmenu_title_bg [3]

Friends

class BC_Menu

Detailed Description

Definition at line 9 of file bcmenubar.h.


Constructor & Destructor Documentation

BC_MenuBar::BC_MenuBar int  x,
int  y,
int  w
 

Definition at line 17 of file bcmenubar.C.

BC_MenuBar::~BC_MenuBar  )  [virtual]
 

Definition at line 29 of file bcmenubar.C.


Member Function Documentation

int BC_MenuBar::activate  )  [private, virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 201 of file bcmenubar.C.

int BC_MenuBar::add_menu BC_Menu menu  ) 
 

Definition at line 82 of file bcmenubar.C.

int BC_MenuBar::button_press_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 107 of file bcmenubar.C.

int BC_MenuBar::button_release_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 119 of file bcmenubar.C.

int BC_MenuBar::calculate_height BC_WindowBase window  )  [static]
 

Definition at line 67 of file bcmenubar.C.

int BC_MenuBar::cursor_enter_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 183 of file bcmenubar.C.

int BC_MenuBar::cursor_leave_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 174 of file bcmenubar.C.

int BC_MenuBar::cursor_motion_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 164 of file bcmenubar.C.

int BC_MenuBar::deactivate  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 209 of file bcmenubar.C.

int BC_MenuBar::draw_face  )  [private]
 

Definition at line 229 of file bcmenubar.C.

void BC_MenuBar::draw_items  ) 
 

Definition at line 75 of file bcmenubar.C.

int BC_MenuBar::focus_out_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 101 of file bcmenubar.C.

int BC_MenuBar::initialize  )  [virtual]
 

Reimplemented from BC_SubWindow.

Definition at line 39 of file bcmenubar.C.

int BC_MenuBar::keypress_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 151 of file bcmenubar.C.

int BC_MenuBar::resize_event int  w,
int  h
[virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 140 of file bcmenubar.C.

int BC_MenuBar::translation_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 189 of file bcmenubar.C.

int BC_MenuBar::unhighlight  ) 
 

Definition at line 220 of file bcmenubar.C.


Friends And Related Function Documentation

friend class BC_Menu [friend]
 

Reimplemented from BC_WindowBase.

Definition at line 15 of file bcmenubar.h.


Member Data Documentation

int BC_MenuBar::active [private]
 

Definition at line 43 of file bcmenubar.h.

int BC_MenuBar::button_releases [private]
 

Definition at line 41 of file bcmenubar.h.

BC_Pixmap* BC_MenuBar::menu_bar_bg [private]
 

Definition at line 44 of file bcmenubar.h.

BC_Pixmap* BC_MenuBar::menu_title_bg[3] [private]
 

Definition at line 45 of file bcmenubar.h.

ArrayList<BC_Menu*> BC_MenuBar::menu_titles [private]
 

Definition at line 39 of file bcmenubar.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