1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-17 01:32:21 +02:00
- (linux) fixed video in campaigns menu
This commit is contained in:
Ivan Savenko
2011-07-22 23:34:15 +00:00
parent 35a528e062
commit 5d2f5c2e33
4 changed files with 13 additions and 23 deletions

View File

@ -65,8 +65,10 @@ void CButtonBase::update()
if (active)
{
showAll(screen);
showAll(screen2);//Any way to remove one of showAll()?
if (parent)
parent->redraw();
else
redraw();
}
}
@ -259,7 +261,6 @@ void AdventureMapButton::setImage(CAnimation* anim, bool playerColoredButton)
pos.w = image->pos.w;
pos.h = image->pos.h;
}
void AdventureMapButton::setPlayerColor(int player)
@ -268,11 +269,6 @@ void AdventureMapButton::setPlayerColor(int player)
image->playerColored(player);
}
void AdventureMapButton::show(SDL_Surface *to)
{
showAll(to);
}
void AdventureMapButton::showAll(SDL_Surface *to)
{
CIntObject::showAll(to);