Replaces text chevron with Font Awesome icon (#2687)
This commit is contained in:
@@ -93,7 +93,9 @@ namespace GameMenuBar {
|
|||||||
|
|
||||||
std::string GetWindowButtonText(const char* text, bool menuOpen) {
|
std::string GetWindowButtonText(const char* text, bool menuOpen) {
|
||||||
char buttonText[100] = "";
|
char buttonText[100] = "";
|
||||||
if(menuOpen) { strcat(buttonText,"> "); }
|
if (menuOpen) {
|
||||||
|
strcat(buttonText, ICON_FA_CHEVRON_RIGHT " ");
|
||||||
|
}
|
||||||
strcat(buttonText, text);
|
strcat(buttonText, text);
|
||||||
if (!menuOpen) { strcat(buttonText, " "); }
|
if (!menuOpen) { strcat(buttonText, " "); }
|
||||||
return buttonText;
|
return buttonText;
|
||||||
|
|||||||
Reference in New Issue
Block a user