Updated example

This commit is contained in:
Ray 2025-11-29 18:20:06 +01:00
parent 9f567e6ee4
commit 18e1ec504f
2 changed files with 5 additions and 4 deletions

View File

@ -108,8 +108,9 @@ int main(void)
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------
// Module Functions Definition // Module Functions Definition
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------
// Draw text using inline styling, using input color as the base alpha multiplied to inline styles // Draw text using inline styling
// PARAM: color is the default text color, background color is BLANK by default // PARAM: color is the default text color, background color is BLANK by default
// NOTE: Using input color as the base alpha multiplied to inline styles
static void DrawTextStyled(Font font, const char *text, Vector2 position, float fontSize, float spacing, Color color) static void DrawTextStyled(Font font, const char *text, Vector2 position, float fontSize, float spacing, Color color)
{ {
// Text inline styling strategy used: [ ] delimiters for format // Text inline styling strategy used: [ ] delimiters for format