|
|
|
@ -67,6 +67,8 @@ DialogueWindow::DialogueWindow(WindowManager& parWindowManager)
|
|
|
|
|
|
|
|
|
|
getWidget(pDispositionBar, "Disposition");
|
|
|
|
|
getWidget(pDispositionText,"DispositionText");
|
|
|
|
|
|
|
|
|
|
static_cast<MyGUI::Window*>(mMainWidget)->eventWindowChangeCoord += MyGUI::newDelegate(this, &DialogueWindow::onWindowResize);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void DialogueWindow::onHistoryClicked(MyGUI::Widget* _sender)
|
|
|
|
@ -88,6 +90,11 @@ void DialogueWindow::onHistoryClicked(MyGUI::Widget* _sender)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void DialogueWindow::onWindowResize(MyGUI::Window* _sender)
|
|
|
|
|
{
|
|
|
|
|
topicsList->adjustSize();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void DialogueWindow::onMouseWheel(MyGUI::Widget* _sender, int _rel)
|
|
|
|
|
{
|
|
|
|
|
if (history->getVScrollPosition() - _rel*0.3 < 0)
|
|
|
|
|