mirror of
https://github.com/raysan5/raygui.git
synced 2025-12-25 10:22:33 -05:00
Remove comment
TEXT_SIZE and TEXT_SPACING are global values, common for all controls
This commit is contained in:
@ -483,7 +483,6 @@ static void GuiDrawText(const char *text, int posX, int posY, Color tint)
|
|||||||
{
|
{
|
||||||
if (guiFont.texture.id == 0) guiFont = GetFontDefault();
|
if (guiFont.texture.id == 0) guiFont = GetFontDefault();
|
||||||
|
|
||||||
// TODO: Support custom TEXT_SIZE and TEXT_SPACING by control
|
|
||||||
DrawTextEx(guiFont, text, (Vector2){ posX, posY }, GuiGetStyle(DEFAULT, TEXT_SIZE), GuiGetStyle(DEFAULT, TEXT_SPACING), tint);
|
DrawTextEx(guiFont, text, (Vector2){ posX, posY }, GuiGetStyle(DEFAULT, TEXT_SIZE), GuiGetStyle(DEFAULT, TEXT_SPACING), tint);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user