diff options
| author | jussi | 2024-07-02 20:49:25 +0300 |
|---|---|---|
| committer | jussi | 2024-07-02 20:49:25 +0300 |
| commit | 61c932f2605aac5a8fef4264087e9ea8f86c6760 (patch) | |
| tree | f5bbf509317bd86ad25588456370844c58a1526a /include | |
| parent | fd18b5526e0c2b058f175ba140258549fec09098 (diff) | |
| download | reilua-enhanced-61c932f2605aac5a8fef4264087e9ea8f86c6760.tar.gz reilua-enhanced-61c932f2605aac5a8fef4264087e9ea8f86c6760.tar.bz2 reilua-enhanced-61c932f2605aac5a8fef4264087e9ea8f86c6760.zip | |
GetMouseOffset and GetMouseScale.
Diffstat (limited to 'include')
| -rw-r--r-- | include/core.h | 2 | ||||
| -rw-r--r-- | include/state.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/core.h b/include/core.h index d72fdb9..14b2630 100644 --- a/include/core.h +++ b/include/core.h @@ -193,6 +193,8 @@ int lcoreGetMouseDelta( lua_State* L ); int lcoreSetMousePosition( lua_State* L ); int lcoreSetMouseOffset( lua_State* L ); int lcoreSetMouseScale( lua_State* L ); +int lcoreGetMouseOffset( lua_State* L ); +int lcoreGetMouseScale( lua_State* L ); int lcoreGetMouseWheelMove( lua_State* L ); int lcoreGetMouseWheelMoveV( lua_State* L ); int lcoreSetMouseCursor( lua_State* L ); diff --git a/include/state.h b/include/state.h index 92ed132..8168535 100644 --- a/include/state.h +++ b/include/state.h @@ -10,6 +10,8 @@ typedef struct { bool run; bool gcUnload; int lineSpacing; /* We need to store copy here since raylib has it in static. */ + Vector2 mouseOffset; + Vector2 mouseScale; lua_State* luaState; Vector2 resolution; int logLevelInvalid; |
