mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user