![]() |
Norbert's Game Engine v200
|
#include <Mouse.hpp>
Public Member Functions | |
| void | SetPositionCallback (NGE_MOUSE_POSCALLBACK callback) |
| void | GetPosition (real6 &xpos, real6 &ypos) |
| void | DisableCursor () |
| void | HideCursor () |
| void | NormalCursor () |
| void | CheckRawMouseMotionSupport () |
| void | SetEnterCallback (NGE_MOUSE_ENTERCALLBACK callback) |
| const bool | IsHovering () |
| void | SetMouseButtonCallback (NGE_MOUSE_BUTTONCALLBACK callback) |
| const int | GetButtonState (const int button) |
| void | SetStickyMode (const int vl) |
| void | SetScrollCallback (NGE_MOUSE_SCROLLCALLBACK callback) |
| const bool | GetButtonPressed (const int button) |
| const bool | GetButtonDown (const int button) |
| const bool | GetButtonReleased (const int button) |
| void | CreateCursor (eMouseCursor *cursor, int type) |
| eMouseCursor * | CreateImageCursor (eMouseCursor *cursor, eString filename, bool flipV=false, vec2i xyhot=vec2i(0)) |
| void | SetCursor (eMouseCursor *cursor) |
| eMouseCursor * | DestroyCursor (eMouseCursor *cursor) |
Public Member Functions inherited from eInput | |
| void | SetWindow (eWindow *window) |
| eWindow * | GetWindow () |
| GLFWwindow * | GetGLFWwindow () |
| void | SetInputMode (const int mode, const int value) |
Public Member Functions inherited from eBase | |
| template<typename T > | |
| T * | Cast (eBase *obj) |
| Cast class to base. | |
| void eMouse::CheckRawMouseMotionSupport | ( | ) |
Definition at line 34 of file Mouse.cpp.
| void eMouse::CreateCursor | ( | eMouseCursor * | cursor, |
| int | type ) |
| eMouseCursor * eMouse::CreateImageCursor | ( | eMouseCursor * | cursor, |
| eString | filename, | ||
| bool | flipV = false, | ||
| vec2i | xyhot = vec2i(0) ) |
Definition at line 127 of file Mouse.cpp.
| eMouseCursor * eMouse::DestroyCursor | ( | eMouseCursor * | cursor | ) |
| void eMouse::DisableCursor | ( | ) |
| const bool eMouse::GetButtonDown | ( | const int | button | ) |
| const bool eMouse::GetButtonPressed | ( | const int | button | ) |
Definition at line 75 of file Mouse.cpp.
| const bool eMouse::GetButtonReleased | ( | const int | button | ) |
| const int eMouse::GetButtonState | ( | const int | button | ) |
| void eMouse::GetPosition | ( | real6 & | xpos, |
| real6 & | ypos ) |
| void eMouse::HideCursor | ( | ) |
| const bool eMouse::IsHovering | ( | ) |
| void eMouse::NormalCursor | ( | ) |
| void eMouse::SetCursor | ( | eMouseCursor * | cursor | ) |
| void eMouse::SetEnterCallback | ( | NGE_MOUSE_ENTERCALLBACK | callback | ) |
| void eMouse::SetMouseButtonCallback | ( | NGE_MOUSE_BUTTONCALLBACK | callback | ) |
| void eMouse::SetPositionCallback | ( | NGE_MOUSE_POSCALLBACK | callback | ) |
| void eMouse::SetScrollCallback | ( | NGE_MOUSE_SCROLLCALLBACK | callback | ) |
| void eMouse::SetStickyMode | ( | const int | vl | ) |