Added desktop cursor getter and setter functions (#1407)
* [core] Added desktop cursor getter and setter functions * Example: Set mouse cursor in text input box * Setup standard cursors _after_ GLFW window initialization * Remove old `int GetMouseWheelMove` declaration
This commit is contained in:
parent
eb3e9e4df5
commit
9833fe45eb
4 changed files with 84 additions and 1 deletions
|
@ -148,6 +148,8 @@ RLAPI void SetMousePosition(int x, int y); // Set mouse posit
|
|||
RLAPI void SetMouseOffset(int offsetX, int offsetY); // Set mouse offset
|
||||
RLAPI void SetMouseScale(float scaleX, float scaleY); // Set mouse scaling
|
||||
RLAPI float GetMouseWheelMove(void); // Returns mouse wheel movement Y
|
||||
RLAPI MouseCursor GetMouseCursor(void); // Returns mouse cursor
|
||||
RLAPI void SetMouseCursor(MouseCursor cursor); // Set mouse cursor
|
||||
|
||||
// Input-related functions: touch
|
||||
RLAPI int GetTouchX(void); // Returns touch position X for touch point 0 (relative to screen size)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue