MyGUI 3.4.1
|
#include <MyGUI_ControllerRepeatClick.h>
Public Types | |
typedef RTTIBase | Base |
typedef ControllerRepeatClick | RTTIBase |
typedef delegates::CMultiDelegate2< Widget *, ControllerItem * > | EventHandle_RepeatClick |
Public Types inherited from MyGUI::ControllerItem | |
typedef RTTIBase | Base |
typedef ControllerItem | RTTIBase |
Public Types inherited from MyGUI::IObject | |
typedef IObject | RTTIBase |
Public Member Functions | |
virtual const std::string & | getTypeName () const override |
virtual bool | isType (const std::type_info &_type) const override |
template<typename Type > | |
bool | isType () const |
ControllerRepeatClick () | |
void | setRepeat (float init, float step) |
bool | addTime (Widget *_widget, float _time) override |
void | prepareItem (Widget *_widget) override |
void | setProperty (const std::string &_key, const std::string &_value) override |
Public Member Functions inherited from MyGUI::ControllerItem | |
virtual const std::string & | getTypeName () const override |
virtual bool | isType (const std::type_info &_type) const override |
template<typename Type > | |
bool | isType () const |
~ControllerItem () override=default | |
virtual void | prepareItem (Widget *_widget)=0 |
virtual bool | addTime (Widget *_widget, float _time)=0 |
virtual void | setProperty (const std::string &_key, const std::string &_value) |
Public Member Functions inherited from MyGUI::IObject | |
virtual const std::string & | getTypeName () const |
virtual bool | isType (const std::type_info &_type) const |
template<typename Type > | |
bool | isType () const |
template<typename Type > | |
Type * | castType (bool _throw=true) |
template<typename Type > | |
const Type * | castType (bool _throw=true) const |
IObject ()=default | |
virtual | ~IObject ()=default |
Static Public Member Functions | |
static const std::string & | getClassTypeName () |
Static Public Member Functions inherited from MyGUI::ControllerItem | |
static const std::string & | getClassTypeName () |
Static Public Member Functions inherited from MyGUI::IObject | |
static const std::string & | getClassTypeName () |
This controller can be used to repeatedly trigger an event at specific time steps.
Definition at line 21 of file MyGUI_ControllerRepeatClick.h.
Definition at line 24 of file MyGUI_ControllerRepeatClick.h.
typedef delegates::CMultiDelegate2<Widget*, ControllerItem*> MyGUI::ControllerRepeatClick::EventHandle_RepeatClick |
Definition at line 39 of file MyGUI_ControllerRepeatClick.h.
Definition at line 24 of file MyGUI_ControllerRepeatClick.h.
MyGUI::ControllerRepeatClick::ControllerRepeatClick | ( | ) |
Definition at line 12 of file MyGUI_ControllerRepeatClick.cpp.
|
overridevirtual |
Implements MyGUI::ControllerItem.
Definition at line 19 of file MyGUI_ControllerRepeatClick.cpp.
|
inlinestatic |
Definition at line 24 of file MyGUI_ControllerRepeatClick.h.
|
inlineoverridevirtual |
Get type name as string
Reimplemented from MyGUI::ControllerItem.
Definition at line 24 of file MyGUI_ControllerRepeatClick.h.
|
inline |
Compare with selected type
Definition at line 24 of file MyGUI_ControllerRepeatClick.h.
|
inlineoverridevirtual |
Compare with selected type
Reimplemented from MyGUI::ControllerItem.
Definition at line 24 of file MyGUI_ControllerRepeatClick.h.
|
overridevirtual |
Implements MyGUI::ControllerItem.
Definition at line 46 of file MyGUI_ControllerRepeatClick.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ControllerItem.
Definition at line 42 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 36 of file MyGUI_ControllerRepeatClick.cpp.
EventHandle_RepeatClick MyGUI::ControllerRepeatClick::eventRepeatClick |
Event : Repeat Click.
signature : void method(MyGUI::Widget* _sender, MyGUI::ControllerItem *_controller)
Definition at line 44 of file MyGUI_ControllerRepeatClick.h.