[Scummvm-cvs-logs] CVS: scummvm/gui options.cpp,1.55,1.56

Max Horn fingolfin at users.sourceforge.net
Fri Aug 6 16:03:03 CEST 2004


Update of /cvsroot/scummvm/scummvm/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32640

Modified Files:
	options.cpp 
Log Message:
Make the global savepath button match the look & feel of the 'local' one; fix bug #916498

Index: options.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/options.cpp,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- options.cpp	6 Apr 2004 11:50:35 -0000	1.55
+++ options.cpp	6 Aug 2004 23:02:13 -0000	1.56
@@ -76,7 +76,6 @@
 	
 	if (_fullscreenCheckbox) {
 		_gfxPopUp->setSelected(0);
-		_gfxPopUp->setEnabled(false);
 
 		if (ConfMan.hasKey("gfx_mode", _domain)) {
 			const OSystem::GraphicsMode *gm = g_system->getSupportedGraphicsModes();
@@ -397,9 +396,8 @@
 
 #if !( defined(__DC__) || defined(__GP32__) )
 	// Save game path
-	new StaticTextWidget(tab, 5, yoffset + 2, 100, kLineHeight, "Savegame path: ", kTextAlignRight);
-	_savePath = new StaticTextWidget(tab, 105, yoffset + 2, 180, kLineHeight, "/foo/bar", kTextAlignLeft);
-	new ButtonWidget(tab, 105, yoffset + 14, 64, 16, "Choose...", kChooseSaveDirCmd, 0);
+	new ButtonWidget(tab, 5, yoffset, kButtonWidth + 14, 16, "Save Path: ", kChooseSaveDirCmd, 0);
+	_savePath = new StaticTextWidget(tab, 5 + kButtonWidth + 20, yoffset + 3, _w - (5 + kButtonWidth + 20) - 10, kLineHeight, "/foo/bar", kTextAlignLeft);
 #endif
 	// TODO: joystick setting
 





More information about the Scummvm-git-logs mailing list