summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorjussi2022-06-26 15:03:08 +0300
committerjussi2022-06-26 15:03:08 +0300
commit314d0412a53b8e012ec183c503a69cc32e24ab34 (patch)
tree1655be4b4a86f1712641301d673e22750ec7e8a6 /include
parent36baf4c1222aee409bb62be9770798bfa7fdd302 (diff)
downloadreilua-enhanced-314d0412a53b8e012ec183c503a69cc32e24ab34.tar.gz
reilua-enhanced-314d0412a53b8e012ec183c503a69cc32e24ab34.tar.bz2
reilua-enhanced-314d0412a53b8e012ec183c503a69cc32e24ab34.zip
Get font info.
Diffstat (limited to 'include')
-rw-r--r--include/state.h1
-rw-r--r--include/text.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/include/state.h b/include/state.h
index 7599052..fc3c957 100644
--- a/include/state.h
+++ b/include/state.h
@@ -78,5 +78,4 @@ typedef struct {
extern State *state;
bool stateInit( const char *exePath );
-// bool stateRun();
void stateFree();
diff --git a/include/text.h b/include/text.h
index a07b320..523d9d0 100644
--- a/include/text.h
+++ b/include/text.h
@@ -12,3 +12,6 @@ int ltextDrawText( lua_State *L );
int ltextDrawTextPro( lua_State *L );
/* Misc. */
int ltextMeasureText( lua_State *L );
+int ltextGetFontBaseSize( lua_State *L );
+int ltextGetFontGlyphCount( lua_State *L );
+int ltextGetFontGlyphPadding( lua_State *L );