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

centralize cursor drawing

This commit is contained in:
AlexVinS
2014-07-03 15:10:01 +04:00
parent 022f71c26e
commit e521e6687a
4 changed files with 19 additions and 13 deletions

View File

@@ -223,6 +223,14 @@ void CCursorHandler::centerCursor()
SDL_EventState(SDL_MOUSEMOTION, SDL_ENABLE);
}
void CCursorHandler::render()
{
drawWithScreenRestore();
CSDL_Ext::update(screen);
drawRestored();
}
CCursorHandler::~CCursorHandler()
{
if(help)