add 'templates' in listboxcontent, to split the layout from actual data content
[enigma2.git] / lib / gui / elistboxcontent.h
index 277899e7ab97397b74d4b392108b62db23236f6b..646990138fbead63b49aeb4ab9ab835a4c46d6ba 100644 (file)
@@ -63,6 +63,7 @@ class eListboxPythonMultiContent: public eListboxPythonStringContent
 {
        ePyObject m_buildFunc;
        ePyObject m_selectableFunc;
+       ePyObject m_template;
        eRect m_selection_clip;
        gRegion m_clip, m_old_clip;
 public:
@@ -79,6 +80,7 @@ public:
        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;
 };