This commit is contained in:
Ray 2020-10-21 11:08:37 +02:00
parent 9833fe45eb
commit f12db180cd
3 changed files with 20 additions and 57 deletions

View file

@ -619,23 +619,17 @@ typedef enum {
// Mouse cursor types
typedef enum {
MOUSE_CURSOR_DEFAULT = -1,
MOUSE_CURSOR_ARROW = 0,
MOUSE_CURSOR_IBEAM = 1,
MOUSE_CURSOR_CROSSHAIR = 2,
MOUSE_CURSOR_POINTING_HAND = 3,
// The horizontal resize/move arrow shape.
MOUSE_CURSOR_RESIZE_EW = 4,
// The vertical resize/move arrow shape.
MOUSE_CURSOR_RESIZE_NS = 5,
// The top-left to bottom-right diagonal resize/move arrow shape.
MOUSE_CURSOR_RESIZE_NWSE = 6,
// The top-right to bottom-left diagonal resize/move arrow shape.
MOUSE_CURSOR_RESIZE_NESW = 7,
// The omni-directional resize/move cursor shape.
MOUSE_CURSOR_RESIZE_ALL = 8,
// The operation-not-allowed shape.
MOUSE_CURSOR_NOT_ALLOWED = 9
MOUSE_CURSOR_DEFAULT = 0,
MOUSE_CURSOR_ARROW = 1,
MOUSE_CURSOR_IBEAM = 2,
MOUSE_CURSOR_CROSSHAIR = 3,
MOUSE_CURSOR_POINTING_HAND = 4,
MOUSE_CURSOR_RESIZE_EW = 5, // The horizontal resize/move arrow shape
MOUSE_CURSOR_RESIZE_NS = 6, // The vertical resize/move arrow shape
MOUSE_CURSOR_RESIZE_NWSE = 7, // The top-left to bottom-right diagonal resize/move arrow shape
MOUSE_CURSOR_RESIZE_NESW = 8, // The top-right to bottom-left diagonal resize/move arrow shape
MOUSE_CURSOR_RESIZE_ALL = 9, // The omni-directional resize/move cursor shape
MOUSE_CURSOR_NOT_ALLOWED = 10 // The operation-not-allowed shape
} MouseCursor;
// Gamepad number
@ -1037,8 +1031,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
RLAPI int GetMouseCursor(void); // Returns mouse cursor if (MouseCursor enum)
RLAPI void SetMouseCursor(int cursor); // Set mouse cursor
// Input-related functions: touch
RLAPI int GetTouchX(void); // Returns touch position X for touch point 0 (relative to screen size)