CChannelList: use class for scalable channel logos

Previous class used limited scale handling mainly with the
member paintIcon() by framebuffer class.
Because of many possible channel logo files, the icon cache was
filled very fast. That was never considered in
paintIcon() and caused strange behavior at screen, as no image data
were assigned correctly.


Origin commit data
------------------
Commit: 388ab3aa02
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-04 (Sat, 04 Apr 2015)
This commit is contained in:
2015-04-04 23:32:48 +02:00
parent 8c3972203e
commit 3341622426
2 changed files with 2 additions and 2 deletions

View File

@@ -1663,7 +1663,7 @@ void CChannelList::showChannelLogo()
CChannelLogo->hide();
delete CChannelLogo;
}
CChannelLogo = new CComponentsChannelLogo(0, 0, (*chanlist)[selected]->getName(), (*chanlist)[selected]->channel_id);
CChannelLogo = new CComponentsChannelLogoScalable(0, 0, (*chanlist)[selected]->getName(), (*chanlist)[selected]->channel_id);
if (CChannelLogo->hasLogo()){
int h_logo = CChannelLogo->getHeight();