Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5076 in orxonox.OLD for trunk/src/util/shell.cc


Ignore:
Timestamp:
Aug 19, 2005, 3:52:54 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: minor

File:
1 edited

Legend:

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

    r5075 r5076  
    7878    Text* newText = TextEngine::getInstance()->createText("fonts/earth.ttf", 10, TEXT_DYNAMIC, 0, 255, 0);
    7979    newText->setAlignment(TEXT_ALIGN_LEFT);
    80     newText->setPosition2D(5, 5);
     80    newText->setPosition2D(5, 500);
    8181    newText->setText("");
    8282    this->bufferText->add(newText);
     
    137137void Shell::addBufferLine(const char* line, va_list arguments)
    138138{
    139   vsprintf(this->bufferArray, line, arguments);
    140 
    141   char* newLine = new char[strlen(this->bufferArray)+1];
    142   strcpy(newLine, this->bufferArray);
     139//  vsprintf(this->bufferArray, line, arguments);
     140
     141//  char* newLine = new char[strlen(this->bufferArray)+1];
     142//  strcpy(newLine, this->bufferArray);
    143143
    144144//  this->buffer->add(newLine);
     
    150150//    }
    151151
    152   this->bufferText->firstElement()->setText(newLine);
     152//  this->bufferText->firstElement()->setText(newLine);
    153153}
    154154
Note: See TracChangeset for help on using the changeset viewer.