Changeset 9869 in orxonox.OLD for trunk/src/lib/gui/gl/glgui_widget.cc
- Timestamp:
- Oct 3, 2006, 12:19:30 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/gui/gl/glgui_widget.cc
r9656 r9869 25 25 26 26 #include "loading/load_param.h" 27 28 /// TODO TAKE THIS OUT OF HERE29 27 #include "loading/resource_manager.h" 30 28 31 29 namespace OrxGui 32 30 { 33 31 ObjectListDefinition(GLGuiWidget); 34 32 /** 35 33 * @brief standard constructor … … 95 93 void GLGuiWidget::init() 96 94 { 97 this-> setClassID(CL_GLGUI_WIDGET, "GLGuiWidget");95 this->registerObject(this, GLGuiWidget::_objectList); 98 96 99 97 this->_focusable = false; … … 104 102 105 103 if(GLGuiWidget::_defaultFont == NULL) 106 GLGuiWidget::_defaultFont = new Font(Resource Manager::getInstance()->getDataDir() + "/fonts/final_frontier.ttf", 20);104 GLGuiWidget::_defaultFont = new Font(Resources::ResourceManager::getInstance()->mainGlobalPath().name() + "/fonts/final_frontier.ttf", 20); 107 105 108 106 this->_font = *GLGuiWidget::_defaultFont;
Note: See TracChangeset
for help on using the changeset viewer.