Changeset 7689 for code/trunk/src/orxonox/overlays
- Timestamp:
- Dec 1, 2010, 3:00:19 PM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/menu merged: 7587-7588,7594,7607-7608,7649,7663,7670-7671,7687
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/overlays/InGameConsole.cc
r7401 r7689 49 49 #include "core/ConfigValueIncludes.h" 50 50 #include "core/command/ConsoleCommand.h" 51 #include "core/GUIManager.h" 51 52 #include "core/input/InputManager.h" 52 53 #include "core/input/InputState.h" 53 54 #include "core/input/InputBuffer.h" 55 #include "core/LuaState.h" 54 56 55 57 namespace orxonox … … 119 121 { 120 122 if (this->consoleOverlayTextAreas_[i]) 121 Ogre::OverlayManager::getSingleton().destroyOverlayElement(this->consoleOverlayTextAreas_[i]);123 Ogre::OverlayManager::getSingleton().destroyOverlayElement(this->consoleOverlayTextAreas_[i]); 122 124 this->consoleOverlayTextAreas_[i] = 0; 123 125 } … … 495 497 } 496 498 else 497 this->inputWindowStart_ = 0;499 this->inputWindowStart_ = 0; 498 500 this->displayedText_ = output; 499 501 this->consoleOverlayTextAreas_[index]->setCaption(multi_cast<Ogre::DisplayString>(output)); … … 532 534 { 533 535 this->bActive_ = false; 536 GUIManager::getInstance().getLuaState()->doString("inGameConsoleClosed()"); // Notify the SheetManager in lua, that the console has been closed. 534 537 InputManager::getInstance().leaveState("console"); 535 538 this->shell_->unregisterListener(this); … … 608 611 /*static*/ void InGameConsole::closeConsole() 609 612 { 613 GUIManager::getInstance().getLuaState()->doString("inGameConsoleClosed()"); // Notify the SheetManager in lua, that the console has been closed, but not by ESC. 610 614 InGameConsole::getInstance().deactivate(); 611 615 } 616 612 617 }
Note: See TracChangeset
for help on using the changeset viewer.