mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-02-07 02:40:30 -05:00
Replaces text chevron with Font Awesome icon (#2687)
This commit is contained in:
parent
08828da9fc
commit
92fa54c3f9
@ -93,7 +93,9 @@ namespace GameMenuBar {
|
||||
|
||||
std::string GetWindowButtonText(const char* text, bool menuOpen) {
|
||||
char buttonText[100] = "";
|
||||
if(menuOpen) { strcat(buttonText,"> "); }
|
||||
if (menuOpen) {
|
||||
strcat(buttonText, ICON_FA_CHEVRON_RIGHT " ");
|
||||
}
|
||||
strcat(buttonText, text);
|
||||
if (!menuOpen) { strcat(buttonText, " "); }
|
||||
return buttonText;
|
||||
|
Loading…
Reference in New Issue
Block a user