#include <lib/gui/ewidget.h>
#include <lib/dvb/teletext.h>
+#include <lib/dvb/subtitle.h>
class eDVBTeletextSubtitlePage;
-class eSubtitleWidget: public eWidget
+class eSubtitleWidget: public eWidget, public Object
{
public:
eSubtitleWidget(eWidget *parent);
void setPage(const eDVBTeletextSubtitlePage &p);
+ void setPage(const eDVBSubtitlePage &p);
void clearPage();
-
+
protected:
int event(int event, void *data=0, void *data2=0);
private:
int m_page_ok;
eDVBTeletextSubtitlePage m_page;
+
+ int m_dvb_page_ok;
+ eDVBSubtitlePage m_dvb_page;
+
+ eTimer m_hide_subtitles_timer;
+
+ gRegion m_visible_region;
};
#endif