diff options
| author | ChrisDill <[email protected]> | 2019-01-02 19:09:34 +0000 |
|---|---|---|
| committer | ChrisDill <[email protected]> | 2019-01-02 19:09:34 +0000 |
| commit | f9c43dc379165927e847981ec9e14eb5d3b14534 (patch) | |
| tree | 26be2f2fe0049927c688527039fad0800ae8c887 /src/raylib.h | |
| parent | a707574f33467f81e8e300e09db23269bf2c1b98 (diff) | |
| download | raylib-f9c43dc379165927e847981ec9e14eb5d3b14534.tar.gz raylib-f9c43dc379165927e847981ec9e14eb5d3b14534.zip | |
Mouse functions changed
- SetMouseScale changed to take in a Vector2.
- Added mouseOffset global which is used in mouse read functions.
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/raylib.h b/src/raylib.h index 9deb8f42..2fef4fc8 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -941,8 +941,8 @@ RLAPI int GetMouseX(void); // Returns mouse p RLAPI int GetMouseY(void); // Returns mouse position Y RLAPI Vector2 GetMousePosition(void); // Returns mouse position XY RLAPI void SetMousePosition(Vector2 position); // Set mouse position XY -RLAPI void SetMouseScale(float scale); // Set mouse scaling -RLAPI void SetMouseOffset(Vector2 scale); // Set mouse scaling XY +RLAPI void SetMouseScale(Vector2 scale); // Set mouse scaling +RLAPI void SetMouseOffset(Vector2 scale); // Set mouse offset RLAPI int GetMouseWheelMove(void); // Returns mouse wheel movement Y // Input-related functions: touch |
