| 122 | } |
| 123 | |
| 124 | void Console::addToConsole(const MyGUI::UString& _line) |
| 125 | { |
| 126 | if (mListHistory->getCaption().empty()) |
| 127 | mListHistory->addText(_line); |
| 128 | else |
| 129 | mListHistory->addText("\n" + _line); |
| 130 | |
| 131 | //mListHistory->setTextCursor(0); |
| 132 | mListHistory->setTextSelection(mListHistory->getTextLength(), mListHistory->getTextLength()); |
| 133 | } |
| 134 | |
| 135 | void Console::clearConsole() |
| 136 | { |
no test coverage detected