X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/9a1eb9bbf5d26648c761459ec7019f9c6eae24d7..b55924aedff85c75f03d689cae75ad40523f0b7d:/lib/gui/elistboxcontent.h diff --git a/lib/gui/elistboxcontent.h b/lib/gui/elistboxcontent.h index 0c4cb001..4d2c46b5 100644 --- a/lib/gui/elistboxcontent.h +++ b/lib/gui/elistboxcontent.h @@ -83,6 +83,9 @@ public: void setList(PyObject *list); PyObject *getCurrentSelection(); int getCurrentSelectionIndex() { return m_cursor; } + void invalidateEntry(int index); + void invalidate(); + eSize getItemSize() { return m_itemsize; } #ifndef SWIG protected: void cursorHome(); @@ -115,10 +118,19 @@ class eListboxPythonConfigContent: public eListboxPythonStringContent { public: void paint(gPainter &painter, eWindowStyle &style, const ePoint &offset, int selected); - void invalidateEntry(int index); void setSeperation(int sep) { m_seperation = sep; } private: int m_seperation; }; +class eListboxPythonMultiContent: public eListboxPythonStringContent +{ +public: + void paint(gPainter &painter, eWindowStyle &style, const ePoint &offset, int selected); + + void setFont(int fnt, gFont *fnt); +private: + std::map > m_font; +}; + #endif