set infobox color to COL_MENUCONTENTDARK_PLUS_0:

same color as main window looks boring, probably make sense to add color config option for this
This commit is contained in:
[CST] Focus
2013-06-10 15:59:21 +04:00
parent 23c387755c
commit 4850e6d77a
4 changed files with 4 additions and 0 deletions

View File

@@ -1924,6 +1924,7 @@ void CAudioPlayerGui::paintItemID3DetailsLine (int pos)
ibox = new CComponentsInfoBox(m_x, ypos2, m_width, m_info_height);
ibox->setCornerRadius(RADIUS_LARGE);
ibox->setYPos(ypos2);
ibox->setColorBody(COL_MENUCONTENTDARK_PLUS_0);
ibox->paint(false);
g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->RenderString(m_x + 10, ypos2 + 2 + 1*m_fheight, m_width- 80,

View File

@@ -215,6 +215,7 @@ void CBEChannelWidget::paintDetails(int index)
//info box
ibox->setText(str, CTextBox::AUTO_WIDTH | CTextBox::NO_AUTO_LINEBREAK, g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST]);
ibox->setColorBody(COL_MENUCONTENTDARK_PLUS_0);
ibox->paint(CC_SAVE_SCREEN_YES);
}

View File

@@ -233,6 +233,7 @@ void CBEChannelSelectWidget::paintDetails(int index)
//info box
ibox->setText(str, CTextBox::AUTO_WIDTH | CTextBox::NO_AUTO_LINEBREAK, g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST]);
ibox->setColorBody(COL_MENUCONTENTDARK_PLUS_0);
ibox->paint(false);
}

View File

@@ -1152,6 +1152,7 @@ void CMenuWidget::paintHint(int pos)
info_box->setText(str, CTextBox::AUTO_WIDTH, g_Font[SNeutrinoSettings::FONT_TYPE_MENU_HINT]);
info_box->setCornerRadius(RADIUS_LARGE);
info_box->syncSysColors();
info_box->setColorBody(COL_MENUCONTENTDARK_PLUS_0);
info_box->setShadowOnOff(CC_SHADOW_ON);
info_box->setPicture(item->hintIcon);
}