![]() |
raylib-cpp
C++ object-oriented wrapper library for raylib.
|
Input-related functions: mouse. More...
Static Public Member Functions | |
| static Vector2 | GetPosition () |
| static Vector2 | GetTouchPosition (int index) |
| static int | GetTouchX () |
| static int | GetTouchY () |
| static float | GetWheelMove () |
| static int | GetX () |
| static int | GetY () |
| static bool | IsButtonDown (int button) |
| Detect if a mouse button is being pressed. | |
| static bool | IsButtonPressed (int button) |
| Detect if a mouse button has been pressed once. | |
| static bool | IsButtonReleased (int button) |
| Detect if a mouse button has been released once. | |
| static bool | IsButtonUp (int button) |
| static void | SetCursor (int cursor) |
| static void | SetOffset (int offsetX, int offsetY) |
| static void | SetPosition (int x, int y) |
| static void | SetScale (float scaleX, float scaleY) |
| static void | SetX (int x) |
| static void | SetY (int y) |
1.8.17