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:
parent
bc51ba5a38
commit
62946cc79d
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
Loading…
Reference in a new issue