diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-02-03 15:37:38 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-02-03 15:37:38 +0000 |
| commit | 9314a07dfcc0a5123beb50ddb198cbcc5805d7db (patch) | |
| tree | 0fe71a3d2ff3d59cdd4a4fc31c5ed4d8551fb8d4 /lib/gui/elistbox.h | |
| parent | 477c468861635555c7179f2f4397dd765f499656 (diff) | |
| download | enigma2-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.h | 5 |
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; |
