2
0
Эх сурвалжийг харах

REMOVED: GetMouseCursor()

This function could be confusing depending on the context, it's better to let the user track the current active cursor
Ray 4 жил өмнө
parent
commit
3e25760950
2 өөрчлөгдсөн 0 нэмэгдсэн , 7 устгасан
  1. 0 6
      src/core.c
  2. 0 1
      src/raylib.h

+ 0 - 6
src/core.c

@@ -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

@@ -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