diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-03-07 20:36:40 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-03-07 20:36:40 +0000 |
| commit | df8830e6f19c5557fd52b1a9ac4fbf23c1afcdf2 (patch) | |
| tree | 1bc69dd8b0e7349340f0273e6fc4e6244ccf3a7a /lib/gui/elistboxcontent.h | |
| parent | db676dd52192447dd3204739ebb081b4b713ad28 (diff) | |
| download | enigma2-df8830e6f19c5557fd52b1a9ac4fbf23c1afcdf2.tar.gz enigma2-df8830e6f19c5557fd52b1a9ac4fbf23c1afcdf2.zip | |
add ability to set a callback build function in listbox multicontent
Diffstat (limited to 'lib/gui/elistboxcontent.h')
| -rw-r--r-- | lib/gui/elistboxcontent.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gui/elistboxcontent.h b/lib/gui/elistboxcontent.h index acf6525b..f7e5d2b6 100644 --- a/lib/gui/elistboxcontent.h +++ b/lib/gui/elistboxcontent.h @@ -58,12 +58,16 @@ private: class eListboxPythonMultiContent: public eListboxPythonStringContent { + PyObject *m_buildFunc; 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 setFont(int fnt, gFont *fnt); + void setBuildFunc(PyObject *func); private: std::map<int, ePtr<gFont> > m_font; }; |
