summaryrefslogtreecommitdiff
path: root/displaymenuview.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2012-11-28 19:24:33 +0100
committerroot <root@maschine.(none)>2012-11-28 19:27:52 +0100
commitd4c74dc0b5a3dd62161a9b29ec2c98cc9f223783 (patch)
tree1249765dd217b002fda558a2f579c30b0f060db2 /displaymenuview.c
parent4b51af06327270caa4f38c31f28cdfbc1baabc4e (diff)
downloadskin-nopacity-d4c74dc0b5a3dd62161a9b29ec2c98cc9f223783.tar.gz
skin-nopacity-d4c74dc0b5a3dd62161a9b29ec2c98cc9f223783.tar.bz2
Integrated patches from maverick-me, resolved Tickets 1141, 1143, 1151, 1152
Diffstat (limited to 'displaymenuview.c')
-rw-r--r--displaymenuview.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/displaymenuview.c b/displaymenuview.c
index 9bc89d0..abd921c 100644
--- a/displaymenuview.c
+++ b/displaymenuview.c
@@ -253,13 +253,15 @@ void cNopacityDisplayMenuView::CreateBackgroundImages(int *handleBackgrounds, in
imgLoader.DrawBackground(Theme.Color(clrMenuItemHigh), Theme.Color(clrMenuItemHighBlend), menuItemWidthMain-2, menuItemHeightSchedule-2);
handleBackgrounds[5] = cOsdProvider::StoreImage(imgLoader.GetImage());
- imgLoader.DrawBackground(Theme.Color(clrMenuBack), Theme.Color(clrButtonRed), buttonWidth-4, buttonHeight-4);
+ tColor lutBg[] = { Theme.Color(clrButtonRed), Theme.Color(clrButtonGreen), Theme.Color(clrButtonYellow), Theme.Color(clrButtonBlue) };
+
+ imgLoader.DrawBackground(Theme.Color(clrMenuBack), lutBg[Setup.ColorKey0], buttonWidth-4, buttonHeight-4);
handleButtons[0] = cOsdProvider::StoreImage(imgLoader.GetImage());
- imgLoader.DrawBackground(Theme.Color(clrMenuBack), Theme.Color(clrButtonGreen), buttonWidth-4, buttonHeight-4);
+ imgLoader.DrawBackground(Theme.Color(clrMenuBack), lutBg[Setup.ColorKey1], buttonWidth-4, buttonHeight-4);
handleButtons[1] = cOsdProvider::StoreImage(imgLoader.GetImage());
- imgLoader.DrawBackground(Theme.Color(clrMenuBack), Theme.Color(clrButtonYellow), buttonWidth-4, buttonHeight-4);
+ imgLoader.DrawBackground(Theme.Color(clrMenuBack), lutBg[Setup.ColorKey2], buttonWidth-4, buttonHeight-4);
handleButtons[2] = cOsdProvider::StoreImage(imgLoader.GetImage());
- imgLoader.DrawBackground(Theme.Color(clrMenuBack), Theme.Color(clrButtonBlue), buttonWidth-4, buttonHeight-4);
+ imgLoader.DrawBackground(Theme.Color(clrMenuBack), lutBg[Setup.ColorKey3], buttonWidth-4, buttonHeight-4);
handleButtons[3] = cOsdProvider::StoreImage(imgLoader.GetImage());
}