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 /displaymenuview.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 'displaymenuview.c')
-rw-r--r-- | displaymenuview.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/displaymenuview.c b/displaymenuview.c index 86fd1f0..e95b21a 100644 --- a/displaymenuview.c +++ b/displaymenuview.c @@ -694,7 +694,7 @@ void cNopacityDisplayMenuView::ShowDiskUsage(bool show) { } } -void cNopacityDisplayMenuView::DrawButton(const char *text, int handleImage, tColor buttonColor, tColor borderColor, int num) { +void cNopacityDisplayMenuView::DrawButton(const char *text, int handleImage, tColor buttonColor, tColor borderColor, tColor fontColor, int num) { if (num < 0) return; int top = 2*buttonsBorder; @@ -725,7 +725,7 @@ void cNopacityDisplayMenuView::DrawButton(const char *text, int handleImage, tCo int textWidth = fontButtons->Width(text); int textHeight = fontButtons->Height(); tColor clrFontBack = (config.doBlending)?(clrTransparent):buttonColor; - pixmapFooter->DrawText(cPoint(left + (buttonWidth-textWidth)/2, top + (buttonHeight-textHeight)/2), text, Theme.Color(clrMenuFontButton), clrFontBack, fontButtons); + pixmapFooter->DrawText(cPoint(left + (buttonWidth-textWidth)/2, top + (buttonHeight-textHeight)/2), text, fontColor, clrFontBack, fontButtons); } void cNopacityDisplayMenuView::ClearButton(int num) { |