- Timestamp:
- May 20, 2006, 6:18:43 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell.cc
r7744 r7745 384 384 385 385 // redisplay the buffers 386 std::list<MultiLineText*>::iterator textIt; 387 388 // Give a Graphical Representation that no move is possible. 389 if (moves == 0) 390 { 391 int linePos = -1; 392 for (textIt = this->bufferText.begin(); textIt != this->bufferText.end(); ++textIt) 393 { 394 linePos += (*textIt)->getLineCount(); 395 (*textIt)->setRelCoor2D(this->calculateLinePosition(linePos)+ Vector2D(20,0)); 396 (*textIt)->setRelCoorSoft2D(this->calculateLinePosition(linePos), 10); 397 } 398 return; 399 } 400 401 // Move all the Lines. 386 402 int linePos = moves; 387 403 std::list<std::string>::const_iterator it = this->bufferIterator; 388 std::list<MultiLineText*>::iterator textIt;389 404 for (textIt = this->bufferText.begin(); textIt != this->bufferText.end(); ++textIt, ++it) 390 405 {
Note: See TracChangeset
for help on using the changeset viewer.