[Scummvm-cvs-logs] CVS: scummvm/scumm dialogs.cpp,1.143,1.144 dialogs.h,1.53,1.54

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Thu Jun 2 05:30:22 CEST 2005


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

Modified Files:
	dialogs.cpp dialogs.h 
Log Message:
The GUI has reached the point where I think it's safe to begin removing the
old auto-scaling hack. Removed wantsScaling(), USE_AUTO_SCALING,
_scaleFactor and _scaleEnable.

Also removed drawBitmap() since we no longer use bitmaps for widget
decorations.


Index: dialogs.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/dialogs.cpp,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -d -r1.143 -r1.144
--- dialogs.cpp	27 May 2005 13:14:39 -0000	1.143
+++ dialogs.cpp	2 Jun 2005 12:29:01 -0000	1.144
@@ -280,8 +280,6 @@
 	const String &getResultString() const;	
 	void setList(const StringList& list);
 	int runModal();
-
-	bool wantsScaling() const { return false; }
 };
 
 SaveLoadChooserEx::SaveLoadChooserEx(const String &title, const String &buttonLabel, bool saveMode, ScummEngine *engine)

Index: dialogs.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/dialogs.h,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- dialogs.h	27 May 2005 13:14:39 -0000	1.53
+++ dialogs.h	2 Jun 2005 12:29:01 -0000	1.54
@@ -72,9 +72,6 @@
 	~MainMenuDialog();
 	virtual void handleCommand(GUI::CommandSender *sender, uint32 cmd, uint32 data);
 
-	// disable scaling
-	bool wantsScaling() const { return false; }
-
 protected:
 	GUI::Dialog		*_aboutDialog;
 	GUI::Dialog		*_optionsDialog;





More information about the Scummvm-git-logs mailing list