don't display track when no foreground is set in position gauge
[enigma2.git] / lib / gui / epositiongauge.h
index 0fa704c303418c27186acc88e1739cc4f98643ad..74e972c37e04ce52177416342b75ed7a415f74b6 100644 (file)
@@ -20,6 +20,7 @@ public:
        void setPointer(gPixmap *pixmap, const ePoint &center);
        
        void setInOutList(PyObject *list);
+       void setForegroundColor(const gRGB &col);
 #ifndef SWIG
 protected:
        int event(int event, void *data=0, void *data2=0);
@@ -43,7 +44,7 @@ private:
                
                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)
@@ -53,6 +54,9 @@ private:
        
        std::multiset<cueEntry> m_cue_entries;
        int scale(const pts_t &val);
+       
+       int m_have_foreground_color;
+       gRGB m_foreground_color;
 #endif
 };