X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/dba614edd2aad3c17e244914eaef3809d8300cb1..8c0a01c09ee2e48354275796ae854dd61c93b8f4:/lib/gui/elistbox.h diff --git a/lib/gui/elistbox.h b/lib/gui/elistbox.h index 9e23bde3..60429d2e 100644 --- a/lib/gui/elistbox.h +++ b/lib/gui/elistbox.h @@ -63,6 +63,7 @@ public: }; */ void moveSelection(int how); + void moveSelectionTo(int index); enum ListboxActions { moveUp, @@ -73,6 +74,9 @@ public: pageDown, justCheck }; + + void setItemHeight(int h); + void setSelectionEnable(int en); #ifndef SWIG /* entryAdded: an entry was added *before* the given index. it's index is the given number. */ @@ -87,11 +91,12 @@ public: 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; + int m_selection_enabled; ePtr m_content; #endif