Browse Source

REMOVED: GetMouseCursor()

This function could be confusing depending on the context, it's better to let the user track the current active cursor
pull/1656/head
Ray 3 years ago
parent
commit
3e25760950
2 changed files with 0 additions and 7 deletions
  1. +0
    -6
      src/core.c
  2. +0
    -1
      src/raylib.h

+ 0
- 6
src/core.c View File

@ -3119,12 +3119,6 @@ float GetMouseWheelMove(void)
return CORE.Input.Mouse.previousWheelMove;
}
// Returns mouse cursor
int GetMouseCursor(void)
{
return CORE.Input.Mouse.cursor;
}
// Set mouse cursor
// NOTE: This is a no-op on platforms other than PLATFORM_DESKTOP
void SetMouseCursor(int cursor)

+ 0
- 1
src/raylib.h View File

@ -1053,7 +1053,6 @@ 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 int GetMouseCursor(void); // Returns mouse cursor if (MouseCursor enum)
RLAPI void SetMouseCursor(int cursor); // Set mouse cursor
// Input-related functions: touch

Loading…
Cancel
Save