|
SCV
4.2.1
Simple Components for Visual
|
#include <MouseEvent.h>
Public Types | |
| enum | Button { LEFT = GLUT_LEFT_BUTTON, MIDDLE = GLUT_MIDDLE_BUTTON, RIGHT = GLUT_RIGHT_BUTTON, NBUTTON } |
| enum | State { CLICK = GLUT_DOWN, UP = GLUT_UP, HOLD, MOTION, WHELLUP, WHEELDOWN } |
Public Member Functions | |
| MouseEvent (void) | |
| MouseEvent (MouseEvent::Button button, MouseEvent::State state, const Point &location, bool doubleClick=false) | |
| MouseEvent & | operator= (const MouseEvent &rhs) |
| Point | getPosition (void) const |
| Point | getInversePosition (void) const |
| MouseEvent::Button | getButton (void) const |
| MouseEvent::State | getState (void) const |
| bool | doubleClick (void) const |
| MouseEvent | operator- (const Point &p) const |
| scv::MouseEvent::MouseEvent | ( | void | ) |
| scv::MouseEvent::MouseEvent | ( | MouseEvent::Button | button, |
| MouseEvent::State | state, | ||
| const Point & | location, | ||
| bool | doubleClick = false |
||
| ) |
|
inline |
| MouseEvent::Button scv::MouseEvent::getButton | ( | void | ) | const |
| Point scv::MouseEvent::getInversePosition | ( | void | ) | const |
| Point scv::MouseEvent::getPosition | ( | void | ) | const |
| MouseEvent::State scv::MouseEvent::getState | ( | void | ) | const |
|
inline |
| MouseEvent & scv::MouseEvent::operator= | ( | const MouseEvent & | rhs | ) |