CChannelList: use CComponentsPIP object for minitv

It's working with unified other implementations of minitv e.g. imageinfo,
streaminfo and can provide better options for an
implementation with native pip. Possible variants will follow soon.


Origin commit data
------------------
Commit: 30c7010c6b
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-02 (Wed, 02 Oct 2013)
This commit is contained in:
2013-10-02 09:41:41 +02:00
parent 281827abbe
commit 620b091539
2 changed files with 21 additions and 26 deletions

View File

@@ -37,6 +37,7 @@
#include <gui/widget/menue.h>
#include <gui/components/cc.h>
#include <gui/components/cc_frm_clock.h>
#include <gui/components/cc_item_tvpic.h>
#include <system/lastchannel.h>
#include <sectionsdclient/sectionsdclient.h>
@@ -59,6 +60,7 @@ class CChannelList
{
private:
CFrameBuffer *frameBuffer;
CComponentsPIP *cc_minitv;
unsigned int selected, selected_in_new_mode;
unsigned int tuned;
t_channel_id selected_chid;
@@ -113,7 +115,7 @@ private:
void showChannelLogo();
void calcSize();
std::string MaxChanNr();
void paint_pig(int x, int y, int w, int h);
void paintPig(int x, int y, int w, int h);
void paint_events(int index);
CChannelEventList evtlist;
void readEvents(const t_channel_id channel_id);