diff options
| author | Ray <[email protected]> | 2023-05-01 14:04:22 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2023-05-01 14:04:22 +0200 |
| commit | 7d68aa686974347cefe0ef481c835e3d60bdc4b9 (patch) | |
| tree | 2542aba007b5d41956932ce47c1cb56e5a34ce42 /src/rtext.c | |
| parent | a4a5a798bdb546646b607b3348a8f2d43b161a09 (diff) | |
| download | raylib-7d68aa686974347cefe0ef481c835e3d60bdc4b9.tar.gz raylib-7d68aa686974347cefe0ef481c835e3d60bdc4b9.zip | |
REVIEWED: Modules description layout
Diffstat (limited to 'src/rtext.c')
| -rw-r--r-- | src/rtext.c | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/src/rtext.c b/src/rtext.c index 2df8be8d..1f9ce1b6 100644 --- a/src/rtext.c +++ b/src/rtext.c @@ -3,25 +3,23 @@ * rtext - Basic functions to load fonts and draw text * * CONFIGURATION: +* #define SUPPORT_MODULE_RTEXT +* rtext module is included in the build * -* #define SUPPORT_MODULE_RTEXT -* rtext module is included in the build +* #define SUPPORT_FILEFORMAT_FNT +* #define SUPPORT_FILEFORMAT_TTF +* Selected desired fileformats to be supported for loading. Some of those formats are +* supported by default, to remove support, just comment unrequired #define in this module * -* #define SUPPORT_FILEFORMAT_FNT -* #define SUPPORT_FILEFORMAT_TTF -* Selected desired fileformats to be supported for loading. Some of those formats are -* supported by default, to remove support, just comment unrequired #define in this module +* #define SUPPORT_DEFAULT_FONT +* Load default raylib font on initialization to be used by DrawText() and MeasureText(). +* If no default font loaded, DrawTextEx() and MeasureTextEx() are required. * -* #define SUPPORT_DEFAULT_FONT -* Load default raylib font on initialization to be used by DrawText() and MeasureText(). -* If no default font loaded, DrawTextEx() and MeasureTextEx() are required. -* -* #define TEXTSPLIT_MAX_TEXT_BUFFER_LENGTH -* TextSplit() function static buffer max size -* -* #define MAX_TEXTSPLIT_COUNT -* TextSplit() function static substrings pointers array (pointing to static buffer) +* #define TEXTSPLIT_MAX_TEXT_BUFFER_LENGTH +* TextSplit() function static buffer max size * +* #define MAX_TEXTSPLIT_COUNT +* TextSplit() function static substrings pointers array (pointing to static buffer) * * DEPENDENCIES: * stb_truetype - Load TTF file and rasterize characters data |
