remove debug
[enigma2.git] / lib / gui / elistboxcontent.h
index d3df3b143db3210b971013ada5d998754fc94377..118ed3020c3c2164d2abe4ede7b6325d4dfabbf9 100644 (file)
@@ -62,21 +62,22 @@ private:
 class eListboxPythonMultiContent: public eListboxPythonStringContent
 {
        ePyObject m_buildFunc;
-       ePyObject m_callableFunc;
+       ePyObject m_selectableFunc;
        eRect m_selection_clip;
-       gRegion m_temp_clip;
+       gRegion m_clip, m_old_clip;
 public:
        eListboxPythonMultiContent();
        ~eListboxPythonMultiContent();
        enum { TYPE_TEXT, TYPE_PROGRESS, TYPE_PIXMAP, TYPE_PIXMAP_ALPHATEST };
        void paint(gPainter &painter, eWindowStyle &style, const ePoint &offset, int selected);
        int currentCursorSelectable();
-       
+       void setList(SWIG_PYOBJECT(ePyObject) list);
        void setFont(int fnt, gFont *fnt);
        void setBuildFunc(SWIG_PYOBJECT(ePyObject) func);
-       void setCallableFunc(SWIG_PYOBJECT(ePyObject) func);
+       void setSelectableFunc(SWIG_PYOBJECT(ePyObject) func);
        void setItemHeight(int height);
        void setSelectionClip(eRect &rect, bool update=false);
+       void updateClip(gRegion &);
 private:
        std::map<int, ePtr<gFont> > m_font;
 };