Changeset 8797 for code/branches/output/src/orxonox/overlays
- Timestamp:
- Jul 30, 2011, 10:39:33 AM (13 years ago)
- Location:
- code/branches/output/src/orxonox/overlays
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/orxonox/overlays/InGameConsole.cc
r8795 r8797 299 299 300 300 /** 301 @brief Called if only the last output-line has changed. 302 */ 303 void InGameConsole::onlyLastLineChanged() 304 { 301 @brief Called if a new output-line was added. 302 */ 303 void InGameConsole::lineAdded() 304 { 305 this->numLinesShifted_ = 0; 306 this->shiftLines(); 305 307 if (LINES > 1) 306 308 this->print(this->shell_->getNewestLineIterator()->first, this->shell_->getNewestLineIterator()->second, 1); 307 }308 309 /**310 @brief Called if a new output-line was added.311 */312 void InGameConsole::lineAdded()313 {314 this->numLinesShifted_ = 0;315 this->shiftLines();316 this->onlyLastLineChanged();317 309 } 318 310 -
code/branches/output/src/orxonox/overlays/InGameConsole.h
r7284 r8797 64 64 65 65 void linesChanged(); 66 void onlyLastLineChanged();67 66 void lineAdded(); 68 67 void inputChanged();
Note: See TracChangeset
for help on using the changeset viewer.