summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkamel5 <kamel5 (at) gmx (dot) net>2018-05-18 18:03:48 +0200
committerkamel5 <kamel5 (at) gmx (dot) net>2018-05-18 18:03:48 +0200
commit4342eb2982399a49870040ee343bbaeece420757 (patch)
tree601cd2aa3d73722602328574acbdd28615b8f6fb
parentdcbff569191b5beb5d178d6369a332b80c5ddcf0 (diff)
downloadskin-lcarsng-4342eb2982399a49870040ee343bbaeece420757.tar.gz
skin-lcarsng-4342eb2982399a49870040ee343bbaeece420757.tar.bz2
Move DrawText("Timer")
-rw-r--r--displaychannel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/displaychannel.c b/displaychannel.c
index d2d1093..17e37a9 100644
--- a/displaychannel.c
+++ b/displaychannel.c
@@ -157,6 +157,7 @@ cLCARSNGDisplayChannel::cLCARSNGDisplayChannel(bool WithInfo):cThread("LCARS Dis
osd->DrawRectangle(xc14, yc0B, xc14 + lineHeight / 2 - 1, yc0A - 1, frameColor);
osd->DrawRectangle(xc14 + lineHeight / 2, yc0B, xc15 - 1, yc0B + lineHeight / 2 - 1, clrTransparent);
osd->DrawEllipse (xc14 + lineHeight / 2, yc0B, xc15 - 1, yc0A - 1, frameColor, 5);
+ osd->DrawText(xc06l + Gap, yc05, "Timer", Theme.Color(clrEventShortText), frameColor, cFont::GetFont(fontOsd), xc06m - xc06l - Gap - 1, lineHeight, taLeft | taBorder);
}
else {
// Rectangles:
@@ -275,7 +276,6 @@ void cLCARSNGDisplayChannel::DrawEventRec(const cEvent *Present, const cEvent *F
void cLCARSNGDisplayChannel::DrawTimer(void)
{
- osd->DrawText(xc06l + Gap, yc05, "Timer", Theme.Color(clrEventShortText), frameColor, cFont::GetFont(fontOsd), xc06m - xc06l - Gap - 1, lineHeight, taLeft | taBorder);
LOCK_TIMERS_READ;
cSortedTimers SortedTimers(Timers);
int i = 0;