Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8982 in orxonox.OLD for trunk/src/lib


Ignore:
Timestamp:
Jul 1, 2006, 3:28:54 PM (18 years ago)
Author:
bensch
Message:

font-loading hack, until fonts are real resources, and can be loaded as such

File:
1 edited

Legend:

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

    r8769 r8982  
    2525
    2626#include "loading/load_param.h"
     27
     28/// TODO TAKE THIS OUT OF HERE
     29#include "loading/resource_manager.h"
    2730
    2831namespace OrxGui
     
    98101
    99102
    100     this->_font = Font("/home/bensch/svn/orxonox/data/fonts/final_frontier.ttf", 20);
     103    this->_font = Font(ResourceManager::getInstance()->getDataDir() + "/fonts/final_frontier.ttf", 20);
    101104    this->_font.debug();
    102105    this->resetStyle();
Note: See TracChangeset for help on using the changeset viewer.