[Orxonox-commit 3305] r7994 - code/branches/usability/src/libraries/core

rgrieder at orxonox.net rgrieder at orxonox.net
Sun Feb 27 19:01:07 CET 2011


Author: rgrieder
Date: 2011-02-27 19:01:07 +0100 (Sun, 27 Feb 2011)
New Revision: 7994

Modified:
   code/branches/usability/src/libraries/core/GUIManager.cc
Log:
Fixed msvc warnings and a typo.

Modified: code/branches/usability/src/libraries/core/GUIManager.cc
===================================================================
--- code/branches/usability/src/libraries/core/GUIManager.cc	2011-02-27 17:26:37 UTC (rev 7993)
+++ code/branches/usability/src/libraries/core/GUIManager.cc	2011-02-27 18:01:07 UTC (rev 7994)
@@ -509,11 +509,11 @@
     */
     void GUIManager::windowResized(unsigned int newWidth, unsigned int newHeight)
     {
-        this->guiRenderer_->setDisplaySize(CEGUI::Size(newWidth, newHeight));
+        this->guiRenderer_->setDisplaySize(CEGUI::Size((float)newWidth, (float)newHeight));
     }
 
     /**
-        @brief Notify CEGUI if the windows loses the focus (stops higlight of menu items, etc).
+        @brief Notify CEGUI if the windows loses the focus (stops highlighting of menu items, etc).
     */
     void GUIManager::windowFocusChanged(bool bFocus)
     {




More information about the Orxonox-commit mailing list