summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorjussi2022-03-10 17:53:43 +0200
committerjussi2022-03-10 17:53:43 +0200
commit26a11a4b7f32a6fc2d131e4c78fe1ca40cc6ac8a (patch)
treeb6fc68889bf5df58ba3455e6d64da6b2f78d38de /include
parentdebe4baa8c208458f847dd4c89c17f7cc39be559 (diff)
downloadreilua-enhanced-26a11a4b7f32a6fc2d131e4c78fe1ca40cc6ac8a.tar.gz
reilua-enhanced-26a11a4b7f32a6fc2d131e4c78fe1ca40cc6ac8a.tar.bz2
reilua-enhanced-26a11a4b7f32a6fc2d131e4c78fe1ca40cc6ac8a.zip
Measure text.
Diffstat (limited to 'include')
-rw-r--r--include/core.h1
-rw-r--r--include/text.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/include/core.h b/include/core.h
index 7a0655a..cead79f 100644
--- a/include/core.h
+++ b/include/core.h
@@ -16,6 +16,7 @@ int lcoreClearWindowState( lua_State *L );
int lcoreIsWindowResized( lua_State *L );
int lcoreSetWindowIcon( lua_State *L );
int lcoreSetWindowTitle( lua_State *L );
+int lcoreCloseWindow( lua_State *L );
/* Timing. */
int lcoreSetTargetFPS( lua_State *L );
int lcoreGetFrameTime( lua_State *L );
diff --git a/include/text.h b/include/text.h
index c1e7b3e..a07b320 100644
--- a/include/text.h
+++ b/include/text.h
@@ -4,8 +4,11 @@
bool validFont( size_t id );
/* Loading. */
int ltextLoadFont( lua_State *L );
+int ltextLoadFontFromImage( lua_State *L );
int ltextUnloadFont( lua_State *L );
/* Drawing. */
int ltextDrawFPS( lua_State *L );
int ltextDrawText( lua_State *L );
int ltextDrawTextPro( lua_State *L );
+/* Misc. */
+int ltextMeasureText( lua_State *L );