diff options
-rw-r--r-- | displaymenu.c | 2 | ||||
-rw-r--r-- | displaymenuview.c | 2 | ||||
-rw-r--r-- | nopacity.c | 5 | ||||
-rw-r--r-- | themes/nOpacity-darkblue.theme | 2 | ||||
-rw-r--r-- | themes/nOpacity-green.theme | 2 |
5 files changed, 11 insertions, 2 deletions
diff --git a/displaymenu.c b/displaymenu.c index 6807463..0ccddad 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -500,7 +500,7 @@ void cNopacityDisplayMenu::SplitItem(const char *Text, cString *strItems, int *t if (i>0) tabItems[i - 1 + MaxTabs] = menuView->GetWidthDefaultMenu() - x; break; - } + } if (i>0) { tabItems[(i-1) + MaxTabs] = Tab(i) - x; x += Tab(i) - x; diff --git a/displaymenuview.c b/displaymenuview.c index 1717e97..c688f7f 100644 --- a/displaymenuview.c +++ b/displaymenuview.c @@ -304,7 +304,7 @@ void cNopacityDisplayMenuView::CreateBackgroundImages(int *handleBackgrounds, in void cNopacityDisplayMenuView::DrawBorderDecoration() { cImageLoader imgLoader; - imgLoader.DrawBackground(Theme.Color(clrMenuItemHighBlend), Theme.Color(clrMenuBack), osdWidth, headerHeight); + imgLoader.DrawBackground(Theme.Color(clrMenuHeaderBlend), Theme.Color(clrMenuHeader), osdWidth, headerHeight); pixmapHeader->DrawImage(cPoint(0,0), imgLoader.GetImage()); pixmapFooter->Fill(Theme.Color(clrMenuBack)); @@ -32,6 +32,8 @@ static cTheme Theme; #define CLR_MENUITEMHIGHBLEND 0xEE0033FF #define CLR_SEPARATORBORDER 0xEE444444 #define CLR_DISKALERT 0xDDFF0000 +#define CLR_MENUHEADER 0xDD000000 +#define CLR_MENUHEADERBLEND 0xEE0033FF //BUTTONS #define CLR_BUTTONRED 0x99BB0000 @@ -103,6 +105,9 @@ THEME_CLR(Theme, clrMenuFontMenuItem, CLR_WHITE); THEME_CLR(Theme, clrMenuFontMenuItemHigh, CLR_BRIGHTBLUE); THEME_CLR(Theme, clrMenuFontMenuItemTitle, CLR_BRIGHTBLUE); THEME_CLR(Theme, clrMenuFontMenuItemSep, CLR_GRAY); +THEME_CLR(Theme, clrMenuHeader, CLR_MENUHEADER); +THEME_CLR(Theme, clrMenuHeaderBlend, CLR_MENUHEADERBLEND); + //BUTTONS THEME_CLR(Theme, clrButtonRed, CLR_BUTTONRED); THEME_CLR(Theme, clrButtonRedBorder, CLR_BUTTONREDBORDER); diff --git a/themes/nOpacity-darkblue.theme b/themes/nOpacity-darkblue.theme index 15665a9..4ef3669 100644 --- a/themes/nOpacity-darkblue.theme +++ b/themes/nOpacity-darkblue.theme @@ -32,6 +32,8 @@ clrMenuItem = DD5078ab clrMenuItemBlend = DD000000 clrMenuItemHigh = DD618A9E clrMenuItemHighBlend = EE135474 +clrMenuHeader = DD000000 +clrMenuHeaderBlend = EE135474 clrDiskAlert = DDFF0000 clrMenuFontHeader = FFFFFFFF clrMenuFontDate = FFFFFFFF diff --git a/themes/nOpacity-green.theme b/themes/nOpacity-green.theme index 5e969d1..876aa5e 100644 --- a/themes/nOpacity-green.theme +++ b/themes/nOpacity-green.theme @@ -32,6 +32,8 @@ clrMenuItem = BB000000 clrMenuItemBlend = EE006600 clrMenuItemHigh = 22000000 clrMenuItemHighBlend = EE006600 +clrMenuHeader = DD000000 +clrMenuHeaderBlend = EE006600 clrSeparatorBorder = EE444444 clrDiskAlert = DDFF0000 clrMenuFontHeader = FFFFFFFF |