X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fgui%2Felistboxcontent.h;h=646990138fbead63b49aeb4ab9ab835a4c46d6ba;hb=c2bbed774d6e5c51b4af23a60a95aca74aa5d4e9;hp=466a825bd05abbb141df62e31a70a376cf7b39dc;hpb=d9bb0d90e2a5fc8c275c79e981d36c03b1687785;p=vuplus_dvbapp diff --git a/lib/gui/elistboxcontent.h b/lib/gui/elistboxcontent.h index 466a825..6469901 100644 --- a/lib/gui/elistboxcontent.h +++ b/lib/gui/elistboxcontent.h @@ -62,19 +62,25 @@ private: class eListboxPythonMultiContent: public eListboxPythonStringContent { ePyObject m_buildFunc; + ePyObject m_selectableFunc; + ePyObject m_template; 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 setSelectableFunc(SWIG_PYOBJECT(ePyObject) func); void setItemHeight(int height); - void setSelectionClip(eRect &rect, bool update=true); + void setSelectionClip(eRect &rect, bool update=false); + void updateClip(gRegion &); + void entryRemoved(int idx); + void setTemplate(SWIG_PYOBJECT(ePyObject) tmplate); private: std::map > m_font; };