diff options
| author | jussi | 2022-03-10 17:53:43 +0200 |
|---|---|---|
| committer | jussi | 2022-03-10 17:53:43 +0200 |
| commit | 26a11a4b7f32a6fc2d131e4c78fe1ca40cc6ac8a (patch) | |
| tree | b6fc68889bf5df58ba3455e6d64da6b2f78d38de /src/lua_core.c | |
| parent | debe4baa8c208458f847dd4c89c17f7cc39be559 (diff) | |
| download | reilua-enhanced-26a11a4b7f32a6fc2d131e4c78fe1ca40cc6ac8a.tar.gz reilua-enhanced-26a11a4b7f32a6fc2d131e4c78fe1ca40cc6ac8a.tar.bz2 reilua-enhanced-26a11a4b7f32a6fc2d131e4c78fe1ca40cc6ac8a.zip | |
Measure text.
Diffstat (limited to 'src/lua_core.c')
| -rw-r--r-- | src/lua_core.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lua_core.c b/src/lua_core.c index ece4c97..e594a2f 100644 --- a/src/lua_core.c +++ b/src/lua_core.c @@ -397,6 +397,7 @@ void luaRegister() { lua_register( L, "RL_IsWindowResized", lcoreIsWindowResized ); lua_register( L, "RL_SetWindowIcon", lcoreSetWindowIcon ); lua_register( L, "RL_SetWindowTitle", lcoreSetWindowTitle ); + lua_register( L, "RL_CloseWindow", lcoreCloseWindow ); /* Timing. */ lua_register( L, "RL_SetTargetFPS", lcoreSetTargetFPS ); lua_register( L, "RL_GetFrameTime", lcoreGetFrameTime ); @@ -634,11 +635,14 @@ void luaRegister() { /* Text. */ /* Loading. */ lua_register( L, "RL_LoadFont", ltextLoadFont ); + lua_register( L, "RL_LoadFontFromImage", ltextLoadFontFromImage ); lua_register( L, "RL_UnloadFont", ltextUnloadFont ); /* Drawing. */ lua_register( L, "RL_DrawFPS", ltextDrawFPS ); lua_register( L, "RL_DrawText", ltextDrawText ); lua_register( L, "RL_DrawTextPro", ltextDrawTextPro ); + /* Misc. */ + lua_register( L, "RL_MeasureText", ltextMeasureText ); /* Audio. */ /* Sound. */ |
