diff options
author | louis <louis.braun@gmx.de> | 2013-09-13 17:10:58 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-09-13 17:10:58 +0200 |
commit | 5dbc46aaba992f429c05601a3f97e3d5e7a98d87 (patch) | |
tree | e2e62d13e92a35f481f5d50a46616f291966f977 /displaymenu.c | |
parent | 337cc43e400a06e66292943a0da038fa79f8c165 (diff) | |
download | skin-nopacity-5dbc46aaba992f429c05601a3f97e3d5e7a98d87.tar.gz skin-nopacity-5dbc46aaba992f429c05601a3f97e3d5e7a98d87.tar.bz2 |
introduced dedicated theme font colors for different message types and different buttons (closes Feature 1462)
Diffstat (limited to 'displaymenu.c')
-rw-r--r-- | displaymenu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/displaymenu.c b/displaymenu.c index f270647..2fe33ef 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -363,22 +363,22 @@ void cNopacityDisplayMenu::SetButtonPositions(void) { void cNopacityDisplayMenu::SetButtons(const char *Red, const char *Green, const char *Yellow, const char *Blue) { if (Red) { - menuView->DrawButton(Red, handleButtons[0], Theme.Color(clrButtonRed), Theme.Color(clrButtonRedBorder), positionButtons[0]); + menuView->DrawButton(Red, handleButtons[0], Theme.Color(clrButtonRed), Theme.Color(clrButtonRedBorder), Theme.Color(clrButtonRedFont), positionButtons[0]); } else menuView->ClearButton(positionButtons[0]); if (Green) { - menuView->DrawButton(Green, handleButtons[1],Theme.Color(clrButtonGreen), Theme.Color(clrButtonGreenBorder), positionButtons[1]); + menuView->DrawButton(Green, handleButtons[1],Theme.Color(clrButtonGreen), Theme.Color(clrButtonGreenBorder), Theme.Color(clrButtonGreenFont), positionButtons[1]); } else menuView->ClearButton(positionButtons[1]); if (Yellow) { - menuView->DrawButton(Yellow, handleButtons[2], Theme.Color(clrButtonYellow), Theme.Color(clrButtonYellowBorder), positionButtons[2]); + menuView->DrawButton(Yellow, handleButtons[2], Theme.Color(clrButtonYellow), Theme.Color(clrButtonYellowBorder), Theme.Color(clrButtonYellowFont), positionButtons[2]); } else menuView->ClearButton(positionButtons[2]); if (Blue) { - menuView->DrawButton(Blue, handleButtons[3], Theme.Color(clrButtonBlue), Theme.Color(clrButtonBlueBorder), positionButtons[3]); + menuView->DrawButton(Blue, handleButtons[3], Theme.Color(clrButtonBlue), Theme.Color(clrButtonBlueBorder), Theme.Color(clrButtonBlueFont), positionButtons[3]); } else menuView->ClearButton(positionButtons[3]); } |