torque Torque Game Engine Documentation
TGE Version 1.5.2

GuiButtonCtrl Class Reference

#include <guiButtonCtrl.h>

Inheritance diagram for GuiButtonCtrl:

Inheritance graph
[legend]

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

Reimplemented from GuiButtonBaseCtrl.

Reimplemented in GuiBitmapButtonCtrl, and GuiBitmapButtonTextCtrl.


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.

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, and GuiBitmapButtonTextCtrl.


Field Documentation

bool GuiButtonCtrl::mHasTheme [protected]




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen