mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
weather: add "°C" to temperatures in show
This commit is contained in:
@@ -175,7 +175,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