TYPE_PIXMAP_ALPHATEST in eListboxMultiContent, fix alphatest
[enigma2.git] / lib / gui / elistboxcontent.h
index 6a4cdaaa3d604774335506582574562d7c38c966..d3648373b0a7a520a910a414a6e4a569ef695a01 100644 (file)
@@ -83,6 +83,9 @@ public:
        void setList(PyObject *list);
        PyObject *getCurrentSelection();
        int getCurrentSelectionIndex() { return m_cursor; }
+       void invalidateEntry(int index);
+       void invalidate();
+       eSize getItemSize() { return m_itemsize; }
 #ifndef SWIG
 protected:
        void cursorHome();
@@ -103,7 +106,6 @@ protected:
        
                /* the following functions always refer to the selected item */
        virtual void paint(gPainter &painter, eWindowStyle &style, const ePoint &offset, int selected);
-       void invalidateEntry(int index);
 
 protected:
        PyObject *m_list;
@@ -124,6 +126,7 @@ private:
 class eListboxPythonMultiContent: public eListboxPythonStringContent
 {
 public:
+       enum { TYPE_TEXT, TYPE_PROGRESS, TYPE_PIXMAP, TYPE_PIXMAP_ALPHATEST };
        void paint(gPainter &painter, eWindowStyle &style, const ePoint &offset, int selected);
        
        void setFont(int fnt, gFont *fnt);