diff options
author | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2017-08-27 16:13:09 +0200 |
---|---|---|
committer | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2017-08-27 16:13:09 +0200 |
commit | 06bec42a4f84720c25a7d11d5c5858d338a13bdd (patch) | |
tree | ac20c2502713629f96295e1e6860baac87db96ee | |
parent | 5ffa5e4ee7ea9f7e33cf92e2ffc9fd5a9cc0235e (diff) | |
download | skin-flatplus-06bec42a4f84720c25a7d11d5c5858d338a13bdd.tar.gz skin-flatplus-06bec42a4f84720c25a7d11d5c5858d338a13bdd.tar.bz2 |
fix typos
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | displaymenu.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -3,7 +3,7 @@ VDR Plugin 'skinflatplus' Revision History 201X-XX-XX: Version XXX - [fix] '%' sign not shown in menu weather widget at certian font -- [update] use std::min & std:max +- [update] use std::min & std::max - [update] support for vdr 2.3.8 (thanks to nanohcv) - [add] support for change color key mapping - [add] displaychannel show event start time on the left before event title diff --git a/displaymenu.c b/displaymenu.c index 15b34571..3ba9bcac 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -5302,8 +5302,8 @@ int cFlatDisplayMenu::DrawMainMenuWidgetWeather(int wLeft, int wWidth, int Conte contentWidget.AddImage(img, cRect(left, ContentTop + marginItem, fontHeight, fontHeight)); left += fontHeight - marginItem; } - contentWidget.AddText(*precString, false, cRect(left, ContentTop + (fontHeight/2 - fontTempSml->Height()/2), 0, 0), Theme.Color(clrMenuEventFontInfo), Theme.Color(clrMenuEventBg), fontTempSml, fontTempSml->Width("XXX% "), fontTempSml->Height(), taRight); - left += fontTempSml->Width("XXXX%") + marginItem; + contentWidget.AddText(*precString, false, cRect(left, ContentTop + (fontHeight/2 - fontTempSml->Height()/2), 0, 0), Theme.Color(clrMenuEventFontInfo), Theme.Color(clrMenuEventBg), fontTempSml, fontTempSml->Width("100%"), fontTempSml->Height(), taRight); + left += fontTempSml->Width("100% ") + marginItem; contentWidget.AddText(summary.c_str(), false, cRect(left, ContentTop + (fontHeight/2 - fontTempSml->Height()/2), wWidth - left, fontHeight), Theme.Color(clrMenuEventFontInfo), Theme.Color(clrMenuEventBg), fontTempSml, wWidth - left); |