mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
Added theme nOpacity iceblue
This commit is contained in:
parent
d775c945bf
commit
0705efac8a
13
footer.c
13
footer.c
@ -42,11 +42,14 @@ void cFooter::DrawButton(const char *text, tColor color, tColor borderColor, int
|
|||||||
|
|
||||||
int left = num * buttonWidth + (num + 1) * buttonBorder;
|
int left = num * buttonWidth + (num + 1) * buttonBorder;
|
||||||
footer->DrawRectangle(cRect(left, buttonY, buttonWidth, buttonHeight), borderColor);
|
footer->DrawRectangle(cRect(left, buttonY, buttonWidth, buttonHeight), borderColor);
|
||||||
|
if (tvguideConfig.useBlending) {
|
||||||
cImageLoader imgLoader;
|
cImageLoader imgLoader;
|
||||||
imgLoader.DrawBackground(theme.Color(clrButtonBlend), color, buttonWidth-4, buttonHeight-4);
|
imgLoader.DrawBackground(theme.Color(clrButtonBlend), color, buttonWidth-4, buttonHeight-4);
|
||||||
footer->DrawImage(cPoint(left+2, buttonY+2), imgLoader.GetImage());
|
footer->DrawImage(cPoint(left+2, buttonY+2), imgLoader.GetImage());
|
||||||
|
} else {
|
||||||
|
footer->DrawRectangle(cRect(left, buttonY, buttonWidth, buttonHeight), borderColor);
|
||||||
|
footer->DrawRectangle(cRect(left+2, buttonY+2, buttonWidth-4, buttonHeight-4), color);
|
||||||
|
}
|
||||||
int textWidth = tvguideConfig.FontButton->Width(text);
|
int textWidth = tvguideConfig.FontButton->Width(text);
|
||||||
int textHeight = tvguideConfig.FontButton->Height();
|
int textHeight = tvguideConfig.FontButton->Height();
|
||||||
footer->DrawText(cPoint(left + (buttonWidth-textWidth)/2, buttonY + (buttonHeight-textHeight)/2), text, theme.Color(clrFontButtons), clrTransparent, tvguideConfig.FontButton);
|
footer->DrawText(cPoint(left + (buttonWidth-textWidth)/2, buttonY + (buttonHeight-textHeight)/2), text, theme.Color(clrFontButtons), clrTransparent, tvguideConfig.FontButton);
|
||||||
|
24
themes/tvguide-nOpacityiceblue.theme
Normal file
24
themes/tvguide-nOpacityiceblue.theme
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
Description = nOpacity IceBlue
|
||||||
|
clrBackground = DDFFFFFF
|
||||||
|
clrBackgroundOSD = DDFFFFFF
|
||||||
|
clrGrid1 = BB555555
|
||||||
|
clrGrid2 = BB888888
|
||||||
|
clrHighlight = FF000044
|
||||||
|
clrFont = FF000000
|
||||||
|
clrFontButtons = FFFFFFFF
|
||||||
|
clrFontHeader = FF000000
|
||||||
|
clrHeader = FFFFFFFF
|
||||||
|
clrBorder = FF000000
|
||||||
|
clrStatusHeader = DDFFFFFF
|
||||||
|
clrTimeline1 = FFFFFFFF
|
||||||
|
clrTimeline1Blending = 00000000
|
||||||
|
clrTimeline2 = FF000000
|
||||||
|
clrTimeline2Blending = 00000000
|
||||||
|
clrButtonRed = FFBB0000
|
||||||
|
clrButtonRedBorder = FFBB0000
|
||||||
|
clrButtonGreen = FF00BB00
|
||||||
|
clrButtonGreenBorder = FF00BB00
|
||||||
|
clrButtonYellow = FFBBBB00
|
||||||
|
clrButtonYellowBorder = FFBBBB00
|
||||||
|
clrButtonBlue = FF0000BB
|
||||||
|
clrButtonBlueBorder = FF0000BB
|
Loading…
Reference in New Issue
Block a user