Button Class Reference

Inherits AbstractScreenElement, and AbstractMouseListener.

Collaboration diagram for Button:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Button (const std::wstring &label, const std::string &labelFont, const int nLabelFontSize, const Colour &fontColour, const Vector2 &labelPosition, int nLabelAlignment, Engine *pEngine)
void SetButtonListener (AbstractButtonListenerPtr pListener)
void RecalculateBounds ()
LabelGetLabel () const
const RectGetBounds () const
virtual void Update (const int nDelta)
virtual void Render (AbstractRenderer *pRenderer, const int nDelta)
virtual void OnMouseMove (const MouseEvent &e)
virtual void OnMouseButtonPressed (const MouseEvent &e)
virtual void OnMouseButtonReleased (const MouseEvent &e)

The documentation for this class was generated from the following files:
 All Classes Functions Variables

Generated on Fri Nov 20 15:29:20 2009 for PhysTank by  doxygen 1.6.1