From 4850e6d77a6f236d1686aee7dbb138947309ac4a Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Mon, 10 Jun 2013 15:59:21 +0400 Subject: [PATCH] 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 --- src/gui/audioplayer.cpp | 1 + src/gui/bedit/bouqueteditor_channels.cpp | 1 + src/gui/bedit/bouqueteditor_chanselect.cpp | 1 + src/gui/widget/menue.cpp | 1 + 4 files changed, 4 insertions(+) diff --git a/src/gui/audioplayer.cpp b/src/gui/audioplayer.cpp index 6c0a5043b..c30f02c40 100644 --- a/src/gui/audioplayer.cpp +++ b/src/gui/audioplayer.cpp @@ -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, diff --git a/src/gui/bedit/bouqueteditor_channels.cpp b/src/gui/bedit/bouqueteditor_channels.cpp index b146a7b78..018674556 100644 --- a/src/gui/bedit/bouqueteditor_channels.cpp +++ b/src/gui/bedit/bouqueteditor_channels.cpp @@ -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); } diff --git a/src/gui/bedit/bouqueteditor_chanselect.cpp b/src/gui/bedit/bouqueteditor_chanselect.cpp index baf767e73..00ff190f2 100644 --- a/src/gui/bedit/bouqueteditor_chanselect.cpp +++ b/src/gui/bedit/bouqueteditor_chanselect.cpp @@ -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); } diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index fb92d060d..c89d22c33 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -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); }