summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/core.h2
-rw-r--r--include/state.h2
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;