aboutsummaryrefslogtreecommitdiff
path: root/gui/saveload-dialog.cpp
AgeCommit message (Collapse)Author
2016-09-18CLOUD: Change the cloud icon to be updated by the main threadBastien Bouclet
The cloud manager registers itself as an event source as a mean to be polled periodically by the GUI or engine code. The periodical polling is used to update the OSD icon indicating background sync activity. Also move the cloud icon from ConnectionManager to CloudManager, allowing to decouple icon handling from network connections updates.
2016-09-18ALL: Homogeneize use of 'saved game' in messagesThierry Crozat
2016-08-24ALL: Make simpleSaveNames() a MetaEngineFeatureAlexander Tkachev
Added it into hasFeature() of all engines which returned `true` in simpleSaveNames() before. As mentioned in #788, SCI is not always using simple names, so it doesn't have such feature now.
2016-08-24GUI: JANITORIAL: Fix code formattingEugene Sandulenko
2016-08-24JANITORIAL: Remove spaces at the end of the lineAlexander Tkachev
I knew there were some, but I wanted to fix them once, instead of doing it all the time.
2016-08-24CLOUD: Replace USE_CLOUD with USE_LIBCURLAlexander Tkachev
In most cases that's the right one to check. USE_CLOUD is defined when either USE_LIBCURL or USE_SDL_NET are, which means if there is no curl, USE_CLOUD still could be defined and linking errors would appear.
2016-08-24CLOUD: Fix SaveLoadDialogs to check USE_CLOUDAlexander Tkachev
Linking was failing when disabling curl support.
2016-08-24GUI: Fix SaveLoadDialogAlexander Tkachev
It was SavesSyncRequest's target even when closed.
2016-08-24GUI: Disable "Run in background" for "difficult" enginesAlexander Tkachev
During saves sync slots of MetaEngines with simpleSaveNames() == false would not be available at all. User would have to wait for sync to complete.
2016-08-24ALL: Add MetaEngine::simpleSaveNames()Alexander Tkachev
Engines with "simple" savenames would support "Run in background" in save/load dialog and gradual save slots unlocking. Other engines save/load feature would be locked until save sync is over.
2016-08-24GUI: Fix SaveLoadCloudSyncProgressDialogAlexander Tkachev
* disabled progress bar; * removed syncTarget segfault; * fixed grid slots disabling for "locked" slots.
2016-08-24GUI: Add SaveLoadCloudSyncProgress in ScummModern themeAlexander Tkachev
ScummVM would probably crash when using a theme without SaveLoadCloudSyncProgress dialog described.
2016-08-24GUI: Update SaveLoadCloudSyncProgressDialogAlexander Tkachev
So now it's centered, includes a progress bar and two labels instead of one. Works fine in 320x200.
2016-08-24GUI: Show "locked" saves during syncAlexander Tkachev
2016-08-24CLOUD: Add SaveLoadCloudSyncProgress enumAlexander Tkachev
It's common for Save/Load dialogs and SavesSyncRequest.
2016-08-24CLOUD: Make DefaultSaveFileManager ignore syncing filesAlexander Tkachev
MetaEngines don't get "locked" files in the list, so won't try to open these. Save/Load dialog updates save list every time SavesSyncRequest tells it to.
2016-08-24CLOUD: Make ProgressDialog display downloading progressAlexander Tkachev
2016-08-24CLOUD: Fix SaveLoadCloudSyncProgressDialog crashAlexander Tkachev
It's closing itself a bit later now.
2016-08-24GUI: Add SaveLoadCloudSyncProgressDialogAlexander Tkachev
It's shown by SaveLoadChooserDialog when files are downloaded and some save slots are locked. One can hide that dialog to interact with non-locked slots or cancel saves sync completely. Dialog's label shows current sync progress. Dialog automatically hides itself when all files are downloaded. WARNING: right now that results in a crash!
2016-08-24CLOUD: Make Save/Load dialog start saves syncAlexander Tkachev
It also shows a "sync disabled" icon in case it has a savepath override.
2016-06-01GUI: Cleanup class initializationEugene Sandulenko
2014-12-29GUI: Do not overwrite write protected saves in grid based save dialog.Johannes Schickel
This fixes overwriting of, for example, autosaves in the grid based save load dialog when using "New Save".
2014-08-22GUI: s/savegame/saved game/Ben Castricum
Makes it consistant throughout the GUI
2014-02-18GUI: Make GPL headers consistent in themselves.Johannes Schickel
2013-07-15GUI: Mark some intentional fall throughs in switches.Johannes Schickel
All of these are for handling kCloseCmd.
2012-10-28GUI: Check for screen changes in the saveload chooser selection code.Johannes Schickel
2012-09-26GUI: Support for page restoring for non-continuous save lists in the grid ↵Johannes Schickel
chooser.
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26GUI: Fix maximum page number calculation in grid chooser.Johannes Schickel
This avoids a off by one error in some cases.
2012-09-26GUI: Save/restore last scroll position in the list save/load dialog.Johannes Schickel
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.
2012-09-26GUI: Save/restore the last used page in the grid save/load dialog.Johannes Schickel
This allows opening the dialog on (nearly) the same page again as when it was closed. Sadly due to the different number of entries in the save and load version this is not always exactly the same page as before. Same goes for resolution changes. Thanks to wjp for suggesting this.
2012-08-14GUI: Fix out-of-bounds in new chooser.Alyssa Milburn
2012-08-12GUI: Mark parts of the grid based chooser layout code as HACK.Johannes Schickel
2012-08-12GUI: Remove left-over code from theme based fill color in thumbnail display.Johannes Schickel
2012-08-12Merge pull request #260 from lordhoto/new-chooser.Johannes Schickel
New save/load chooser Conflicts: gui/saveload.cpp
2012-07-25GUI: Use "OK" instead of "Ok" in SavenameDialog.Johannes Schickel
2012-07-24GUI: Add possibility to disable the grid based chooser via ↵Johannes Schickel
DISABLE_SAVELOADCHOOSER_GRID.
2012-07-24GUI: Strip a trailing whitespace.Johannes Schickel
2012-07-24GUI: Remove unecessary explicit GUI namespace uses.Johannes Schickel
2012-07-24GUI: Remove an unnecessary empty line.Johannes Schickel
2012-07-24GUI: Also disable the switch-to-list button in the choosers, when the grid ↵Johannes Schickel
one isn't available.
2012-07-24GUI: Rename LoadChooserThumbnailed to SaveLoadChooserGrid.Johannes Schickel
2012-07-24GUI: Implement saving in the grid based save/load chooser.Johannes Schickel
2012-07-09GUI: Fix missing button background in grid based chooser.Johannes Schickel
Now the thumbnail button and the descriptions are sub widgets of the container widget.
2012-07-01GUI: Fix small memory leak in grid based load chooser.Johannes Schickel
2012-07-01GUI: Add page display to grid based load chooser.Johannes Schickel
2012-07-01GUI: Clean up save load chooser selection code.Johannes Schickel
2012-07-01GUI: Automatically switch to list based save/load chooser when changing ↵Johannes Schickel
resolution below 640x400.
2012-06-29GUI: Use a slightly bigger vertical spacing in the thumbnail load chooser.Johannes Schickel
2012-06-29GUI: Use a black rect when no thumbnail is available in the thumbnail load ↵Johannes Schickel
chooser.