Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5157 in orxonox.OLD for trunk/src/util


Ignore:
Timestamp:
Sep 2, 2005, 6:05:36 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: shell faster/saver now, algorithms

File:
1 edited

Legend:

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

    r5154 r5157  
    165165  this->bufferIterator->lastElement();
    166166  for (int i = 0; i < this->bufferDisplaySize; i++)
    167     this->bufferText[i]->setText(this->bufferIterator->prevElement());
     167    this->bufferText[i]->setText(this->bufferIterator->prevElement(), true);
    168168}
    169169
     
    180180  this->setRelCoorSoft2D(0, -400, 1, 5);
    181181
     182  this->bufferIterator->lastElement();
     183  for (int i = 0; i < this->bufferDisplaySize; i++)
     184    this->bufferText[i]->setText(this->bufferIterator->prevElement(), false);
    182185}
    183186
     
    458461  delete this->inputLine;
    459462  this->inputLine = addCharLine;
    460   this->inputLineText->setText(inputLine);
     463  this->inputLineText->setText(inputLine, true);
    461464}
    462465
     
    479482  delete this->inputLine;
    480483  this->inputLine = removeCharLine;
    481   this->inputLineText->setText(inputLine);
     484  this->inputLineText->setText(inputLine, true);
    482485}
    483486
Note: See TracChangeset for help on using the changeset viewer.