diff options
author | Max Horn | 2002-10-19 01:22:41 +0000 |
---|---|---|
committer | Max Horn | 2002-10-19 01:22:41 +0000 |
commit | 7198181b093732592d678fc95c64698fe0470715 (patch) | |
tree | de94c24039a14ae90c575440fb47824ff887fd56 /gui/ListWidget.h | |
parent | ee13e1638980f8503e8ea04cd676acf1f41197fc (diff) | |
download | scummvm-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.h | 5 |
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); |