MyGUI
3.2.1
|
#include <MyGUI_ControllerRepeatClick.h>
Public Types | |
typedef RTTIBase | Base |
typedef ControllerRepeatClick | RTTIBase |
typedef delegates::CMultiDelegate2 < Widget *, ControllerItem * > | EventHandle_RepeatClick |
Public Member Functions | |
virtual const std::string & | getTypeName () const |
virtual bool | isType (const std::type_info &_type) const |
template<typename Type > | |
bool | isType () const |
ControllerRepeatClick () | |
virtual | ~ControllerRepeatClick () |
void | setRepeat (float init, float step) |
virtual void | setProperty (const std::string &_key, const std::string &_value) |
Static Public Member Functions | |
static const std::string & | getClassTypeName () |
Data Fields | |
EventHandle_RepeatClick | eventRepeatClick |
This controller can be used to repeatedly trigger an event at specific time steps.
Definition at line 21 of file MyGUI_ControllerRepeatClick.h.
Reimplemented from MyGUI::ControllerItem.
Definition at line 24 of file MyGUI_ControllerRepeatClick.h.
typedef delegates::CMultiDelegate2<Widget*, ControllerItem*> MyGUI::ControllerRepeatClick::EventHandle_RepeatClick |
Definition at line 38 of file MyGUI_ControllerRepeatClick.h.
Reimplemented from MyGUI::ControllerItem.
Definition at line 24 of file MyGUI_ControllerRepeatClick.h.
Definition at line 12 of file MyGUI_ControllerRepeatClick.cpp.
MyGUI::ControllerRepeatClick::~ControllerRepeatClick | ( | ) | [virtual] |
Definition at line 19 of file MyGUI_ControllerRepeatClick.cpp.
static const std::string& MyGUI::ControllerRepeatClick::getClassTypeName | ( | ) | [inline, static] |
Reimplemented from MyGUI::ControllerItem.
Definition at line 24 of file MyGUI_ControllerRepeatClick.h.
virtual const std::string& MyGUI::ControllerRepeatClick::getTypeName | ( | ) | const [inline, virtual] |
Get type name as string
Reimplemented from MyGUI::ControllerItem.
Definition at line 24 of file MyGUI_ControllerRepeatClick.h.
bool MyGUI::ControllerRepeatClick::isType | ( | ) | const [inline] |
Compare with selected type
Reimplemented from MyGUI::ControllerItem.
Definition at line 24 of file MyGUI_ControllerRepeatClick.h.
virtual bool MyGUI::ControllerRepeatClick::isType | ( | const std::type_info & | _type | ) | const [inline, virtual] |
Compare with selected type
Reimplemented from MyGUI::ControllerItem.
Definition at line 24 of file MyGUI_ControllerRepeatClick.h.
void MyGUI::ControllerRepeatClick::setProperty | ( | const std::string & | _key, |
const std::string & | _value | ||
) | [virtual] |
Reimplemented from MyGUI::ControllerItem.
Definition at line 46 of file MyGUI_ControllerRepeatClick.cpp.
void MyGUI::ControllerRepeatClick::setRepeat | ( | float | init, |
float | step | ||
) |
Change initial delay and time step
init | The delay before the first event will be triggered. |
step | The delay after each event before the next event is triggered. |
Definition at line 40 of file MyGUI_ControllerRepeatClick.cpp.
Event : Repeat Click.
signature : void method(MyGUI::Widget* _sender, MyGUI::ControllerItem *_controller)
Definition at line 43 of file MyGUI_ControllerRepeatClick.h.