1 #ifndef __lib_gui_subtitle_h
2 #define __lib_gui_subtitle_h
4 #include <lib/gui/ewidget.h>
5 #include <lib/dvb/teletext.h>
6 #include <lib/dvb/subtitle.h>
8 class eDVBTeletextSubtitlePage;
10 class eSubtitleWidget: public eWidget, public Object
13 eSubtitleWidget(eWidget *parent);
15 void setPage(const eDVBTeletextSubtitlePage &p);
16 void setPage(const eDVBSubtitlePage &p);
20 int event(int event, void *data=0, void *data2=0);
24 eDVBTeletextSubtitlePage m_page;
27 eDVBSubtitlePage m_dvb_page;
29 eTimer m_hide_subtitles_timer;
31 gRegion m_visible_region;