mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
@@ -2066,6 +2066,7 @@ void CChannelList::paintHead()
|
|||||||
}
|
}
|
||||||
|
|
||||||
header->setDimensionsAll(x, y, full_width, theight);
|
header->setDimensionsAll(x, y, full_width, theight);
|
||||||
|
header->enableGradientBgCleanUp();
|
||||||
|
|
||||||
if (bouquet && bouquet->zapitBouquet && bouquet->zapitBouquet->bLocked != g_settings.parentallock_defaultlocked)
|
if (bouquet && bouquet->zapitBouquet && bouquet->zapitBouquet->bLocked != g_settings.parentallock_defaultlocked)
|
||||||
header->setIcon(NEUTRINO_ICON_LOCK);
|
header->setIcon(NEUTRINO_ICON_LOCK);
|
||||||
|
@@ -127,6 +127,7 @@ void EpgPlus::Header::paint(const char * Name)
|
|||||||
std::string head = Name ? Name : g_Locale->getText (LOCALE_EPGPLUS_HEAD);
|
std::string head = Name ? Name : g_Locale->getText (LOCALE_EPGPLUS_HEAD);
|
||||||
|
|
||||||
CComponentsHeader header(this->x, this->y, this->width, this->font->getHeight()+4, head);
|
CComponentsHeader header(this->x, this->y, this->width, this->font->getHeight()+4, head);
|
||||||
|
header.enableGradientBgCleanUp();
|
||||||
header.paint(CC_SAVE_SCREEN_NO);
|
header.paint(CC_SAVE_SCREEN_NO);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -646,6 +646,7 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
|
|||||||
headerPic = new CComponentsPicture(sx+10, sy + (header_h-logo_h)/2, logo_w, logo_h, lname);
|
headerPic = new CComponentsPicture(sx+10, sy + (header_h-logo_h)/2, logo_w, logo_h, lname);
|
||||||
headerPic->doPaintBg(false);
|
headerPic->doPaintBg(false);
|
||||||
}
|
}
|
||||||
|
header->enableGradientBgCleanUp();
|
||||||
std::string textAll = (!text2.empty()) ? text1 + "\n" + text2 : text1;
|
std::string textAll = (!text2.empty()) ? text1 + "\n" + text2 : text1;
|
||||||
headerText = new CComponentsText(sx+15+pic_offx, sy, ox-15-pic_offx, header_h, textAll, CTextBox::NO_AUTO_LINEBREAK, g_Font[SNeutrinoSettings::FONT_TYPE_EPG_TITLE]);
|
headerText = new CComponentsText(sx+15+pic_offx, sy, ox-15-pic_offx, header_h, textAll, CTextBox::NO_AUTO_LINEBREAK, g_Font[SNeutrinoSettings::FONT_TYPE_EPG_TITLE]);
|
||||||
headerText->doPaintBg(false);
|
headerText->doPaintBg(false);
|
||||||
|
Reference in New Issue
Block a user