git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dont start timers as recurring timers... this is better for blocking syscalls
[enigma2.git]
/
lib
/
gui
/
esubtitle.h
diff --git
a/lib/gui/esubtitle.h
b/lib/gui/esubtitle.h
index 0cd66d2ca157a6ed720369e649a7067490031e91..155427730ed056926d16345a082c7da00fba1eaf 100644
(file)
--- a/
lib/gui/esubtitle.h
+++ b/
lib/gui/esubtitle.h
@@
-3,23
+3,35
@@
#include <lib/gui/ewidget.h>
#include <lib/dvb/teletext.h>
#include <lib/gui/ewidget.h>
#include <lib/dvb/teletext.h>
+#include <lib/dvb/subtitle.h>
class eDVBTeletextSubtitlePage;
class eDVBTeletextSubtitlePage;
-class eSubtitleWidget: public eWidget
+class eSubtitleWidget: public eWidget
, public Object
{
public:
eSubtitleWidget(eWidget *parent);
void setPage(const eDVBTeletextSubtitlePage &p);
{
public:
eSubtitleWidget(eWidget *parent);
void setPage(const eDVBTeletextSubtitlePage &p);
+ void setPage(const eDVBSubtitlePage &p);
void clearPage();
void clearPage();
-
+
+ void setPixmap(ePtr<gPixmap> &pixmap, gRegion changed);
protected:
int event(int event, void *data=0, void *data2=0);
private:
int m_page_ok;
eDVBTeletextSubtitlePage m_page;
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;
+
+ ePtr<gPixmap> m_pixmap; // pixmap to paint on next evtPaint
};
#endif
};
#endif