MyGUI 3.4.3
|
#include <MyGUI_ControllerRepeatClick.h>
Public Types | |
typedef RTTIBase | Base |
typedef ControllerRepeatClick | RTTIBase |
using | EventHandle_RepeatClick = delegates::MultiDelegate<Widget*, ControllerItem*> |
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 std::string_view | getTypeName () const override |
virtual bool | isType (const std::type_info &_type) const override |
template<typename Type> | |
bool | isType () const |
void | setRepeat (float init, float step) |
bool | addTime (Widget *_widget, float _time) override |
void | prepareItem (Widget *_widget) override |
void | setProperty (std::string_view _key, std::string_view _value) override |
Public Member Functions inherited from MyGUI::ControllerItem | |
template<typename Type> | |
bool | isType () const |
Public Member Functions inherited from MyGUI::IObject | |
template<typename Type> | |
bool | isType () const |
template<typename Type> | |
Type * | castType (bool _throw=true) |
template<typename Type> | |
const Type * | castType (bool _throw=true) const |
virtual | ~IObject ()=default |
Static Public Member Functions | |
static std::string_view | getClassTypeName () |
Static Public Member Functions inherited from MyGUI::ControllerItem | |
static std::string_view | getClassTypeName () |
Static Public Member Functions inherited from MyGUI::IObject | |
static std::string_view | 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 23 of file MyGUI_ControllerRepeatClick.h.
using MyGUI::ControllerRepeatClick::EventHandle_RepeatClick = delegates::MultiDelegate<Widget*, ControllerItem*> |
Definition at line 36 of file MyGUI_ControllerRepeatClick.h.
Definition at line 23 of file MyGUI_ControllerRepeatClick.h.
|
overridevirtual |
Implements MyGUI::ControllerItem.
Definition at line 13 of file MyGUI_ControllerRepeatClick.cpp.
|
inlinestatic |
Definition at line 23 of file MyGUI_ControllerRepeatClick.h.
|
inlineoverridevirtual |
Get type name as string
Reimplemented from MyGUI::ControllerItem.
Definition at line 23 of file MyGUI_ControllerRepeatClick.h.
|
inline |
Compare with selected type
Definition at line 23 of file MyGUI_ControllerRepeatClick.h.
|
inlineoverridevirtual |
Compare with selected type
Reimplemented from MyGUI::ControllerItem.
Definition at line 23 of file MyGUI_ControllerRepeatClick.h.
|
overridevirtual |
Implements MyGUI::ControllerItem.
Definition at line 40 of file MyGUI_ControllerRepeatClick.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ControllerItem.
Definition at line 36 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 30 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 41 of file MyGUI_ControllerRepeatClick.h.