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.
This commit is contained in:
2016-03-22 10:04:16 +01:00
parent 8250d20fa7
commit 14da9e510b
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();