X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/866bf4c43f79a42337ac654dfa35df7b95c8e2d5..35f4d6b50c5e8c79e57dea6e9ad9403b5ab6fdd5:/lib/gui/elistboxcontent.h diff --git a/lib/gui/elistboxcontent.h b/lib/gui/elistboxcontent.h index d69beb75..118ed302 100644 --- a/lib/gui/elistboxcontent.h +++ b/lib/gui/elistboxcontent.h @@ -64,19 +64,20 @@ class eListboxPythonMultiContent: public eListboxPythonStringContent ePyObject m_buildFunc; 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 setSelectableFunc(SWIG_PYOBJECT(ePyObject) func); void setItemHeight(int height); void setSelectionClip(eRect &rect, bool update=false); + void updateClip(gRegion &); private: std::map > m_font; };