diff options
| author | jussi | 2022-03-31 12:58:50 +0300 |
|---|---|---|
| committer | jussi | 2022-03-31 12:58:50 +0300 |
| commit | a3c28c00016fb2a2bd13b36e7269c69b0529c6a4 (patch) | |
| tree | 03b1520eb2d3d0717bd584dd290e9720db2d950c /src/lua_core.c | |
| parent | f5b723519f8dd9358db15ac5f366f6646905715f (diff) | |
| download | reilua-enhanced-a3c28c00016fb2a2bd13b36e7269c69b0529c6a4.tar.gz reilua-enhanced-a3c28c00016fb2a2bd13b36e7269c69b0529c6a4.tar.bz2 reilua-enhanced-a3c28c00016fb2a2bd13b36e7269c69b0529c6a4.zip | |
More window related functions.
Diffstat (limited to 'src/lua_core.c')
| -rw-r--r-- | src/lua_core.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lua_core.c b/src/lua_core.c index aeeec9c..4cfbafd 100644 --- a/src/lua_core.c +++ b/src/lua_core.c @@ -472,9 +472,16 @@ void luaRegister() { /* Core. */ /* Window. */ + lua_register( L, "RL_IsWindowReady", lcoreIsWindowReady ); + lua_register( L, "RL_IsWindowFullscreen", lcoreIsWindowFullscreen ); + lua_register( L, "RL_IsWindowHidden", lcoreIsWindowHidden ); + lua_register( L, "RL_IsWindowMinimized", lcoreIsWindowMinimized ); + lua_register( L, "RL_IsWindowMaximized", lcoreIsWindowMaximized ); + lua_register( L, "RL_IsWindowFocused", lcoreIsWindowFocused ); lua_register( L, "RL_SetWindowMonitor", lcoreSetWindowMonitor ); lua_register( L, "RL_SetWindowPosition", lcoreSetWindowPosition ); lua_register( L, "RL_SetWindowSize", lcoreSetWindowSize ); + lua_register( L, "RL_SetWindowMinSize", lcoreSetWindowMinSize ); lua_register( L, "RL_GetMonitorPosition", lcoreGetMonitorPosition ); lua_register( L, "RL_GetMonitorSize", lcoreGetMonitorSize ); lua_register( L, "RL_GetWindowPosition", lcoreGetWindowPosition ); @@ -486,7 +493,14 @@ void luaRegister() { lua_register( L, "RL_SetWindowIcon", lcoreSetWindowIcon ); lua_register( L, "RL_SetWindowTitle", lcoreSetWindowTitle ); lua_register( L, "RL_GetMonitorCount", lcoreGetMonitorCount ); + lua_register( L, "RL_GetCurrentMonitor", lcoreGetCurrentMonitor ); + lua_register( L, "RL_GetMonitorPhysicalSize", lcoreGetMonitorPhysicalSize ); + lua_register( L, "RL_GetMonitorRefreshRate", lcoreGetMonitorRefreshRate ); + lua_register( L, "RL_GetWindowScaleDPI", lcoreGetWindowScaleDPI ); + lua_register( L, "RL_GetMonitorName", lcoreGetMonitorName ); lua_register( L, "RL_CloseWindow", lcoreCloseWindow ); + lua_register( L, "RL_SetClipboardText", lcoreSetClipboardText ); + lua_register( L, "RL_GetClipboardText", lcoreGetClipboardText ); /* Timing. */ lua_register( L, "RL_SetTargetFPS", lcoreSetTargetFPS ); lua_register( L, "RL_GetFrameTime", lcoreGetFrameTime ); |
