1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 08:23:53 +00:00

can now clear text.

This commit is contained in:
gugus 2011-11-28 17:00:32 +01:00
parent bc51ba5a38
commit 62946cc79d

View file

@ -42,11 +42,12 @@ void MWGui::JournalWindow::onWindowResize(MyGUI::Window* window)
void MWGui::JournalWindow::displayLeftText(std::string text)
{
mLeftTextWidget->removeAllRenderItems();
mLeftTextWidget->eraseText(0,mLeftTextWidget->getTextLength());
mLeftTextWidget->addText(text);
}
void MWGui::JournalWindow::displayRightText(std::string text)
{
mRightTextWidget->eraseText(0,mRightTextWidget->getTextLength());
mRightTextWidget->addText(text);
}