neutrino eventlist: rework adding of record and zap timer events

Now we use buttons class to manage button bar.

Pressing of red button adds a new record timer event and caption changes
to 'delete'.
The same procedure happens with the yellow button, but for zap events.

This changes are a partial port from tuxbox neutrino.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1784 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 151a55b852
Author: Thilo Graf <dbt@novatux.de>
Date: 2011-10-29 (Sat, 29 Oct 2011)

Origin message was:
------------------
*neutrino eventlist: rework adding of record and zap timer events

Now we use buttons class to manage button bar.

Pressing of red button adds a new record timer event and caption changes
to 'delete'.
The same procedure happens with the yellow button, but for zap events.

This changes are a partial port from tuxbox neutrino.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1784 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
2011-10-28 22:15:25 +00:00
parent 9b07477446
commit eda84237ea
2 changed files with 111 additions and 57 deletions

View File

@@ -109,7 +109,7 @@ class EventList
void paintHead(t_channel_id channel_id, std::string name);
void paintHead(std::string _channelname, std::string _channelname_prev, std::string _channelname_next);
void hide();
void showFunctionBar(bool show);
void showFunctionBar(bool show, t_channel_id channel_id);
CTimerd::CTimerEventTypes isScheduled(t_channel_id channel_id, CChannelEvent * event, int * tID = NULL);
public: