From 314d0412a53b8e012ec183c503a69cc32e24ab34 Mon Sep 17 00:00:00 2001 From: jussi Date: Sun, 26 Jun 2022 15:03:08 +0300 Subject: Get font info. --- include/state.h | 1 - include/text.h | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'include') 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 ); -- cgit v1.2.3