mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
gui/bedit/bouqueteditor_channels.cpp: disable screen save for infobox,
fix empty paint on empty list
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5ca50e3c67
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-03-09 (Mon, 09 Mar 2015)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -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*/)
|
||||
|
Reference in New Issue
Block a user