From 228505d00df5733eb4824c2d6e1fb5883e375f7a Mon Sep 17 00:00:00 2001 From: Karl Melscher Date: Wed, 7 Mar 2018 16:25:44 +0100 Subject: Updated for release 0.1.0 --- lcarsng.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lcarsng.c') diff --git a/lcarsng.c b/lcarsng.c index c853615..798982b 100644 --- a/lcarsng.c +++ b/lcarsng.c @@ -268,7 +268,7 @@ static bool DrawDeviceData(cOsd *Osd, const cDevice *Device, int x0, int y0, int #else cString s = cString::sprintf("CAM %d", CamSlot->SlotNumber()); #endif - Osd->DrawText(x, y1 - TinyFont->Height(), s, ColorFg, ColorBg, TinyFont); + Osd->DrawText(x, y1 - TinyFont->Height(), s, ColorFg, ColorBg, TinyFont); xs = max(xs, x + TinyFont->Width(s)); } LastCamSlot = CamSlot; @@ -1898,7 +1898,7 @@ void cLCARSNGDisplayMenu::SetTitle(const char *Title) break; case mcRecording: #ifdef USE_WAREAGLEICON - osd->DrawText(xm04, ys00, cString::sprintf("%i", NumRecordingsInPath), Theme.Color(clrMenuFrameFg), frameColor, font, xm08 - xm04 - 1, lineHeight, taBottom | taRight); + osd->DrawText(xm04, ys00, cString::sprintf("%i", NumRecordingsInPath), Theme.Color(clrMenuFrameFg), frameColor, font, xm08 - xm04 - 1, lineHeight, taBottom | taRight); #endif /* WAREAGLEICON */ currentTitle = Title; case mcRecordingInfo: @@ -1908,7 +1908,7 @@ void cLCARSNGDisplayMenu::SetTitle(const char *Title) case mcScheduleNow: case mcScheduleNext: case mcEvent: - osd->DrawRectangle(xs00 - Gap, ys00, xs00, ys01 - 1, Theme.Color(clrBackground)); + osd->DrawRectangle(xs00 - Gap, ys00, xs00, ys01 - 1, Theme.Color(clrBackground)); osd->DrawText(xs00, ys00, Title, Theme.Color(clrMenuFrameFg), frameColor, font, xs11 - xs00 - 1, lineHeight, taBottom | taRight); osd->DrawRectangle(xs12, ys00, xs13 - 1, ys01 - 1, frameColor); break; -- cgit v1.2.3