code cleanup / more flexible code
[enigma2.git] / lib / gui / elistboxcontent.h
index f934ed599264eee959dbef66840b38c072d80b19..466a825bd05abbb141df62e31a70a376cf7b39dc 100644 (file)
@@ -62,6 +62,8 @@ private:
 class eListboxPythonMultiContent: public eListboxPythonStringContent
 {
        ePyObject m_buildFunc;
+       eRect m_selection_clip;
+       gRegion m_temp_clip;
 public:
        eListboxPythonMultiContent();
        ~eListboxPythonMultiContent();
@@ -72,6 +74,7 @@ public:
        void setFont(int fnt, gFont *fnt);
        void setBuildFunc(SWIG_PYOBJECT(ePyObject) func);
        void setItemHeight(int height);
+       void setSelectionClip(eRect &rect, bool update=true);
 private:
        std::map<int, ePtr<gFont> > m_font;
 };