MyGUI 3.0.1
|
Functions | |
void | actionWidgetHide (Widget *_widget) |
void | actionWidgetShow (Widget *_widget) |
void | actionWidgetDestroy (Widget *_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 54 of file MyGUI_ActionController.h.
void MyGUI::action::actionWidgetDestroy | ( | Widget * | _widget | ) |
Function used for destroying widget with one of controller event
Definition at line 45 of file MyGUI_ActionController.cpp.
void MyGUI::action::actionWidgetHide | ( | Widget * | _widget | ) |
Function used for hiding widget with one of controller event
Definition at line 35 of file MyGUI_ActionController.cpp.
void MyGUI::action::actionWidgetShow | ( | Widget * | _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 62 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.