diff options
| author | Max Horn | 2002-11-21 04:02:10 +0000 | 
|---|---|---|
| committer | Max Horn | 2002-11-21 04:02:10 +0000 | 
| commit | c5c1091613249d30259ca0746d9d64160487348f (patch) | |
| tree | 52845096883c7b319d349bf06248f434d72eabc2 | |
| parent | e5257ac4fe67adbda53fae9daff9a85a5e347fd7 (diff) | |
| download | scummvm-rg350-c5c1091613249d30259ca0746d9d64160487348f.tar.gz scummvm-rg350-c5c1091613249d30259ca0746d9d64160487348f.tar.bz2 scummvm-rg350-c5c1091613249d30259ca0746d9d64160487348f.zip  | |
added _configureButton stub
svn-id: r5652
| -rw-r--r-- | gui/launcher.cpp | 6 | ||||
| -rw-r--r-- | gui/launcher.h | 1 | 
2 files changed, 5 insertions, 2 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index 6b4e7cfd11..bf0087835a 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -142,8 +142,8 @@ LauncherDialog::LauncherDialog(NewGui *gui, GameDetector &detector)  	// Two more buttons directly below the list box  	bw = new ButtonWidget(this, 10, 144, 80, 16, "Add Game...", kAddGameCmd, 'A');  //	bw->setEnabled(false); -	bw = new ButtonWidget(this, 320-90, 144, 80, 16, "Configure...", kConfigureGameCmd, 'C'); -	bw->setEnabled(false); +	_configureButton = new ButtonWidget(this, 320-90, 144, 80, 16, "Configure...", kConfigureGameCmd, 'C'); +	_configureButton->setEnabled(false);  	// Create file browser dialog  	_browser = new BrowserDialog(_gui); @@ -330,6 +330,8 @@ void LauncherDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 dat  	case kListSelectionChangedCmd:  		_startButton->setEnabled(data >= 0);  		_startButton->draw(); +		//_configureButton->setEnabled(data >= 0); +		//_configureButton->draw();  		break;  	case kQuitCmd:  		g_system->quit(); diff --git a/gui/launcher.h b/gui/launcher.h index 7bbf223a29..a044f6c658 100644 --- a/gui/launcher.h +++ b/gui/launcher.h @@ -41,6 +41,7 @@ public:  protected:  	ListWidget		*_list;  	Widget			*_startButton; +	Widget			*_configureButton;  	StringList		_filenames;  	GameDetector 	&_detector;  	BrowserDialog	*_browser;  | 
