[Orxonox-commit 1260] r5978 - code/trunk/src/modules/overlays

dafrick at orxonox.net dafrick at orxonox.net
Wed Oct 21 13:47:12 CEST 2009


Author: dafrick
Date: 2009-10-21 13:47:12 +0200 (Wed, 21 Oct 2009)
New Revision: 5978

Modified:
   code/trunk/src/modules/overlays/GUIOverlay.cc
Log:
GUIOverlay is more talkative, resp. it tells you now, whether it is showing or hiding a GUI.

Modified: code/trunk/src/modules/overlays/GUIOverlay.cc
===================================================================
--- code/trunk/src/modules/overlays/GUIOverlay.cc	2009-10-21 11:45:59 UTC (rev 5977)
+++ code/trunk/src/modules/overlays/GUIOverlay.cc	2009-10-21 11:47:12 UTC (rev 5978)
@@ -74,12 +74,15 @@
             GUIManager::getInstance().executeCode("showCursor()");
             InputManager::getInstance().enterState("guiMouseOnly");
             GUIManager::getInstance().executeCode("showGUI(\"" + this->guiName_ + "\", " + str + ")");
+
+            COUT(3) << "Showing GUI " << this->guiName_ << std::endl;
         }
         else
         {
             GUIManager::getInstance().executeCode("hideGUI(\"" + this->guiName_ + "\")");
             GUIManager::getInstance().executeCode("hideCursor()");
             InputManager::getInstance().leaveState("guiMouseOnly");
+            COUT(3) << "Hiding GUI " << this->guiName_ << std::endl;
         }
     }
 




More information about the Orxonox-commit mailing list