#include <MouseListener.h>

Public Member Functions | |
| MouseListener () | |
| ~MouseListener () | |
| virtual void | pressLeft (const GLuint &id, const GLuint &x, const GLuint &y, const GLint &xRel, const GLint &yRel)=0 |
| virtual void | pressRight (const GLuint &id, const GLuint &x, const GLuint &y, const GLint &xRel, const GLint &yRel)=0 |
| virtual void | pressCenter (const GLuint &id, const GLuint &x, const GLuint &y, const GLint &xRel, const GLint &yRel)=0 |
| virtual void | pressWheelUp (const GLuint &id, const GLuint &x, const GLuint &y, const GLint &xRel, const GLint &yRel)=0 |
| virtual void | pressWheelDown (const GLuint &id, const GLuint &x, const GLuint &y, const GLint &xRel, const GLint &yRel)=0 |
| virtual void | releaseLeft (const GLuint &id, const GLuint &x, const GLuint &y, const GLint &xRel, const GLint &yRel)=0 |
| virtual void | releaseRight (const GLuint &id, const GLuint &x, const GLuint &y, const GLint &xRel, const GLint &yRel)=0 |
| virtual void | releaseCenter (const GLuint &id, const GLuint &x, const GLuint &y, const GLint &xRel, const GLint &yRel)=0 |
| virtual void | releaseWheelUp (const GLuint &id, const GLuint &x, const GLuint &y, const GLint &xRel, const GLint &yRel)=0 |
| virtual void | releaseWheelDown (const GLuint &id, const GLuint &x, const GLuint &y, const GLint &xRel, const GLint &yRel)=0 |
| virtual void | move (const GLuint &id, const GLuint &x, const GLuint &y, const GLint &xRel, const GLint &yRel)=0 |
| virtual string | toString () const |
| Returns a textual representation. | |
| virtual string | className () const |
| Returns the class name of the object. | |
| virtual enum classId | classId () const |
| Returns the class id of the object. | |
Object oriented alternative to working with the mouse related events pumped by SDL.
| MouseListener::MouseListener | ( | ) |
Constructor registers listener at Mouse object
| MouseListener::~MouseListener | ( | ) |
Destructor unregisters listener at Mouse object
| virtual void MouseListener::pressLeft | ( | const GLuint & | id, | |
| const GLuint & | x, | |||
| const GLuint & | y, | |||
| const GLint & | xRel, | |||
| const GLint & | yRel | |||
| ) | [pure virtual] |
Implemented in Button, MouseAdapterLeft, MouseAdapterMove, and OrbitCamera.
| virtual void MouseListener::pressRight | ( | const GLuint & | id, | |
| const GLuint & | x, | |||
| const GLuint & | y, | |||
| const GLint & | xRel, | |||
| const GLint & | yRel | |||
| ) | [pure virtual] |
Implemented in MouseAdapterLeft, and OrbitCamera.
| virtual void MouseListener::pressCenter | ( | const GLuint & | id, | |
| const GLuint & | x, | |||
| const GLuint & | y, | |||
| const GLint & | xRel, | |||
| const GLint & | yRel | |||
| ) | [pure virtual] |
Implemented in MouseAdapterLeft, and OrbitCamera.
| virtual void MouseListener::pressWheelUp | ( | const GLuint & | id, | |
| const GLuint & | x, | |||
| const GLuint & | y, | |||
| const GLint & | xRel, | |||
| const GLint & | yRel | |||
| ) | [pure virtual] |
Implemented in MouseAdapterLeft, and OrbitCamera.
| virtual void MouseListener::pressWheelDown | ( | const GLuint & | id, | |
| const GLuint & | x, | |||
| const GLuint & | y, | |||
| const GLint & | xRel, | |||
| const GLint & | yRel | |||
| ) | [pure virtual] |
Implemented in MouseAdapterLeft, and OrbitCamera.
| virtual void MouseListener::releaseLeft | ( | const GLuint & | id, | |
| const GLuint & | x, | |||
| const GLuint & | y, | |||
| const GLint & | xRel, | |||
| const GLint & | yRel | |||
| ) | [pure virtual] |
Implemented in Button, MouseAdapterLeft, MouseAdapterMove, and OrbitCamera.
| virtual void MouseListener::releaseRight | ( | const GLuint & | id, | |
| const GLuint & | x, | |||
| const GLuint & | y, | |||
| const GLint & | xRel, | |||
| const GLint & | yRel | |||
| ) | [pure virtual] |
Implemented in MouseAdapterLeft, and OrbitCamera.
| virtual void MouseListener::releaseCenter | ( | const GLuint & | id, | |
| const GLuint & | x, | |||
| const GLuint & | y, | |||
| const GLint & | xRel, | |||
| const GLint & | yRel | |||
| ) | [pure virtual] |
Implemented in MouseAdapterLeft, and OrbitCamera.
| virtual void MouseListener::releaseWheelUp | ( | const GLuint & | id, | |
| const GLuint & | x, | |||
| const GLuint & | y, | |||
| const GLint & | xRel, | |||
| const GLint & | yRel | |||
| ) | [pure virtual] |
Implemented in MouseAdapterLeft, and OrbitCamera.
| virtual void MouseListener::releaseWheelDown | ( | const GLuint & | id, | |
| const GLuint & | x, | |||
| const GLuint & | y, | |||
| const GLint & | xRel, | |||
| const GLint & | yRel | |||
| ) | [pure virtual] |
Implemented in MouseAdapterLeft, and OrbitCamera.
| virtual void MouseListener::move | ( | const GLuint & | id, | |
| const GLuint & | x, | |||
| const GLuint & | y, | |||
| const GLint & | xRel, | |||
| const GLint & | yRel | |||
| ) | [pure virtual] |
Implemented in Button, IdPicker, MouseAdapterLeft, MouseAdapterMove, MouseCursor, and OrbitCamera.
| string MouseListener::toString | ( | ) | const [virtual] |
Returns a textual representation.
Reimplemented from Object.
Reimplemented in Button, IdPicker, MouseAdapterLeft, MouseAdapterMove, MouseCursor, and OrbitCamera.
| string MouseListener::className | ( | ) | const [virtual] |
Returns the class name of the object.
Reimplemented from Object.
Reimplemented in Button, IdPicker, MouseAdapterLeft, MouseAdapterMove, MouseCursor, and OrbitCamera.
| enum classId MouseListener::classId | ( | ) | const [virtual] |
Returns the class id of the object.
Reimplemented from Object.
Reimplemented in Button, IdPicker, MouseAdapterLeft, MouseAdapterMove, MouseCursor, and OrbitCamera.
1.5.6