Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9869 in orxonox.OLD for trunk/src/lib/gui/gl/glgui_widget.cc


Ignore:
Timestamp:
Oct 3, 2006, 12:19:30 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/gui/gl/glgui_widget.cc

    r9656 r9869  
    2525
    2626#include "loading/load_param.h"
    27 
    28 /// TODO TAKE THIS OUT OF HERE
    2927#include "loading/resource_manager.h"
    3028
    3129namespace OrxGui
    3230{
    33 
     31  ObjectListDefinition(GLGuiWidget);
    3432  /**
    3533   * @brief standard constructor
     
    9593  void GLGuiWidget::init()
    9694  {
    97     this->setClassID(CL_GLGUI_WIDGET, "GLGuiWidget");
     95    this->registerObject(this, GLGuiWidget::_objectList);
    9896
    9997    this->_focusable = false;
     
    104102
    105103    if(GLGuiWidget::_defaultFont == NULL)
    106       GLGuiWidget::_defaultFont = new Font(ResourceManager::getInstance()->getDataDir() + "/fonts/final_frontier.ttf", 20);
     104      GLGuiWidget::_defaultFont = new Font(Resources::ResourceManager::getInstance()->mainGlobalPath().name() + "/fonts/final_frontier.ttf", 20);
    107105
    108106    this->_font = *GLGuiWidget::_defaultFont;
Note: See TracChangeset for help on using the changeset viewer.