1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-05 00:49:09 +02:00
- fixed several gcc warnings
- some work on JSON (const char* as input, no crash on missing value)
This commit is contained in:
Ivan Savenko
2011-09-23 15:58:18 +00:00
parent 750995f7f9
commit d113517db4
12 changed files with 147 additions and 146 deletions

View File

@ -59,17 +59,10 @@ void CButtonBase::update()
}
if (!keepFrame)
{
image->setFrame(newPos);
}
if (active)
{
if (parent)
parent->redraw();
else
redraw();
}
redraw();
}
void CButtonBase::addTextOverlay( const std::string &Text, EFonts font, SDL_Color color)