CNeutrinoApp: rework switch handling for channallist paint

In some cases it is advantageous if you can override paint of channellist,
e.g.  if RC_ok is shared with other window handlers.
In such cases will so could be avoided.
This commit is contained in:
2015-03-01 22:58:33 +01:00
parent 341b142aa0
commit 0d6f0a8c88
2 changed files with 18 additions and 6 deletions

View File

@@ -105,7 +105,8 @@ private:
int tvsort[LIST_MODE_LAST];
int radiosort[LIST_MODE_LAST];
bool channellist_visible;
bool channelList_allowed;
bool channelList_painted;
int first_mode_found;
void SDT_ReloadChannels();
@@ -219,8 +220,9 @@ public:
void saveEpg(bool cvfd_mode);
void stopDaemonsForFlash();
int showChannelList(const neutrino_msg_t msg, bool from_menu = false);
void allowChannelList(bool allow){channelList_allowed = allow;}
CPersonalizeGui & getPersonalizeGui() { return personalize; }
bool getChannellistIsVisible() { return channellist_visible; }
bool getChannellistIsVisible() { return channelList_painted; }
void zapTo(t_channel_id channel_id);
bool wakeupFromStandby(void);
void standbyToStandby(void);