add preStart event and use it to load the cutlist
[enigma2.git] / lib / gui / elistboxcontent.h
index f934ed5..d3d2a08 100644 (file)
@@ -62,16 +62,25 @@ private:
 class eListboxPythonMultiContent: public eListboxPythonStringContent
 {
        ePyObject m_buildFunc;
+       ePyObject m_selectableFunc;
+       ePyObject m_template;
+       eRect m_selection_clip;
+       gRegion m_clip, m_old_clip;
 public:
        eListboxPythonMultiContent();
        ~eListboxPythonMultiContent();
-       enum { TYPE_TEXT, TYPE_PROGRESS, TYPE_PIXMAP, TYPE_PIXMAP_ALPHATEST };
+       enum { TYPE_TEXT, TYPE_PROGRESS, TYPE_PIXMAP, TYPE_PIXMAP_ALPHATEST, TYPE_PIXMAP_ALPHABLEND };
        void paint(gPainter &painter, eWindowStyle &style, const ePoint &offset, int selected);
        int currentCursorSelectable();
-       
-       void setFont(int fnt, gFont *fnt);
+       void setList(SWIG_PYOBJECT(ePyObject) list);
+       void setFont(int fnt, gFont *font);
        void setBuildFunc(SWIG_PYOBJECT(ePyObject) func);
+       void setSelectableFunc(SWIG_PYOBJECT(ePyObject) func);
        void setItemHeight(int height);
+       void setSelectionClip(eRect &rect, bool update=false);
+       void updateClip(gRegion &);
+       void entryRemoved(int idx);
+       void setTemplate(SWIG_PYOBJECT(ePyObject) tmplate);
 private:
        std::map<int, ePtr<gFont> > m_font;
 };