Changeset 5124 in orxonox.OLD for trunk/src/util
- Timestamp:
- Aug 25, 2005, 2:46:34 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/shell.cc
r5123 r5124 163 163 this->inputLineText->setText(NULL); 164 164 this->inputLineText->setParent2D(this); 165 this->inputLineText->setRelCoor2D(5, (this->textSize + this->lineSpacing)*this->bufferDisplaySize );165 this->inputLineText->setRelCoor2D(5, (this->textSize + this->lineSpacing)*this->bufferDisplaySize + this->textSize); 166 166 167 167 this->setBufferDisplaySize(this->bufferDisplaySize); … … 746 746 Vector Shell::calculateLinePosition(unsigned int lineNumber) 747 747 { 748 return Vector(5, (this->textSize + this->lineSpacing)*(this->bufferDisplaySize - lineNumber -1) , 0);748 return Vector(5, (this->textSize + this->lineSpacing)*(this->bufferDisplaySize - lineNumber -1) + this->textSize, 0); 749 749 } 750 750
Note: See TracChangeset
for help on using the changeset viewer.