aboutsummaryrefslogtreecommitdiff
path: root/gui/saveload-dialog.h
diff options
context:
space:
mode:
authorJohannes Schickel2012-09-26 02:45:34 +0200
committerJohannes Schickel2012-09-26 02:59:32 +0200
commitbc1743b225597715164e3d2701b2c4b5731415a4 (patch)
treeac3326bd50e9b8f1529479cca20843955881ca66 /gui/saveload-dialog.h
parent66fb399227acd92db3dc8d9ee193a41609cf3d39 (diff)
downloadscummvm-rg350-bc1743b225597715164e3d2701b2c4b5731415a4.tar.gz
scummvm-rg350-bc1743b225597715164e3d2701b2c4b5731415a4.tar.bz2
scummvm-rg350-bc1743b225597715164e3d2701b2c4b5731415a4.zip
GUI: Save/restore last scroll position in the list save/load dialog.
This should give a better user experience, since the user will not have to scroll back to where he was when he used the dialog last. Thanks to wjp for suggesting this.
Diffstat (limited to 'gui/saveload-dialog.h')
-rw-r--r--gui/saveload-dialog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/saveload-dialog.h b/gui/saveload-dialog.h
index 9d0350d69d..6f7d95f73f 100644
--- a/gui/saveload-dialog.h
+++ b/gui/saveload-dialog.h
@@ -103,6 +103,7 @@ public:
virtual SaveLoadChooserType getType() const { return kSaveLoadDialogList; }
#endif // !DISABLE_SAVELOADCHOOSER_GRID
+ virtual void open();
virtual void close();
private:
virtual int runIntern();