Changeset 5247 in orxonox.OLD for trunk/src/lib/shell
- Timestamp:
- Sep 24, 2005, 9:27:48 PM (19 years ago)
- Location:
- trunk/src/lib/shell
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell.cc
r5246 r5247 109 109 bufferIT->lastElement(); 110 110 for (int i = 0; i < this->bufferDisplaySize; i++) 111 this->bufferText[i]->setText(bufferIT->prevElement(), true); 111 { 112 this->bufferText[i]->setText(bufferIT->getCurrent(), true); 113 bufferIT->prevStep(); 114 } 112 115 delete bufferIT; 113 116 } … … 128 131 bufferIT->lastElement(); 129 132 for (int i = 0; i < this->bufferDisplaySize; i++) 130 this->bufferText[i]->setText(bufferIT->prevElement(), false); 133 { 134 this->bufferText[i]->setText(bufferIT->getCurrent(), true); 135 bufferIT->prevStep(); 136 } 131 137 delete bufferIT; 132 138 } -
trunk/src/lib/shell/shell.h
r5246 r5247 18 18 class Text; 19 19 class ShellInput; 20 class ShellCommandBase;21 template<class T> class tList;22 20 template<class T> class tIterator; 23 21 … … 94 92 Text** bufferText; //!< A list of stored bufferTexts for the display of the buffer. 95 93 int bufferOffset; //!< how many lines from the bottom up we display the Buffer. 94 tIterator<char>* bufferIterator; //!< used to move through and print the Buffer 96 95 }; 97 96
Note: See TracChangeset
for help on using the changeset viewer.