mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
weather: add "°C" to temperatures in show
Origin commit data
------------------
Branch: ni/coolstream
Commit: e211ea0073
Author: TangoCash <eric@loxat.de>
Date: 2019-03-21 (Thu, 21 Mar 2019)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -172,7 +172,7 @@ void CWeather::show(int x, int y)
|
||||
ptmp->setColorBody(form->getColorBody());
|
||||
form->addCCItem(ptmp);
|
||||
|
||||
CComponentsText *temp = new CComponentsText(ptmp->getWidth() + 2*RADIUS_MID, ptmp->getHeight()/2 + RADIUS_MID - g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_NUMBER]->getHeight()/2, 0, 0, getActTemp(), CTextBox::AUTO_WIDTH, g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_NUMBER]);
|
||||
CComponentsText *temp = new CComponentsText(ptmp->getWidth() + 2*RADIUS_MID, ptmp->getHeight()/2 + RADIUS_MID - g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_NUMBER]->getHeight()/2, 0, 0, getActTemp() + "°C", CTextBox::AUTO_WIDTH, g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_NUMBER]);
|
||||
temp->doPaintBg(false);
|
||||
temp->setTextColor(COL_INFOBAR_TEXT);
|
||||
form->addCCItem(temp);
|
||||
|
Reference in New Issue
Block a user