summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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 );