Changeset 5121 in orxonox.OLD for trunk/src/util/shell.cc
- Timestamp:
- Aug 25, 2005, 1:26:57 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/shell.cc
r5120 r5121 158 158 if (this->inputLineText == NULL) 159 159 delete this->inputLineText; 160 this->inputLineText = TextEngine::getInstance()->createText("fonts/Aniron_Bold.ttf", this->textSize, TEXT_DYNAMIC, 255, 0, 0); 160 this->inputLineText = TextEngine::getInstance()->createText("fonts/Aniron_Bold.ttf", this->textSize, TEXT_DYNAMIC); 161 this->inputLineText->setColor(1, 0, 0); 161 162 this->inputLineText->setAlignment(TEXT_ALIGN_LEFT); 162 163 this->inputLineText->setText(NULL); … … 183 184 for (unsigned int i = 0; i < bufferDisplaySize; i++) 184 185 { 185 this->bufferText[i] = TextEngine::getInstance()->createText("fonts/Aniron_Bold.ttf", this->textSize, TEXT_DYNAMIC, 255, 0, 0); 186 this->bufferText[i] = TextEngine::getInstance()->createText("fonts/Aniron_Bold.ttf", this->textSize, TEXT_DYNAMIC); 187 this->bufferText[i]->setColor(1, 0, 0); 186 188 this->bufferText[i]->setAlignment(TEXT_ALIGN_LEFT); 187 189 this->bufferText[i]->setRelCoor2D(calculateLinePosition(i));
Note: See TracChangeset
for help on using the changeset viewer.