diff options
| author | Johannes Schickel | 2009-08-20 09:23:31 +0000 | 
|---|---|---|
| committer | Johannes Schickel | 2009-08-20 09:23:31 +0000 | 
| commit | 7c77e2b03a29f8d11ff0a48e4da02ab697334f1e (patch) | |
| tree | 8d677067b0f9242199012d0643df30a119eb9b16 /gui/saveload.cpp | |
| parent | b5ce08b2c680b6b9411a40efbeda95d7f8af6143 (diff) | |
| download | scummvm-rg350-7c77e2b03a29f8d11ff0a48e4da02ab697334f1e.tar.gz scummvm-rg350-7c77e2b03a29f8d11ff0a48e4da02ab697334f1e.tar.bz2 scummvm-rg350-7c77e2b03a29f8d11ff0a48e4da02ab697334f1e.zip | |
Renamed ScummSaveLoad GUI dialog config entry to SaveLoadChooser. (Also bumped theme version along with it)
svn-id: r43553
Diffstat (limited to 'gui/saveload.cpp')
| -rw-r--r-- | gui/saveload.cpp | 16 | 
1 files changed, 8 insertions, 8 deletions
| diff --git a/gui/saveload.cpp b/gui/saveload.cpp index dc1b1b4b45..381abcdc83 100644 --- a/gui/saveload.cpp +++ b/gui/saveload.cpp @@ -42,15 +42,15 @@ enum {  };  SaveLoadChooser::SaveLoadChooser(const String &title, const String &buttonLabel) -	: Dialog("ScummSaveLoad"), _delSupport(0), _list(0), _chooseButton(0), _deleteButton(0), _gfxWidget(0)  { +	: Dialog("SaveLoadChooser"), _delSupport(0), _list(0), _chooseButton(0), _deleteButton(0), _gfxWidget(0)  {  	_delSupport = _metaInfoSupport = _thumbnailSupport = _saveDateSupport = _playTimeSupport = false;  	_backgroundType = ThemeEngine::kDialogBackgroundSpecial; -	new StaticTextWidget(this, "ScummSaveLoad.Title", title); +	new StaticTextWidget(this, "SaveLoadChooser.Title", title);  	// Add choice list -	_list = new GUI::ListWidget(this, "ScummSaveLoad.List"); +	_list = new GUI::ListWidget(this, "SaveLoadChooser.List");  	_list->setNumberingMode(GUI::kListNumberingZero);  	setSaveMode(false); @@ -61,11 +61,11 @@ SaveLoadChooser::SaveLoadChooser(const String &title, const String &buttonLabel)  	_playtime = new StaticTextWidget(this, 0, 0, 10, 10, "No playtime saved", Graphics::kTextAlignCenter);  	// Buttons -	new GUI::ButtonWidget(this, "ScummSaveLoad.Cancel", "Cancel", kCloseCmd, 0); -	_chooseButton = new GUI::ButtonWidget(this, "ScummSaveLoad.Choose", buttonLabel, kChooseCmd, 0); +	new GUI::ButtonWidget(this, "SaveLoadChooser.Cancel", "Cancel", kCloseCmd, 0); +	_chooseButton = new GUI::ButtonWidget(this, "SaveLoadChooser.Choose", buttonLabel, kChooseCmd, 0);  	_chooseButton->setEnabled(false); -	_deleteButton = new GUI::ButtonWidget(this, "ScummSaveLoad.Delete", "Delete", kDelCmd, 0); +	_deleteButton = new GUI::ButtonWidget(this, "SaveLoadChooser.Delete", "Delete", kDelCmd, 0);  	_deleteButton->setEnabled(false);  	_delSupport = _metaInfoSupport = _thumbnailSupport = false; @@ -172,11 +172,11 @@ void SaveLoadChooser::handleCommand(CommandSender *sender, uint32 cmd, uint32 da  }  void SaveLoadChooser::reflowLayout() { -	if (g_gui.xmlEval()->getVar("Globals.ScummSaveLoad.ExtInfo.Visible") == 1 && _thumbnailSupport) { +	if (g_gui.xmlEval()->getVar("Globals.SaveLoadChooser.ExtInfo.Visible") == 1 && _thumbnailSupport) {  		int16 x, y;  		uint16 w, h; -		if (!g_gui.xmlEval()->getWidgetData("ScummSaveLoad.Thumbnail", x, y, w, h)) +		if (!g_gui.xmlEval()->getWidgetData("SaveLoadChooser.Thumbnail", x, y, w, h))  			error("Error when loading position data for Save/Load Thumbnails.");  		int thumbW = kThumbnailWidth; | 
