DrawTextBoxed uses lineSpacing. GetTextLineSpacing.

This commit is contained in:
jussi
2024-06-13 14:52:56 +03:00
parent f3dbe7d24b
commit e9539e9373
8 changed files with 48 additions and 14 deletions

View File

@@ -9,6 +9,7 @@ typedef struct {
bool hasWindow;
bool run;
bool gcUnload;
int lineSpacing; /* We need to store copy here since raylib has it in static. */
lua_State* luaState;
Vector2 resolution;
int logLevelInvalid;

View File

@@ -24,6 +24,7 @@ int ltextDrawTextBoxed( lua_State* L );
int ltextDrawTextBoxedTinted( lua_State* L );
/* Text font info functions. */
int ltextSetTextLineSpacing( lua_State* L );
int ltextGetTextLineSpacing( lua_State* L );
int ltextMeasureText( lua_State* L );
int ltextMeasureTextEx( lua_State* L );
int ltextGetGlyphIndex( lua_State* L );