GuiButtonCtrl Class Reference

#include <guiButtonCtrl.h>

Inheritance diagram for GuiButtonCtrl:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 DECLARE_CONOBJECT (GuiButtonCtrl)
 GuiButtonCtrl ()
bool onWake ()
 Called when this object is asked to wake up returns true if it's actually awake at the end.
void onRender (Point2I offset, const RectI &updateRect)
 Called when this control is to render itself.

Protected Attributes

bool mHasTheme

Private Types

typedef GuiButtonBaseCtrl Parent

Member Typedef Documentation


Constructor & Destructor Documentation

GuiButtonCtrl::GuiButtonCtrl (  ) 


Member Function Documentation

GuiButtonCtrl::DECLARE_CONOBJECT ( GuiButtonCtrl   ) 

bool GuiButtonCtrl::onWake (  )  [virtual]

Called when this object is asked to wake up returns true if it's actually awake at the end.

Reimplemented from GuiButtonBaseCtrl.

Reimplemented in GuiBitmapButtonCtrl, GuiIconButtonCtrl, and GuiToolboxButtonCtrl.

void GuiButtonCtrl::onRender ( Point2I  offset,
const RectI updateRect 
) [virtual]

Called when this control is to render itself.

Parameters:
offset The location this control is to begin rendering
updateRect The screen area this control has drawing access to

Reimplemented from GuiControl.

Reimplemented in GuiBitmapButtonCtrl, GuiBitmapButtonTextCtrl, GuiIconButtonCtrl, GuiToggleButtonCtrl, and GuiToolboxButtonCtrl.


Member Data Documentation