Functions | |
void | actionWidgetHide (WidgetPtr _widget) |
void | actionWidgetShow (WidgetPtr _widget) |
void | actionWidgetDestroy (WidgetPtr _widget) |
void | linearMoveFunction (const IntCoord &_startRect, const IntCoord &_destRect, IntCoord &_result, float _k) |
template<int N> | |
void | acceleratedMoveFunction (const IntCoord &_startRect, const IntCoord &_destRect, IntCoord &_result, float _current_time) |
template<int N> | |
void | jumpMoveFunction (const IntCoord &_startRect, const IntCoord &_destRect, IntCoord &_result, float _current_time) |
void | inertionalMoveFunction (const IntCoord &_startRect, const IntCoord &_destRect, IntCoord &_result, float _current_time) |
void MyGUI::action::acceleratedMoveFunction | ( | const IntCoord & | _startRect, | |
const IntCoord & | _destRect, | |||
IntCoord & | _result, | |||
float | _current_time | |||
) | [inline] |
Function for ControllerPosition per frame action : Move with accelerated speed if N == 10 then this function is same as linearMoveFunction if N > 10 speed will be increasing if N < 10 speed will be decreasing
Definition at line 53 of file MyGUI_ActionController.h.
void MyGUI::action::actionWidgetDestroy | ( | WidgetPtr | _widget | ) |
Function used for destroying widget with one of controller event
Definition at line 45 of file MyGUI_ActionController.cpp.
void MyGUI::action::actionWidgetHide | ( | WidgetPtr | _widget | ) |
Function used for hiding widget with one of controller event
Definition at line 35 of file MyGUI_ActionController.cpp.
void MyGUI::action::actionWidgetShow | ( | WidgetPtr | _widget | ) |
Function used for showing widget with one of controller event
Definition at line 40 of file MyGUI_ActionController.cpp.
void MyGUI::action::inertionalMoveFunction | ( | const IntCoord & | _startRect, | |
const IntCoord & | _destRect, | |||
IntCoord & | _result, | |||
float | _current_time | |||
) |
Function for ControllerPosition per frame action : Start with zero speed increasing half time and then decreasing to zero
Definition at line 59 of file MyGUI_ActionController.cpp.
void MyGUI::action::jumpMoveFunction | ( | const IntCoord & | _startRect, | |
const IntCoord & | _destRect, | |||
IntCoord & | _result, | |||
float | _current_time | |||
) | [inline] |
Function for ControllerPosition per frame action : Move with accelerated speed a bit farther than necessary and then return it back
Definition at line 61 of file MyGUI_ActionController.h.
void MyGUI::action::linearMoveFunction | ( | const IntCoord & | _startRect, | |
const IntCoord & | _destRect, | |||
IntCoord & | _result, | |||
float | _k | |||
) |
Function for ControllerPosition per frame action : Move with constant speed
Definition at line 50 of file MyGUI_ActionController.cpp.