1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Fix not responding statusbar

This commit is contained in:
Dydzio
2018-10-29 14:12:07 +01:00
parent 0f1e853b4a
commit 22ce535a2a
6 changed files with 65 additions and 56 deletions

View File

@@ -238,3 +238,17 @@ void CWindowObject::clickRight(tribool down, bool previousState)
close();
CCS->curh->show();
}
CStatusbarWindow::CStatusbarWindow(int options, std::string imageName, Point centerAt) : CWindowObject(options, imageName, centerAt)
{
}
CStatusbarWindow::CStatusbarWindow(int options, std::string imageName) : CWindowObject(options, imageName)
{
}
void CStatusbarWindow::activate()
{
CIntObject::activate();
GH.statusbar = statusbar;
}