diff options
| author | jussi | 2024-06-13 14:52:56 +0300 |
|---|---|---|
| committer | jussi | 2024-06-13 14:52:56 +0300 |
| commit | e9539e9373947b7424df8bbb34d8ae30e49a591f (patch) | |
| tree | 0719f3bf5a00c53a43317d34c28d3b3925d4b4cd /include | |
| parent | f3dbe7d24bcf01d9a23326880dbb1a28457ff51f (diff) | |
| download | reilua-enhanced-e9539e9373947b7424df8bbb34d8ae30e49a591f.tar.gz reilua-enhanced-e9539e9373947b7424df8bbb34d8ae30e49a591f.tar.bz2 reilua-enhanced-e9539e9373947b7424df8bbb34d8ae30e49a591f.zip | |
DrawTextBoxed uses lineSpacing. GetTextLineSpacing.
Diffstat (limited to 'include')
| -rw-r--r-- | include/state.h | 1 | ||||
| -rw-r--r-- | include/text.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/state.h b/include/state.h index 016e1bc..92ed132 100644 --- a/include/state.h +++ b/include/state.h @@ -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; diff --git a/include/text.h b/include/text.h index d936ec6..4f76d71 100644 --- a/include/text.h +++ b/include/text.h @@ -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 ); |
