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

BC_Button Class Reference

#include <bcbutton.h>

Inheritance diagram for BC_Button:

BC_SubWindow BC_WindowBase BC_RelocatableWidget BC_CancelButton BC_FileBoxDelete BC_FileBoxIcons BC_FileBoxNewfolder BC_FileBoxReload BC_FileBoxText BC_FileBoxUpdir BC_FileBoxUseThis BC_GenericButton BC_OKButton List of all members.

Public Member Functions

 BC_Button (int x, int y, VFrame **data)
 BC_Button (int x, int y, int w, VFrame **data)
virtual ~BC_Button ()
virtual int handle_event ()
int repeat_event (int64_t repeat_id)
virtual int draw_face ()
void disable ()
void enable ()
int initialize ()
virtual int set_images (VFrame **data)
int cursor_enter_event ()
int cursor_leave_event ()
int button_press_event ()
int button_release_event ()
int cursor_motion_event ()
int update_bitmaps (VFrame **data)
int reposition_window (int x, int y)
void set_underline (int number)

Private Attributes

BC_Pixmapimages [3]
VFrame ** data
int status
int w_argument
int underline_number
int enabled

Friends

class BC_GenericButton

Detailed Description

Definition at line 11 of file bcbutton.h.


Constructor & Destructor Documentation

BC_Button::BC_Button int  x,
int  y,
VFrame **  data
 

Definition at line 18 of file bcbutton.C.

BC_Button::BC_Button int  x,
int  y,
int  w,
VFrame **  data
 

Definition at line 32 of file bcbutton.C.

BC_Button::~BC_Button  )  [virtual]
 

Definition at line 48 of file bcbutton.C.


Member Function Documentation

int BC_Button::button_press_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 178 of file bcbutton.C.

int BC_Button::button_release_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 190 of file bcbutton.C.

int BC_Button::cursor_enter_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 148 of file bcbutton.C.

int BC_Button::cursor_leave_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 164 of file bcbutton.C.

int BC_Button::cursor_motion_event  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 214 of file bcbutton.C.

void BC_Button::disable  ) 
 

Definition at line 91 of file bcbutton.C.

int BC_Button::draw_face  )  [virtual]
 

Reimplemented in BC_GenericButton.

Definition at line 120 of file bcbutton.C.

void BC_Button::enable  ) 
 

Definition at line 85 of file bcbutton.C.

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

Reimplemented in BC_OKTextButton, BC_CancelTextButton, BC_OKButton, BC_CancelButton, BC_FileBoxOK, BC_FileBoxUseThis, BC_FileBoxCancel, BC_FileBoxText, BC_FileBoxIcons, BC_FileBoxNewfolder, BC_FileBoxUpdir, BC_FileBoxDelete, and BC_FileBoxReload.

Definition at line 20 of file bcbutton.h.

int BC_Button::initialize  )  [virtual]
 

Reimplemented from BC_SubWindow.

Definition at line 55 of file bcbutton.C.

int BC_Button::repeat_event int64_t  repeat_id  )  [virtual]
 

Reimplemented from BC_WindowBase.

Definition at line 134 of file bcbutton.C.

int BC_Button::reposition_window int  x,
int  y
 

Definition at line 68 of file bcbutton.C.

int BC_Button::set_images VFrame **  data  )  [virtual]
 

Reimplemented in BC_GenericButton.

Definition at line 103 of file bcbutton.C.

void BC_Button::set_underline int  number  ) 
 

Definition at line 98 of file bcbutton.C.

int BC_Button::update_bitmaps VFrame **  data  ) 
 

Definition at line 76 of file bcbutton.C.


Friends And Related Function Documentation

friend class BC_GenericButton [friend]
 

Reimplemented from BC_WindowBase.

Definition at line 18 of file bcbutton.h.


Member Data Documentation

VFrame** BC_Button::data [private]
 

Definition at line 41 of file bcbutton.h.

int BC_Button::enabled [private]
 

Definition at line 45 of file bcbutton.h.

BC_Pixmap* BC_Button::images[3] [private]
 

Definition at line 40 of file bcbutton.h.

int BC_Button::status [private]
 

Definition at line 42 of file bcbutton.h.

int BC_Button::underline_number [private]
 

Definition at line 44 of file bcbutton.h.

int BC_Button::w_argument [private]
 

Definition at line 43 of file bcbutton.h.


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