1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-17 01:32:21 +02:00

- recursive directory parser for LodHandler - for creature abilities and new main menu images

- fixed screen updating on closing window
- minor fixes
This commit is contained in:
Ivan Savenko
2011-04-23 10:27:44 +00:00
parent 7e9033c44f
commit 61af4c745e
14 changed files with 125 additions and 43 deletions

View File

@ -54,8 +54,11 @@ void CButtonBase::update()
else if (newPos == 1) newPos = 0;
}
image->setFrame(newPos);
showAll(screen);
showAll(screen2);//Any way to remove one of showAll()?
if (active)
{
showAll(screen);
showAll(screen2);//Any way to remove one of showAll()?
}
}
void CButtonBase::addTextOverlay( const std::string &Text, EFonts font, SDL_Color color)