diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-11-30 14:15:56 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-11-30 14:15:56 +0000 |
| commit | 494169d25068e3d3dd2dcc8b37b42d32df6935e7 (patch) | |
| tree | 7252c705e1887ded09184f318335650886e93c64 /lib/gui | |
| parent | b81011256e7383001bd35d09a25325e98d3bfa81 (diff) | |
| download | enigma2-494169d25068e3d3dd2dcc8b37b42d32df6935e7.tar.gz enigma2-494169d25068e3d3dd2dcc8b37b42d32df6935e7.zip | |
jumping to an entry beginning with a character nearly works now
Diffstat (limited to 'lib/gui')
| -rw-r--r-- | lib/gui/elistbox.cpp | 6 | ||||
| -rw-r--r-- | lib/gui/elistbox.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lib/gui/elistbox.cpp b/lib/gui/elistbox.cpp index 28d220a2..873cc937 100644 --- a/lib/gui/elistbox.cpp +++ b/lib/gui/elistbox.cpp @@ -121,6 +121,12 @@ void eListbox::moveSelection(int dir) } } +void eListbox::moveSelectionTo(int index) +{ + printf("Moving to listbox-entry with index %d\n", index); + // TODO: implement it +} + int eListbox::event(int event, void *data, void *data2) { switch (event) diff --git a/lib/gui/elistbox.h b/lib/gui/elistbox.h index a7ed637d..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, |
