mirror of
https://github.com/raysan5/raygui.git
synced 2026-02-01 03:39:18 -05:00
Update raygui.h
This commit is contained in:
@ -1491,7 +1491,7 @@ int GuiWindowBox(Rectangle bounds, const char *title)
|
|||||||
GuiSetStyle(BUTTON, BORDER_WIDTH, 1);
|
GuiSetStyle(BUTTON, BORDER_WIDTH, 1);
|
||||||
GuiSetStyle(BUTTON, TEXT_ALIGNMENT, TEXT_ALIGN_CENTER);
|
GuiSetStyle(BUTTON, TEXT_ALIGNMENT, TEXT_ALIGN_CENTER);
|
||||||
#if defined(RAYGUI_NO_ICONS)
|
#if defined(RAYGUI_NO_ICONS)
|
||||||
clicked = GuiButton(closeButtonRec, "x");
|
result = GuiButton(closeButtonRec, "x");
|
||||||
#else
|
#else
|
||||||
result = GuiButton(closeButtonRec, GuiIconText(ICON_CROSS_SMALL, NULL));
|
result = GuiButton(closeButtonRec, GuiIconText(ICON_CROSS_SMALL, NULL));
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user