mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
CComponentsHeader/CChannelList: unify methode names
Origin commit data
------------------
Commit: 9ef6c49a23
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-21 (Fri, 21 Apr 2017)
This commit is contained in:
@@ -1682,10 +1682,10 @@ void CChannelList::showChannelLogo()
|
|||||||
return;
|
return;
|
||||||
if(g_settings.channellist_show_channellogo){
|
if(g_settings.channellist_show_channellogo){
|
||||||
header->setChannelLogo((*chanlist)[selected]->getChannelID(), (*chanlist)[selected]->getName());
|
header->setChannelLogo((*chanlist)[selected]->getChannelID(), (*chanlist)[selected]->getName());
|
||||||
header->getLogoObject()->hide();
|
header->getChannelLogoObject()->hide();
|
||||||
header->getLogoObject()->clearSavedScreen();
|
header->getChannelLogoObject()->clearSavedScreen();
|
||||||
header->getLogoObject()->allowPaint(true);
|
header->getChannelLogoObject()->allowPaint(true);
|
||||||
header->getLogoObject()->paint();
|
header->getChannelLogoObject()->paint();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2155,9 +2155,9 @@ void CChannelList::paintHead()
|
|||||||
|
|
||||||
if(g_settings.channellist_show_channellogo){
|
if(g_settings.channellist_show_channellogo){
|
||||||
//ensure to have clean background
|
//ensure to have clean background
|
||||||
header->getLogoObject()->hide();
|
header->getChannelLogoObject()->hide();
|
||||||
header->setChannelLogo((*chanlist)[selected]->getChannelID(), (*chanlist)[selected]->getName());
|
header->setChannelLogo((*chanlist)[selected]->getChannelID(), (*chanlist)[selected]->getName());
|
||||||
header->getLogoObject()->allowPaint(false);
|
header->getChannelLogoObject()->allowPaint(false);
|
||||||
}
|
}
|
||||||
header->paint(CC_SAVE_SCREEN_NO);
|
header->paint(CC_SAVE_SCREEN_NO);
|
||||||
showChannelLogo();
|
showChannelLogo();
|
||||||
|
@@ -326,7 +326,7 @@ class CComponentsHeader : public CComponentsForm, public CCTextScreen
|
|||||||
/**Methode to get channel logo object for direct access to its properties and methodes
|
/**Methode to get channel logo object for direct access to its properties and methodes
|
||||||
* @return CComponentsChannelLogoScalable*
|
* @return CComponentsChannelLogoScalable*
|
||||||
*/
|
*/
|
||||||
CComponentsChannelLogoScalable* getLogoObject(){return cch_logo_obj;}
|
CComponentsChannelLogoScalable* getChannelLogoObject(){return cch_logo_obj;}
|
||||||
};
|
};
|
||||||
|
|
||||||
//! Sub class of CComponentsHeader.
|
//! Sub class of CComponentsHeader.
|
||||||
|
Reference in New Issue
Block a user