diff options
author | Max Horn | 2003-11-28 21:56:14 +0000 |
---|---|---|
committer | Max Horn | 2003-11-28 21:56:14 +0000 |
commit | 54aa33310d1dbd9f04e2ede970d8e17200798000 (patch) | |
tree | f0759afc13ec3d4d569fe2c2272dd748a665b843 /gui/chooser.h | |
parent | 8a6b0e2e1837711d06e0ed66913f340d8d923bb3 (diff) | |
download | scummvm-rg350-54aa33310d1dbd9f04e2ede970d8e17200798000.tar.gz scummvm-rg350-54aa33310d1dbd9f04e2ede970d8e17200798000.tar.bz2 scummvm-rg350-54aa33310d1dbd9f04e2ede970d8e17200798000.zip |
reuse SaveLoadChooser in main dialog -> this means the SaveLoadChooser remembers the scroll position -> improved user experience
svn-id: r11415
Diffstat (limited to 'gui/chooser.h')
-rw-r--r-- | gui/chooser.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/chooser.h b/gui/chooser.h index e1d8311f07..bf8732be91 100644 --- a/gui/chooser.h +++ b/gui/chooser.h @@ -42,7 +42,9 @@ protected: ButtonWidget *_chooseButton; public: - ChooserDialog(const String &title, const StringList &list, const String &buttonLabel = "Choose", int height = 140); + ChooserDialog(const String &title, const String &buttonLabel = "Choose", int height = 140); + + void setList(const StringList& list); virtual void handleCommand(CommandSender *sender, uint32 cmd, uint32 data); }; |