#include <Inertia.h>
Public Member Functions | |
EventInertia () | |
void | operator= (EventInertia &src) |
void | Init (int _numButton) |
void | Start (int _face, Point2D< double > _vectorInertia) |
void | Stop () |
void | SwitchButton () |
int | OnInertia (Timer *timer) |
Public Attributes | |
BOOL | enable |
Definition at line 92 of file Inertia.h.
|
Definition at line 85 of file Inertia.cpp. References enable. |
|
Definition at line 92 of file Inertia.cpp. Referenced by ControlEngine::ControlEngine(). |
|
Definition at line 145 of file Inertia.cpp. References ce, Timer::GetDeltaTime(), Picking::OnMouseMove(), ControlEngine::pickingInertia, Stop(), TIME_MOVE_ON_INERTIA, Point2D< T >::x, Point2D< double >::x, Point2D< T >::y, and Point2D< double >::y. Referenced by Start(). |
|
Definition at line 97 of file Inertia.cpp. |
|
Definition at line 108 of file Inertia.cpp. References BindTimer, ce, Picking::mouse, OnInertia(), ControlEngine::pickingCursor, ControlEngine::pickingInertia, StateMouse::pos, SwitchButton(), Point2D< int >::x, Point2D< double >::x, Point2D< int >::y, and Point2D< double >::y. |
|
Definition at line 131 of file Inertia.cpp. References ce, enable, Picking::OnLButtonUp(), Picking::OnMButtonUp(), Picking::OnRButtonUp(), ControlEngine::pickingInertia, Timer::Stop(), and ControlEngine::usingInertia. Referenced by OnInertia(). |
|
Definition at line 121 of file Inertia.cpp. References StateMouse::leftBtn, StateMouse::midBtn, and StateMouse::rightBtn. Referenced by Start(). |
|
Definition at line 103 of file Inertia.h. Referenced by EventInertia(), operator=(), and Stop(). |