add possibility to set a callable check function
[enigma2.git] / lib / gui / elistboxcontent.h
index aff071bfd9cc2965de10283af43b7f0a29be55f3..d3df3b143db3210b971013ada5d998754fc94377 100644 (file)
@@ -62,8 +62,9 @@ private:
 class eListboxPythonMultiContent: public eListboxPythonStringContent
 {
        ePyObject m_buildFunc;
+       ePyObject m_callableFunc;
        eRect m_selection_clip;
-       eRect m_temp_clip;
+       gRegion m_temp_clip;
 public:
        eListboxPythonMultiContent();
        ~eListboxPythonMultiContent();
@@ -73,8 +74,9 @@ public:
        
        void setFont(int fnt, gFont *fnt);
        void setBuildFunc(SWIG_PYOBJECT(ePyObject) func);
+       void setCallableFunc(SWIG_PYOBJECT(ePyObject) func);
        void setItemHeight(int height);
-       void setSelectionClip(eRect &rect, bool update=true);
+       void setSelectionClip(eRect &rect, bool update=false);
 private:
        std::map<int, ePtr<gFont> > m_font;
 };