1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-05 00:49:09 +02:00

- fixed text duplication in choice windows

- fixed compile issues
- added unused and untested for now CComponentBox
This commit is contained in:
Ivan Savenko
2012-07-02 21:51:48 +00:00
parent 0e12876ecc
commit 235cf458d7
8 changed files with 243 additions and 92 deletions

View File

@ -791,7 +791,7 @@ void CInfoBar::CVisibleInfo::loadComponent(const Component compToDisplay, std::s
comp->moveTo(Point(pos.x+52, pos.y+54));
new CTextBox(message, Rect(8, 8, 164, 50), 0, FONT_SMALL, CENTER, Colors::Cornsilk);
new CLabel(91, 158, FONT_SMALL, CENTER, Colors::Cornsilk, comp->subtitle);
new CLabel(91, 158, FONT_SMALL, CENTER, Colors::Cornsilk, comp->getSubtitle());
}
void CInfoBar::CVisibleInfo::updateEnemyTurn(double progress)