MyGUI 3.4.2
|
#include <MyGUI_ControllerPosition.h>
Public Types | |
typedef RTTIBase | Base |
typedef ControllerPosition | RTTIBase |
typedef delegates::CDelegate4< const IntCoord &, const IntCoord &, IntCoord &, float > | FrameAction |
![]() | |
typedef RTTIBase | Base |
typedef ControllerItem | RTTIBase |
![]() | |
typedef IObject | RTTIBase |
Static Public Member Functions | |
static const std::string & | getClassTypeName () |
![]() | |
static const std::string & | getClassTypeName () |
![]() | |
static const std::string & | getClassTypeName () |
Additional Inherited Members | |
![]() | |
EventPairAddParameter< EventHandle_WidgetPtr, EventHandle_WidgetPtrControllerItemPtr > | eventPreAction |
EventPairAddParameter< EventHandle_WidgetPtr, EventHandle_WidgetPtrControllerItemPtr > | eventUpdateAction |
EventPairAddParameter< EventHandle_WidgetPtr, EventHandle_WidgetPtrControllerItemPtr > | eventPostAction |
This controller used for smooth changing position of widget in time
Definition at line 20 of file MyGUI_ControllerPosition.h.
Definition at line 23 of file MyGUI_ControllerPosition.h.
typedef delegates::CDelegate4<const IntCoord&, const IntCoord&, IntCoord&, float> MyGUI::ControllerPosition::FrameAction |
Definition at line 26 of file MyGUI_ControllerPosition.h.
Definition at line 23 of file MyGUI_ControllerPosition.h.
MyGUI::ControllerPosition::ControllerPosition | ( | ) |
Definition at line 18 of file MyGUI_ControllerPosition.cpp.
Implements MyGUI::ControllerItem.
Definition at line 60 of file MyGUI_ControllerPosition.cpp.
Definition at line 23 of file MyGUI_ControllerPosition.h.
Get type name as string
Reimplemented from MyGUI::ControllerItem.
Definition at line 23 of file MyGUI_ControllerPosition.h.
Compare with selected type
Definition at line 23 of file MyGUI_ControllerPosition.h.
|
inlineoverridevirtual |
Compare with selected type
Reimplemented from MyGUI::ControllerItem.
Definition at line 23 of file MyGUI_ControllerPosition.h.
Implements MyGUI::ControllerItem.
Definition at line 50 of file MyGUI_ControllerPosition.cpp.
void MyGUI::ControllerPosition::setAction | ( | FrameAction::IDelegate * | _value | ) |
_value | Delegate applied to widget every frame (see ControllerPosition::eventFrameAction) |
Definition at line 133 of file MyGUI_ControllerPosition.cpp.
Definition at line 27 of file MyGUI_ControllerPosition.cpp.
Set acceleration behavior, same as calling controller->setAction(MyGUI::newDelegate(chosen by value))
_value | could be one of "Linear" (default) |
Definition at line 114 of file MyGUI_ControllerPosition.cpp.
Definition at line 42 of file MyGUI_ControllerPosition.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ControllerItem.
Definition at line 100 of file MyGUI_ControllerPosition.cpp.
Definition at line 34 of file MyGUI_ControllerPosition.cpp.
_value | seconds in which widget planned to reach destination coordinate |
Definition at line 128 of file MyGUI_ControllerPosition.cpp.