#include <glwx.h>
Public Member Functions | |
MouseEvent () | |
MouseEvent (int id, int xMouse, int yMouse, int yInvMouse, int scrolling=ME_SCROLLING_NONE) | |
MouseEvent (const MouseEvent ©) | |
MouseEvent & | operator= (const MouseEvent ©) |
int | getScrolling () |
int | getButtonID () |
int | getX () |
int | getY () |
int | getYInverse () |
void | consume () |
bool | getUsed () |
void | setUsed (bool value) |
Private Attributes | |
bool | used |
int | scrolling |
int | buttonID |
int | x |
int | y |
int | yInverse |
Definition at line 217 of file glwx.h.
MouseEvent::MouseEvent | ( | ) |
MouseEvent::MouseEvent | ( | int | id, | |
int | xMouse, | |||
int | yMouse, | |||
int | yInvMouse, | |||
int | scrolling = ME_SCROLLING_NONE | |||
) |
MouseEvent::MouseEvent | ( | const MouseEvent & | copy | ) |
MouseEvent & MouseEvent::operator= | ( | const MouseEvent & | copy | ) |
Definition at line 90 of file GUIEvent.cpp.
References buttonID, scrolling, used, x, y, and yInverse.
Referenced by MouseEvent().
int MouseEvent::getScrolling | ( | ) |
int MouseEvent::getButtonID | ( | ) |
int MouseEvent::getX | ( | ) |
Definition at line 120 of file GUIEvent.cpp.
References x.
Referenced by GUITextBox::checkMouseEvents(), GUISlider::checkMouseEvents(), and GUIRectangle::checkMouseEvents().
int MouseEvent::getY | ( | ) |
Definition at line 121 of file GUIEvent.cpp.
References y.
Referenced by GUISlider::checkMouseEvents(), and GUIRectangle::checkMouseEvents().
int MouseEvent::getYInverse | ( | ) |
void MouseEvent::consume | ( | ) |
Definition at line 107 of file GUIEvent.cpp.
References buttonID, MB_UNKNOWN_BUTTON, scrolling, used, x, y, and yInverse.
Referenced by GUIComboBox::checkMouseEvents().
bool MouseEvent::getUsed | ( | ) |
void MouseEvent::setUsed | ( | bool | value | ) |
Definition at line 105 of file GUIEvent.cpp.
References used.
Referenced by GUIRectangle::checkMouseEvents().
bool MouseEvent::used [private] |
Definition at line 237 of file glwx.h.
Referenced by consume(), getUsed(), MouseEvent(), operator=(), and setUsed().
int MouseEvent::scrolling [private] |
Definition at line 238 of file glwx.h.
Referenced by consume(), getScrolling(), MouseEvent(), and operator=().
int MouseEvent::buttonID [private] |
Definition at line 238 of file glwx.h.
Referenced by consume(), getButtonID(), MouseEvent(), and operator=().
int MouseEvent::x [private] |
Definition at line 238 of file glwx.h.
Referenced by consume(), getX(), MouseEvent(), and operator=().
int MouseEvent::y [private] |
Definition at line 238 of file glwx.h.
Referenced by consume(), getY(), MouseEvent(), and operator=().
int MouseEvent::yInverse [private] |
Definition at line 238 of file glwx.h.
Referenced by consume(), getYInverse(), MouseEvent(), and operator=().