2 Copyright 2004-2020 Chris Tallon, 2014 Marten Richter
4 This file is part of VOMP.
6 VOMP is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 VOMP is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with VOMP. If not, see <https://www.gnu.org/licenses/>.
20 #ifndef VEPGLIST_ADVANCED_H
21 #define VEPGLIST_ADVANCED_H
27 #include "wselectlist.h"
33 class VEpgListAdvanced : public TBBoxx
36 VEpgListAdvanced(VVideoLiveTV* tvideolive, ChannelList* tchanList, ULONG initialChannelNumber);
37 virtual ~VEpgListAdvanced();
39 void draw() { draw(false); }
42 void drawData(bool doIndexPop = false);
56 void updateSelection();
60 void clearEventList();
63 void updateEpgDataChannel();
64 void updateEpgDataNowNext(bool changestate);
65 void drawDataChannel(bool doIndexPop);
66 void drawDataNowNext(bool next, bool doIndexPop);
68 int handleCommand(int command);
69 void processMessage(Message* m);
91 Event* getCurrentOptionEvent(ULONG& channel);
93 ChannelList* chanList;
95 VVideoLiveTV* videolive;
107 std::vector<EventList*> eventLista;