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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user