aboutsummaryrefslogtreecommitdiff
path: root/gui/ListWidget.h
diff options
context:
space:
mode:
authorMax Horn2002-10-19 01:22:41 +0000
committerMax Horn2002-10-19 01:22:41 +0000
commit7198181b093732592d678fc95c64698fe0470715 (patch)
treede94c24039a14ae90c575440fb47824ff887fd56 /gui/ListWidget.h
parentee13e1638980f8503e8ea04cd676acf1f41197fc (diff)
downloadscummvm-rg350-7198181b093732592d678fc95c64698fe0470715.tar.gz
scummvm-rg350-7198181b093732592d678fc95c64698fe0470715.tar.bz2
scummvm-rg350-7198181b093732592d678fc95c64698fe0470715.zip
reworked the way the save/load dialog works. yup, still not perfect, but we're hopefully getting closer. Feedback welcome
svn-id: r5189
Diffstat (limited to 'gui/ListWidget.h')
-rw-r--r--gui/ListWidget.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gui/ListWidget.h b/gui/ListWidget.h
index 59af0ba1b2..3140218df0 100644
--- a/gui/ListWidget.h
+++ b/gui/ListWidget.h
@@ -58,7 +58,7 @@ public:
ListWidget(Dialog *boss, int x, int y, int w, int h);
virtual ~ListWidget();
- void setList(const StringList& list) { _list = list; scrollBarRecalc(); }
+ void setList(const StringList& list);
const StringList& getList() const { return _list; }
int getSelected() const { return _selectedItem; }
const String& getSelectedString() const { return _list[_selectedItem]; }
@@ -76,6 +76,9 @@ public:
virtual bool wantsFocus() { return true; };
void scrollBarRecalc();
+
+ void startEditMode();
+ void abortEditMode();
protected:
void drawWidget(bool hilite);