void setPosition(const pts_t &pos);
void setInColor(const gRGB &color); /* foreground? */
- void setPointer(gPixmap *pixmap, const ePoint ¢er);
+ void setPointer(int which, gPixmap *pixmap, const ePoint ¢er);
+ void setPointer(int which, ePtr<gPixmap> &pixmap, const ePoint ¢er);
+
+ void setInOutList(SWIG_PYOBJECT(ePyObject) list);
+ void setForegroundColor(const gRGB &col);
+
+ void enableSeekPointer(int enable);
+ void setSeekPosition(const pts_t &pos);
- void setInOutList(PyObject *list);
#ifndef SWIG
protected:
int event(int event, void *data=0, void *data2=0);
{
evtChangedPosition = evtUserWidget
};
- ePixmap *m_point_widget;
- ePoint m_point_center;
+ ePixmap *m_point_widget, *m_seek_point_widget;
+ ePoint m_point_center, m_seek_point_center;
+
+ pts_t m_position, m_length, m_seek_position;
+ int m_pos, m_seek_pos;
- pts_t m_position, m_length;
- int m_pos;
-
/* TODO: this is duplicated code from lib/service/servicedvb.h */
struct cueEntry
{
bool operator < (const struct cueEntry &o) const
{
- return what < o.what;
+ return where < o.where;
}
cueEntry(const pts_t &where, unsigned int what) :
where(where), what(what)
std::multiset<cueEntry> m_cue_entries;
int scale(const pts_t &val);
+
+ int m_have_foreground_color;
+ gRGB m_foreground_color;
#endif
};