X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/8d71e2bcd92ce5d7b875c20e3d5da4bd055f001a..ec648cb137f7a02e63752b54be2ce3ac959c7c86:/lib/gui/epositiongauge.h diff --git a/lib/gui/epositiongauge.h b/lib/gui/epositiongauge.h index 6f72fe80..74e972c3 100644 --- a/lib/gui/epositiongauge.h +++ b/lib/gui/epositiongauge.h @@ -2,6 +2,7 @@ #define __lib_gui_epositiongauge_h #include +#include typedef long long pts_t; @@ -17,6 +18,9 @@ public: void setInColor(const gRGB &color); /* foreground? */ void setPointer(gPixmap *pixmap, const ePoint ¢er); + + void setInOutList(PyObject *list); + void setForegroundColor(const gRGB &col); #ifndef SWIG protected: int event(int event, void *data=0, void *data2=0); @@ -31,6 +35,28 @@ private: pts_t m_position, m_length; int m_pos; + + /* TODO: this is duplicated code from lib/service/servicedvb.h */ + struct cueEntry + { + pts_t where; + unsigned int what; + + bool operator < (const struct cueEntry &o) const + { + return where < o.where; + } + cueEntry(const pts_t &where, unsigned int what) : + where(where), what(what) + { + } + }; + + std::multiset m_cue_entries; + int scale(const pts_t &val); + + int m_have_foreground_color; + gRGB m_foreground_color; #endif };