[Orxonox-commit 1585] r6303 - code/branches/presentation2/src/libraries/core

rgrieder at orxonox.net rgrieder at orxonox.net
Wed Dec 9 20:44:41 CET 2009


Author: rgrieder
Date: 2009-12-09 20:44:41 +0100 (Wed, 09 Dec 2009)
New Revision: 6303

Modified:
   code/branches/presentation2/src/libraries/core/GUIManager.cc
   code/branches/presentation2/src/libraries/core/GUIManager.h
Log:
Removed deprecated method in GUIManager.

Modified: code/branches/presentation2/src/libraries/core/GUIManager.cc
===================================================================
--- code/branches/presentation2/src/libraries/core/GUIManager.cc	2009-12-09 19:44:17 UTC (rev 6302)
+++ code/branches/presentation2/src/libraries/core/GUIManager.cc	2009-12-09 19:44:41 UTC (rev 6303)
@@ -240,20 +240,6 @@
         GUIManager::getInstance().executeCode("hideGUI(\"" + name + "\")");
     }
 
-    void GUIManager::toggleIngameGUI()
-    {
-        if ( this->bShowIngameGUI_==false )
-        {
-            GUIManager::showGUI("InGameMenu");
-            this->bShowIngameGUI_ = true;
-        }
-        else
-        {
-            GUIManager::hideGUI("InGameMenu");
-            this->bShowIngameGUI_ = false;
-        }
-    }
-    
     void GUIManager::keyESC()
     {
         this->executeCode("keyESC()");

Modified: code/branches/presentation2/src/libraries/core/GUIManager.h
===================================================================
--- code/branches/presentation2/src/libraries/core/GUIManager.h	2009-12-09 19:44:17 UTC (rev 6302)
+++ code/branches/presentation2/src/libraries/core/GUIManager.h	2009-12-09 19:44:41 UTC (rev 6303)
@@ -70,7 +70,6 @@
         static void showGUI(const std::string& name, bool hidePrevious=false, bool showCursor=true);
         void showGUIExtra(const std::string& name, const std::string& ptr, bool hidePrevious=false, bool showCursor=true);
         static void hideGUI(const std::string& name);
-        void toggleIngameGUI();
         void keyESC();
         void setBackground(const std::string& name);
 




More information about the Orxonox-commit mailing list