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

BC_PopupMenu Class Reference

#include <bcpopupmenu.h>

Inheritance diagram for BC_PopupMenu:

BC_SubWindow BC_WindowBase BC_RelocatableWidget List of all members.

Public Member Functions

 BC_PopupMenu (int x, int y, int w, char *text, int use_title=1, VFrame **data=0, int margin=-1)
 BC_PopupMenu (int x, int y, char *text, int use_title=1, VFrame **data=0)
virtual ~BC_PopupMenu ()
virtual int handle_event ()
char * get_text ()
int initialize ()
int add_item (BC_MenuItem *item)
int remove_item (BC_MenuItem *item)
int total_items ()
BC_MenuItemget_item (int i)
void set_text (char *text)
void set_icon (BC_Pixmap *pixmap)
int draw_title ()
int reposition_window (int x, int y)
int deactivate ()
int activate_menu ()
int deactivate_menu ()
int focus_out_event ()
int repeat_event (int64_t duration)
int button_press_event ()
int button_release_event ()
int cursor_leave_event ()
int cursor_enter_event ()
int cursor_motion_event ()
int translation_event ()
int drag_start_event ()
int drag_stop_event ()
int drag_motion_event ()
int set_images (VFrame **data)

Static Public Member Functions

static int calculate_h (VFrame **data=0)

Private Attributes

char text [BCTEXTLEN]
int margin
VFrame ** data
BC_Pixmapimages [9]
BC_Pixmapicon
int highlighted
int popup_down
int use_title
int button_releases
BC_MenuPopupmenu_popup
int button_press_x
int button_press_y
int w_argument
int status

Detailed Description

Definition at line 13 of file bcpopupmenu.h.


Constructor & Destructor Documentation

BC_PopupMenu::BC_PopupMenu int  x,
int  y,
int  w,
char *  text,
int  use_title = 1,
VFrame **  data = 0,
int  margin = -1
 

Definition at line 21 of file bcpopupmenu.C.

BC_PopupMenu::BC_PopupMenu int  x,
int  y,
char *  text,
int  use_title = 1,
VFrame **  data = 0
 

Definition at line 49 of file bcpopupmenu.C.

BC_PopupMenu::~BC_PopupMenu  )  [virtual]
 

Definition at line 70 of file bcpopupmenu.C.


Member Function Documentation

int BC_PopupMenu::activate_menu  ) 
 

Definition at line 247 of file bcpopupmenu.C.

int BC_PopupMenu::add_item BC_MenuItem item  ) 
 

Definition at line 173 of file bcpopupmenu.C.

int BC_PopupMenu::button_press_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 327 of file bcpopupmenu.C.

int BC_PopupMenu::button_release_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 352 of file bcpopupmenu.C.

int BC_PopupMenu::calculate_h VFrame **  data = 0  )  [static]
 

Definition at line 159 of file bcpopupmenu.C.

int BC_PopupMenu::cursor_enter_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 476 of file bcpopupmenu.C.

int BC_PopupMenu::cursor_leave_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 456 of file bcpopupmenu.C.

int BC_PopupMenu::cursor_motion_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 494 of file bcpopupmenu.C.

int BC_PopupMenu::deactivate  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 234 of file bcpopupmenu.C.

int BC_PopupMenu::deactivate_menu  ) 
 

Definition at line 292 of file bcpopupmenu.C.

int BC_PopupMenu::drag_motion_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 541 of file bcpopupmenu.C.

int BC_PopupMenu::drag_start_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 528 of file bcpopupmenu.C.

int BC_PopupMenu::drag_stop_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 535 of file bcpopupmenu.C.

int BC_PopupMenu::draw_title  ) 
 

Definition at line 196 of file bcpopupmenu.C.

int BC_PopupMenu::focus_out_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 306 of file bcpopupmenu.C.

BC_MenuItem * BC_PopupMenu::get_item int  i  ) 
 

Definition at line 191 of file bcpopupmenu.C.

char * BC_PopupMenu::get_text  ) 
 

Definition at line 79 of file bcpopupmenu.C.

virtual int BC_PopupMenu::handle_event  )  [inline, virtual]
 

Definition at line 34 of file bcpopupmenu.h.

int BC_PopupMenu::initialize  )  [virtual]
 

Reimplemented from BC_SubWindow.

Definition at line 102 of file bcpopupmenu.C.

int BC_PopupMenu::remove_item BC_MenuItem item  ) 
 

Definition at line 179 of file bcpopupmenu.C.

int BC_PopupMenu::repeat_event int64_t  duration  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 313 of file bcpopupmenu.C.

int BC_PopupMenu::reposition_window int  x,
int  y
 

Definition at line 299 of file bcpopupmenu.C.

void BC_PopupMenu::set_icon BC_Pixmap pixmap  ) 
 

Definition at line 93 of file bcpopupmenu.C.

int BC_PopupMenu::set_images VFrame **  data  ) 
 

Definition at line 137 of file bcpopupmenu.C.

void BC_PopupMenu::set_text char *  text  ) 
 

Definition at line 84 of file bcpopupmenu.C.

int BC_PopupMenu::total_items  ) 
 

Definition at line 185 of file bcpopupmenu.C.

int BC_PopupMenu::translation_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 449 of file bcpopupmenu.C.


Member Data Documentation

int BC_PopupMenu::button_press_x [private]
 

Definition at line 76 of file bcpopupmenu.h.

int BC_PopupMenu::button_press_y [private]
 

Definition at line 76 of file bcpopupmenu.h.

int BC_PopupMenu::button_releases [private]
 

Definition at line 73 of file bcpopupmenu.h.

VFrame** BC_PopupMenu::data [private]
 

Definition at line 67 of file bcpopupmenu.h.

int BC_PopupMenu::highlighted [private]
 

Definition at line 70 of file bcpopupmenu.h.

BC_Pixmap* BC_PopupMenu::icon [private]
 

Definition at line 69 of file bcpopupmenu.h.

BC_Pixmap* BC_PopupMenu::images[9] [private]
 

Definition at line 68 of file bcpopupmenu.h.

int BC_PopupMenu::margin [private]
 

Definition at line 66 of file bcpopupmenu.h.

BC_MenuPopup* BC_PopupMenu::menu_popup [private]
 

Definition at line 74 of file bcpopupmenu.h.

int BC_PopupMenu::popup_down [private]
 

Definition at line 71 of file bcpopupmenu.h.

int BC_PopupMenu::status [private]
 

Definition at line 78 of file bcpopupmenu.h.

char BC_PopupMenu::text[BCTEXTLEN] [private]
 

Definition at line 65 of file bcpopupmenu.h.

int BC_PopupMenu::use_title [private]
 

Definition at line 72 of file bcpopupmenu.h.

int BC_PopupMenu::w_argument [private]
 

Definition at line 77 of file bcpopupmenu.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