#include <CascadeDirBrowser.h>
Inheritance diagram for CascadeDirBrowser::BrowserButton:
Public Member Functions | |
BrowserButton () | |
void | SetUnselectableFocusBitmap (CascadeBitmap *inBitmap) |
void | SetUnselectableUnfocusedBitmap (CascadeBitmap *inBitmap) |
void | SetSelectable (bool inSelectable) |
bool | IsSelectable (void) |
Protected Member Functions | |
virtual void | OnPaint (CascadeBitmap &bitmap) |
virtual bool | OnKeyDown (u32 nKey) |
Protected Attributes | |
CascadeBitmap * | mUnselectableFocusBitmap |
CascadeBitmap * | mUnselectableUnfocusedBitmap |
bool | mbSelectable |
|
|
|
|
|
key down handler for CascadeButtonWidget The default OnKeyDown handler toggles the state of the button widget when CK_SELECT is received. Override this function in your derived classes to provide custom key down handling functionality.
Reimplemented from CascadeButtonWidget. |
|
paint handler for CascadeButtonWidget The default implementation renders the button using the appropriate bitmap if it is set, or with line-drawing and rect fills to render the button in the standard widget ui scheme colors. If the button has text set, the text is rendered according to the text alignment settings.
Reimplemented from CascadeButtonWidget. |
|
|
|
|
|
|
|
|
|
|
|
|