[Scummvm-cvs-logs] CVS: scummvm/backends/sdl sdl-common.h,1.75,1.76

Max Horn fingolfin at users.sourceforge.net
Mon Mar 14 00:25:07 CET 2005


Update of /cvsroot/scummvm/scummvm/backends/sdl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2229/backends/sdl

Modified Files:
	sdl-common.h 
Log Message:
Fix method names to comply to our coding standards

Index: sdl-common.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/sdl-common.h,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -d -r1.75 -r1.76
--- sdl-common.h	9 Mar 2005 23:07:28 -0000	1.75
+++ sdl-common.h	14 Mar 2005 08:24:39 -0000	1.76
@@ -144,10 +144,10 @@
 	virtual int16 getWidth();
 	virtual int16 getOverlayHeight()  { return _overlayHeight; }
 	virtual int16 getOverlayWidth()   { return _overlayWidth; }
-	virtual int ScreenToOverlayX(int x) { return x * _overlayScale; }
-	virtual int ScreenToOverlayY(int y) { return y * _overlayScale; }
-	virtual int OverlayToScreenX(int x) { return x / _overlayScale; }
-	virtual int OverlayToScreenY(int y) { return y / _overlayScale; }
+	virtual int screenToOverlayX(int x) { return x * _overlayScale; }
+	virtual int screenToOverlayY(int y) { return y * _overlayScale; }
+	virtual int overlayToScreenX(int x) { return x / _overlayScale; }
+	virtual int overlayToScreenY(int y) { return y / _overlayScale; }
 
 	// Methods that convert RGB to/from colors suitable for the overlay.
 	virtual OverlayColor RGBToColor(uint8 r, uint8 g, uint8 b);





More information about the Scummvm-git-logs mailing list