Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5344 in orxonox.OLD for trunk/src/lib/shell/shell.cc


Ignore:
Timestamp:
Oct 10, 2005, 12:39:21 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: new Way to load and unload Text

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/shell/shell.cc

    r5335 r5344  
    2222
    2323
    24 #include "text_engine.h"
     24#include "text.h"
    2525#include "list.h"
    2626#include "graphics_engine.h"
     
    225225  for (unsigned int i = 0; i < bufferDisplaySize; i++)
    226226  {
    227     bufferText[i] = TextEngine::getInstance()->createText(this->fontFile, this->textSize, TEXT_RENDER_DYNAMIC);
     227    bufferText[i] = new Text(this->fontFile, this->textSize, TEXT_RENDER_DYNAMIC);
    228228    bufferText[i]->setColor(1, 0, 0);
    229229    bufferText[i]->setAlignment(TEXT_ALIGN_LEFT);
Note: See TracChangeset for help on using the changeset viewer.