git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add a list to the wizard
[enigma2.git]
/
lib
/
gui
/
elistbox.h
diff --git
a/lib/gui/elistbox.h
b/lib/gui/elistbox.h
index 29349cbb2779255213d0ef8b0775891b67dbf8ad..60429d2e49ac5c55872c80c4ee80d86738d15eac 100644
(file)
--- a/
lib/gui/elistbox.h
+++ b/
lib/gui/elistbox.h
@@
-63,6
+63,7
@@
public:
}; */
void moveSelection(int how);
}; */
void moveSelection(int how);
+ void moveSelectionTo(int index);
enum ListboxActions {
moveUp,
enum ListboxActions {
moveUp,
@@
-75,6
+76,7
@@
public:
};
void setItemHeight(int h);
};
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. */
#ifndef SWIG
/* entryAdded: an entry was added *before* the given index. it's index is the given number. */
@@
-89,11
+91,12
@@
public:
protected:
int event(int event, void *data=0, void *data2=0);
void recalcSize();
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;
private:
int m_top, m_selected;
int m_itemheight;
int m_items_per_page;
+ int m_selection_enabled;
ePtr<iListboxContent> m_content;
#endif
ePtr<iListboxContent> m_content;
#endif