summaryrefslogtreecommitdiff
path: root/baserender.c
diff options
context:
space:
mode:
authorMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2014-02-09 16:26:35 +0100
committerMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2014-02-09 16:26:35 +0100
commit5530242d2c45e5833e4f29a5af1ee2ccdf76e05c (patch)
treef3e14000832bcd39036d63751e71f46be9e2e725 /baserender.c
parent1f46b4528d2eff9748836cffe919a82860322e12 (diff)
downloadskin-flatplus-5530242d2c45e5833e4f29a5af1ee2ccdf76e05c.tar.gz
skin-flatplus-5530242d2c45e5833e4f29a5af1ee2ccdf76e05c.tar.bz2
add menu SetItemTimer
Diffstat (limited to 'baserender.c')
-rw-r--r--baserender.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/baserender.c b/baserender.c
index c0747106..6d28ba47 100644
--- a/baserender.c
+++ b/baserender.c
@@ -266,6 +266,7 @@ void cFlatBaseRender::ButtonsSet(const char *Red, const char *Green, const char
int buttonWidth = (WidthMargin / 4) - Config.decorBorderButtonSize*2;
buttonsPixmap->Fill(clrTransparent);
+ DecorBorderClearByFrom(BorderButton);
buttonsDrawn = false;
@@ -274,7 +275,7 @@ void cFlatBaseRender::ButtonsSet(const char *Red, const char *Green, const char
buttonsPixmap->DrawText(cPoint(x, 0), Red, Theme.Color(clrButtonFont), Theme.Color(clrButtonBg), font, buttonWidth, fontHeight + marginButtonColor, taCenter);
buttonsPixmap->DrawRectangle(cRect(x, fontHeight + marginButtonColor, buttonWidth, buttonColorHeight), Theme.Color(clrButtonRed));
DecorBorderDraw(x + Config.decorBorderButtonSize, buttonsTop, buttonWidth, buttonsHeight, Config.decorBorderButtonSize, Config.decorBorderButtonType,
- Config.decorBorderButtonFg, Config.decorBorderButtonBg);
+ Config.decorBorderButtonFg, Config.decorBorderButtonBg, BorderButton);
buttonsDrawn = true;
}
@@ -283,7 +284,7 @@ void cFlatBaseRender::ButtonsSet(const char *Red, const char *Green, const char
buttonsPixmap->DrawText(cPoint(x, 0), Green, Theme.Color(clrButtonFont), Theme.Color(clrButtonBg), font, buttonWidth, fontHeight + marginButtonColor, taCenter);
buttonsPixmap->DrawRectangle(cRect(x, fontHeight + marginButtonColor, buttonWidth, buttonColorHeight), Theme.Color(clrButtonGreen));
DecorBorderDraw(x + Config.decorBorderButtonSize, buttonsTop, buttonWidth, buttonsHeight, Config.decorBorderButtonSize, Config.decorBorderButtonType,
- Config.decorBorderButtonFg, Config.decorBorderButtonBg);
+ Config.decorBorderButtonFg, Config.decorBorderButtonBg, BorderButton);
buttonsDrawn = true;
}
@@ -292,7 +293,7 @@ void cFlatBaseRender::ButtonsSet(const char *Red, const char *Green, const char
buttonsPixmap->DrawText(cPoint(x, 0), Yellow, Theme.Color(clrButtonFont), Theme.Color(clrButtonBg), font, buttonWidth, fontHeight + marginButtonColor, taCenter);
buttonsPixmap->DrawRectangle(cRect(x, fontHeight + marginButtonColor, buttonWidth, buttonColorHeight), Theme.Color(clrButtonYellow));
DecorBorderDraw(x + Config.decorBorderButtonSize, buttonsTop, buttonWidth, buttonsHeight, Config.decorBorderButtonSize, Config.decorBorderButtonType,
- Config.decorBorderButtonFg, Config.decorBorderButtonBg);
+ Config.decorBorderButtonFg, Config.decorBorderButtonBg, BorderButton);
buttonsDrawn = true;
}
@@ -303,7 +304,7 @@ void cFlatBaseRender::ButtonsSet(const char *Red, const char *Green, const char
buttonsPixmap->DrawText(cPoint(x, 0), Blue, Theme.Color(clrButtonFont), Theme.Color(clrButtonBg), font, buttonWidth, fontHeight + marginButtonColor, taCenter);
buttonsPixmap->DrawRectangle(cRect(x, fontHeight + marginButtonColor, buttonWidth, buttonColorHeight), Theme.Color(clrButtonBlue));
DecorBorderDraw(x + Config.decorBorderButtonSize, buttonsTop, buttonWidth, buttonsHeight, Config.decorBorderButtonSize, Config.decorBorderButtonType,
- Config.decorBorderButtonFg, Config.decorBorderButtonBg);
+ Config.decorBorderButtonFg, Config.decorBorderButtonBg, BorderButton);
buttonsDrawn = true;
}
}