gui/bedit/bouqueteditor_channels.cpp: disable screen save for infobox,

fix empty paint on empty list
This commit is contained in:
[CST] Focus
2015-03-09 13:53:56 +03:00
parent 9176132ed4
commit 5ca50e3c67

View File

@@ -173,7 +173,8 @@ void CBEChannelWidget::paint()
int sbh= (sb- 4)/ sbc;
int sbs= (selected/listmaxshow);
frameBuffer->paintBoxRel(x+ width- 13, ypos+ 2+ int(sbs* sbh) , 11, int(sbh), COL_MENUCONTENT_PLUS_3);
if (sbh)
frameBuffer->paintBoxRel(x+ width- 13, ypos+ 2+ int(sbs* sbh) , 11, int(sbh), COL_MENUCONTENT_PLUS_3);
}
void CBEChannelWidget::paintHead()
@@ -219,14 +220,14 @@ std::string CBEChannelWidget::getInfoText(int index)
void CBEChannelWidget::paintDetails(int index)
{
//details line
dline->paint();
dline->paint(CC_SAVE_SCREEN_NO);
std::string str = getInfoText(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);
ibox->paint(CC_SAVE_SCREEN_NO);
}
void CBEChannelWidget::initItem2DetailsLine (int pos, int /*ch_index*/)