CEpgData: hold header instance to prevent flickering on page scroll

Header class is not required here, square-object is adequate,
therefore usage of title text object is justified and can be used on stack,
heap is not required in this case.
Note: Header class provides a title parameter and could do this at once.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 14da9e510b
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-03-22 (Tue, 22 Mar 2016)



------------------
This commit was generated by Migit
This commit is contained in:
2016-03-22 10:04:16 +01:00
parent 8c9bd16b1c
commit 21a3a7a90c
2 changed files with 22 additions and 15 deletions

View File

@@ -56,7 +56,7 @@ class CEpgData
CChannelEventList evtlist;
CChannelEventList followlist;
CEPGData epgData;
CComponentsShapeSquare* header;
std::string epg_date;
std::string epg_start;
std::string epg_end;
@@ -96,6 +96,7 @@ class CEpgData
public:
CEpgData();
~CEpgData();
void start( );
int show(const t_channel_id channel_id, uint64_t id = 0, time_t* startzeit = NULL, bool doLoop = true, bool callFromfollowlist = false );
void hide();