
Controls
The control holds the current mouse position in pixel coordinates as well as the executed motion, i.e. the difference between the current and the last mouse position.
Public Member Functions | |
| void | deserialize (BinaryInput &) |
| const int & | getMotionX () const |
| const int & | getMotionY () const |
| const int & | getPositionX () const |
| const int & | getPositionY () const |
| virtual int | getRegTypeID () |
| MotionControl (const int &x, const int &y, const int &mx, const int &my) | |
| MotionControl () | |
| void | serialize (BinaryOutput &) const |
Static Public Member Functions | |
| static int | getStaticRegTypeID () |
| static void | setStaticRegTypeID (int id) |
Static Protected Attributes | |
| static int | typeID |
| static int | typeID |
|
|
|
|
||||||||||||||||||||
|
|
|
|
Implements ONE::util::Serializable. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implements ONE::util::RegisterableType< MotionControl >. |
|
|
Reimplemented from ONE::util::Serializable. |
|
|
Implements ONE::util::Serializable. |
|
|
Reimplemented from ONE::util::Serializable. |
|
|
|
|
|
|
1.4.3