Inheritance diagram for Exponent::GUI::Controls::CRepeatingButton:
Definition at line 37 of file CRepeatingButton.hpp.
Exponent::GUI::Controls::CRepeatingButton::CRepeatingButton | ( | IControlRoot * | root, | |
const long | uniqueId, | |||
const CRect & | area, | |||
IActionListener * | listener = NULL | |||
) |
Construction
root | The root control that this control is being added to | |
uniqueId | The unique Identifier of this control or CCONTROL_NO_ID_REQUIRED if no id is required | |
area | The area of this control relative to the root controls top left | |
listener | The action listener |
virtual Exponent::GUI::Controls::CRepeatingButton::~CRepeatingButton | ( | ) | [virtual] |
Destruction
virtual long Exponent::GUI::Controls::CRepeatingButton::getTimerId | ( | ) | const [inline, virtual] |
Get the id
long | The timer identifier |
Implements Exponent::GUI::Basics::ITimedObject.
Definition at line 100 of file CRepeatingButton.hpp.
References Exponent::GUI::Controls::CControl::getUniqueId().
virtual void Exponent::GUI::Controls::CRepeatingButton::handleLeftButtonDown | ( | CMouseEvent & | event | ) | [virtual] |
Handle left button being clicked
event | The event to handle |
Reimplemented from Exponent::GUI::Controls::CRolloverButton.
virtual void Exponent::GUI::Controls::CRepeatingButton::handleLeftButtonUp | ( | CMouseEvent & | event | ) | [virtual] |
Handle left button being released
event | The event to handle |
Reimplemented from Exponent::GUI::Controls::CRolloverButton.
virtual void Exponent::GUI::Controls::CRepeatingButton::handleMouseMovement | ( | CMouseEvent & | event | ) | [virtual] |
Handle the mouse movement
event | The event to handle |
Reimplemented from Exponent::GUI::Controls::CRolloverButton.
virtual void Exponent::GUI::Controls::CRepeatingButton::setRepeatTime | ( | const long | timeInMilliseconds | ) | [virtual] |
Set the repeat time
timeInMilliseconds | Time in msec between repeat events |
virtual void Exponent::GUI::Controls::CRepeatingButton::timerExpired | ( | ) | [virtual] |
On expired increment value and redraw
Implements Exponent::GUI::Basics::ITimedObject.
long Exponent::GUI::Controls::CRepeatingButton::m_timeInMilliseconds [protected] |
Repeat time
Definition at line 108 of file CRepeatingButton.hpp.