aboutsummaryrefslogtreecommitdiff
path: root/lib/gui/elistboxcontent.h
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2008-04-13 22:30:58 +0000
committerFelix Domke <tmbinc@elitedvb.net>2008-04-13 22:30:58 +0000
commitd67129171c8d25ff62382e9c84b90c9102a30dcd (patch)
tree17786158665f9a0e110ed4ba7699ccfc0a09d77b /lib/gui/elistboxcontent.h
parent3a774aaf137dab965c4cda13c0a59ccf53dbcb72 (diff)
downloadenigma2-d67129171c8d25ff62382e9c84b90c9102a30dcd.tar.gz
enigma2-d67129171c8d25ff62382e9c84b90c9102a30dcd.zip
add 'templates' in listboxcontent, to split the layout from actual data content
Diffstat (limited to 'lib/gui/elistboxcontent.h')
-rw-r--r--lib/gui/elistboxcontent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gui/elistboxcontent.h b/lib/gui/elistboxcontent.h
index 277899e7..64699013 100644
--- a/lib/gui/elistboxcontent.h
+++ b/lib/gui/elistboxcontent.h
@@ -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;
};