X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/7a8fff2da5f732bad0beaf934e7a20395b4921bd..2c8c2343f6fe05e59a8633b24d565e0fff5c6a3d:/lib/gui/elistbox.h diff --git a/lib/gui/elistbox.h b/lib/gui/elistbox.h index 08f80035..df1c6915 100644 --- a/lib/gui/elistbox.h +++ b/lib/gui/elistbox.h @@ -4,6 +4,7 @@ #include #include +class eListbox; class eSlider; class iListboxContent: public iObject @@ -72,7 +73,8 @@ public: moveEnd, justCheck }; */ - + + int getCurrentIndex(); void moveSelection(int how); void moveSelectionTo(int index); @@ -97,7 +99,7 @@ public: /* entryChanged: the entry with the given index was changed and should be redrawn. */ void entryChanged(int index); /* the complete list changed. you should not attemp to keep the current index. */ - void entryReset(); + void entryReset(bool cursorHome=true); protected: int event(int event, void *data=0, void *data2=0);