aboutsummaryrefslogtreecommitdiff
path: root/lib/gui/elistbox.h
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-02-03 15:37:38 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-02-03 15:37:38 +0000
commit9314a07dfcc0a5123beb50ddb198cbcc5805d7db (patch)
tree0fe71a3d2ff3d59cdd4a4fc31c5ed4d8551fb8d4 /lib/gui/elistbox.h
parent477c468861635555c7179f2f4397dd765f499656 (diff)
downloadenigma2-9314a07dfcc0a5123beb50ddb198cbcc5805d7db.tar.gz
enigma2-9314a07dfcc0a5123beb50ddb198cbcc5805d7db.zip
add ability to enable wrap around in listbox
Diffstat (limited to 'lib/gui/elistbox.h')
-rw-r--r--lib/gui/elistbox.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/gui/elistbox.h b/lib/gui/elistbox.h
index 87013bc1..76ad8208 100644
--- a/lib/gui/elistbox.h
+++ b/lib/gui/elistbox.h
@@ -65,6 +65,7 @@ public:
showNever
};
void setScrollbarMode(int mode);
+ void setWrapAround(bool);
void setContent(iListboxContent *content);
@@ -79,6 +80,9 @@ public:
int getCurrentIndex();
void moveSelection(int how);
void moveSelectionTo(int index);
+ void moveToEnd();
+ bool atBegin();
+ bool atEnd();
enum ListboxActions {
moveUp,
@@ -109,6 +113,7 @@ protected:
private:
int m_scrollbar_mode, m_prev_scrollbar_page;
bool m_content_changed;
+ bool m_enabled_wrap_around;
int m_top, m_selected;
int m_itemheight;