[Scummvm-cvs-logs] SF.net SVN: scummvm:[33776] scummvm/branches/gsoc2008-vkeybd/backends/ vkeybd

kenny-d at users.sourceforge.net kenny-d at users.sourceforge.net
Mon Aug 11 15:12:36 CEST 2008


Revision: 33776
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33776&view=rev
Author:   kenny-d
Date:     2008-08-11 13:12:32 +0000 (Mon, 11 Aug 2008)

Log Message:
-----------
* Updated virtual keyboard pack

Modified Paths:
--------------
    scummvm/branches/gsoc2008-vkeybd/backends/vkeybd/virtual-keyboard-gui.cpp
    scummvm/branches/gsoc2008-vkeybd/backends/vkeybd/vkeybd.zip

Modified: scummvm/branches/gsoc2008-vkeybd/backends/vkeybd/virtual-keyboard-gui.cpp
===================================================================
--- scummvm/branches/gsoc2008-vkeybd/backends/vkeybd/virtual-keyboard-gui.cpp	2008-08-11 11:55:10 UTC (rev 33775)
+++ scummvm/branches/gsoc2008-vkeybd/backends/vkeybd/virtual-keyboard-gui.cpp	2008-08-11 13:12:32 UTC (rev 33776)
@@ -65,7 +65,7 @@
 			return;
 	}
 	_dispX = r.left;
-	_dispY = r.top + (_dispFont->getFontHeight() - r.height() + 1) / 2;
+	_dispY = r.top + (r.height() + 1 - _dispFont->getFontHeight()) / 2;
 	_dispSurface.free();
 	_dispSurface.create(r.width() + 1, _dispFont->getFontHeight(), sizeof(OverlayColor));
 	_dispI = 0;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list