Skip to content

Commit

Permalink
Change control menu option title colors to white.
Browse files Browse the repository at this point in the history
Leave orange color for "warnings" only.
  • Loading branch information
viewizard committed Oct 15, 2018
1 parent 10cdb6c commit 185de0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/menu/menu_conf_control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,13 +331,13 @@ void ConfControlMenu(float ContentTransp, float &ButtonTransp1, float &LastButto
Y1 += Prir1;
int SizeI1 = vw_TextWidthUTF32(vw_GetTextUTF32("MOUSE"));
int SizeI = SizeI1 > 130 ? -15 : (100-SizeI1)/2;
vw_DrawTextUTF32(X1+315+SizeI, Y1, SizeI1 > 130 ? -130 : 0, 0, 1.0f, sRGBCOLOR{eRGBCOLOR::orange}, ContentTransp, vw_GetTextUTF32("MOUSE"));
vw_DrawTextUTF32(X1+315+SizeI, Y1, SizeI1 > 130 ? -130 : 0, 0, 1.0f, sRGBCOLOR{eRGBCOLOR::white}, ContentTransp, vw_GetTextUTF32("MOUSE"));
SizeI1 = vw_TextWidthUTF32(vw_GetTextUTF32("KEYBOARD"));
SizeI = SizeI1 > 130 ? 10 : (150-SizeI1)/2;
vw_DrawTextUTF32(X1+446+SizeI, Y1, SizeI1 > 130 ? -130 : 0, 0, 1.0f, sRGBCOLOR{eRGBCOLOR::orange}, ContentTransp, vw_GetTextUTF32("KEYBOARD"));
vw_DrawTextUTF32(X1+446+SizeI, Y1, SizeI1 > 130 ? -130 : 0, 0, 1.0f, sRGBCOLOR{eRGBCOLOR::white}, ContentTransp, vw_GetTextUTF32("KEYBOARD"));
SizeI1 = vw_TextWidthUTF32(vw_GetTextUTF32("JOYSTICK"));
SizeI = SizeI1 > 130 ? 10 : (150-SizeI1)/2;
vw_DrawTextUTF32(X1+605+SizeI, Y1, SizeI1 > 130 ? -130 : 0, 0, 1.0f, sRGBCOLOR{eRGBCOLOR::orange}, ContentTransp, vw_GetTextUTF32("JOYSTICK"));
vw_DrawTextUTF32(X1+605+SizeI, Y1, SizeI1 > 130 ? -130 : 0, 0, 1.0f, sRGBCOLOR{eRGBCOLOR::white}, ContentTransp, vw_GetTextUTF32("JOYSTICK"));


Y1 += Prir1;
Expand Down

0 comments on commit 185de0a

Please sign in to comment.