X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/7a8fff2da5f732bad0beaf934e7a20395b4921bd..a9f9792e9d271864182d32bfff58795690084cab:/lib/gui/elistbox.h diff --git a/lib/gui/elistbox.h b/lib/gui/elistbox.h index 08f80035..719b54b2 100644 --- a/lib/gui/elistbox.h +++ b/lib/gui/elistbox.h @@ -72,7 +72,8 @@ public: moveEnd, justCheck }; */ - + + int getCurrentIndex(); void moveSelection(int how); void moveSelectionTo(int index); @@ -97,7 +98,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);