mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
src/gui/eventlist.cpp use CComponentsChannelLogoScalable
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5100b3d6ae
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-02-16 (Tue, 16 Feb 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -866,7 +866,7 @@ void CEventList::paintHead(t_channel_id _channel_id, std::string _channelname, s
|
|||||||
int side_width = ((full_width - mid_width) / 2) - (2 * x_off);
|
int side_width = ((full_width - mid_width) / 2) - (2 * x_off);
|
||||||
|
|
||||||
//create an logo object
|
//create an logo object
|
||||||
CComponentsChannelLogo* midLogo = new CComponentsChannelLogo(0, 0, _channelname, _channel_id, &header);
|
CComponentsChannelLogoScalable* midLogo = new CComponentsChannelLogoScalable(0, 0, _channelname, _channel_id, &header);
|
||||||
if (midLogo->hasLogo()) {
|
if (midLogo->hasLogo()) {
|
||||||
//if logo object has found a logo and was ititialized, the hand it's size
|
//if logo object has found a logo and was ititialized, the hand it's size
|
||||||
int w_logo = midLogo->getWidth();
|
int w_logo = midLogo->getWidth();
|
||||||
|
Reference in New Issue
Block a user