Changeset 5076 in orxonox.OLD for trunk/src/util
- Timestamp:
- Aug 19, 2005, 3:52:54 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/shell.cc
r5075 r5076 78 78 Text* newText = TextEngine::getInstance()->createText("fonts/earth.ttf", 10, TEXT_DYNAMIC, 0, 255, 0); 79 79 newText->setAlignment(TEXT_ALIGN_LEFT); 80 newText->setPosition2D(5, 5 );80 newText->setPosition2D(5, 500); 81 81 newText->setText(""); 82 82 this->bufferText->add(newText); … … 137 137 void Shell::addBufferLine(const char* line, va_list arguments) 138 138 { 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); 143 143 144 144 // this->buffer->add(newLine); … … 150 150 // } 151 151 152 this->bufferText->firstElement()->setText(newLine);152 // this->bufferText->firstElement()->setText(newLine); 153 153 } 154 154
Note: See TracChangeset
for help on using the changeset viewer.