aboutsummaryrefslogtreecommitdiff
path: root/lib/gui/elistbox.h
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2005-02-27 02:20:31 +0000
committerFelix Domke <tmbinc@elitedvb.net>2005-02-27 02:20:31 +0000
commitdba614edd2aad3c17e244914eaef3809d8300cb1 (patch)
tree382782ddff50bf88e421d933b13e35b9e5682cff /lib/gui/elistbox.h
parent1cdf6cb021fcaa6548b90ba7b6765cf1e8b8b37b (diff)
downloadenigma2-dba614edd2aad3c17e244914eaef3809d8300cb1.tar.gz
enigma2-dba614edd2aad3c17e244914eaef3809d8300cb1.zip
- hopefully fixed some python/refcount stuff (__deref__ is still evil!)
- first work on skin support, not really far - improved infobar - deletes components when destroying screens - fixed elistbox and component - add ability to change bouqet - real query parser still unfinished
Diffstat (limited to 'lib/gui/elistbox.h')
-rw-r--r--lib/gui/elistbox.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/lib/gui/elistbox.h b/lib/gui/elistbox.h
index 78e0fbe9..9e23bde3 100644
--- a/lib/gui/elistbox.h
+++ b/lib/gui/elistbox.h
@@ -21,6 +21,7 @@ public:
anyway. */
#ifndef SWIG
protected:
+ iListboxContent();
friend class eListbox;
virtual void cursorHome()=0;
virtual void cursorEnd()=0;
@@ -72,12 +73,8 @@ public:
pageDown,
justCheck
};
-protected:
- int event(int event, void *data=0, void *data2=0);
- void recalcSize();
-private:
- friend class iListboxContent;
-
+
+#ifndef SWIG
/* entryAdded: an entry was added *before* the given index. it's index is the given number. */
void entryAdded(int index);
/* entryRemoved: an entry with the given index was removed. */
@@ -86,11 +83,18 @@ private:
void entryChanged(int index);
/* the complete list changed. you should not attemp to keep the current index. */
void entryReset();
+
+protected:
+ int event(int event, void *data=0, void *data2=0);
+ void recalcSize();
+private:
int m_top, m_selected;
int m_itemheight;
int m_items_per_page;
ePtr<iListboxContent> m_content;
+#endif
+
};
#endif