ButtonBase Class Reference

#include <button_base.h>

Inheritance diagram for ButtonBase:

AreaValueEdit ButtonBitmapped RadioButtons Area Button ButtonSwitch AreaDraw AreaTablet AreaTV AreaTabletScrolled ButtonText ScrollBar AreaListIcons AreaListText AreaTextInfo ButtonValue AreaTextEdit List of all members.

Public Member Functions

 ButtonBase (TWindow *menu, char *identbranch=0, int asciicode=0, bool akeepkey=0)
virtual void handle_window_screen_change ()

Detailed Description

The bare button type. Any buttons are derived from this. Basically, only the i/o is defined here.

Twgui overloads the buttonbase, by adding bitmapped drawing methods If needed, the ButtonBase can be used to create buttons with non-bitmapped drawing methods.


Constructor & Destructor Documentation

ButtonBase::ButtonBase TWindow menu,
char *  identbranch = 0,
int  asciicode = 0,
bool  akeepkey = 0
 

constructor


Member Function Documentation

void ButtonBase::handle_window_screen_change  )  [virtual]
 

if the window changes output bitmap, it will notify the buttons; if they are subbitmaps of the target screen, they should change as well. By default, this doesn't do anything.

Reimplemented in Area.


The documentation for this class was generated from the following files:
Generated on Tue Feb 14 13:48:44 2006 for Twgui by  doxygen 1.4.6-NO