Changeset 9546 in orxonox.OLD for branches/proxy/src/lib/gui/gl/glgui_handler.cc
- Timestamp:
- Jul 28, 2006, 11:13:00 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/gui/gl/glgui_handler.cc
r9240 r9546 28 28 #include "debug.h" 29 29 30 #include <cassert>31 32 30 33 31 /// TAKE THIS OUT OF HERE. … … 93 91 void GLGuiHandler::activate() 94 92 { 93 this->_resolution = Vector2D(GraphicsEngine::getInstance()->getResolutionX(), GraphicsEngine::getInstance()->getResolutionY()); 95 94 //EventHandler::getInstance()->pushState(ES_MENU); 96 95 … … 244 243 if (this->_cursor != NULL) 245 244 this->_cursor->setMaxBorders(Vector2D(event.resize.w, event.resize.h)); 246 break; 245 this->_resolution = Vector2D(event.resize.w, event.resize.h); 246 break; 247 247 248 case SDLK_TAB: 248 249 if (event.bPressed)
Note: See TracChangeset
for help on using the changeset viewer.