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:
TangoCash
2019-03-21 08:38:20 +01:00
committed by vanhofen
parent 67dbd885c0
commit c24e9ffcc4

View File

@@ -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);