1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

Hide the mouse cursor while displaying a popup window.

This commit is contained in:
Frank Zago 2009-10-22 02:41:09 +00:00
parent 336fee48aa
commit 063bb9dc47

View File

@ -3421,6 +3421,7 @@ void CRClickPopupInt::show(SDL_Surface * to)
CRClickPopupInt::CRClickPopupInt( IShowActivable *our, bool deleteInt )
{
CGI->curh->hide();
inner = our;
delInner = deleteInt;
}
@ -3434,6 +3435,8 @@ CRClickPopupInt::~CRClickPopupInt()
if(delInner)
delete inner;
CGI->curh->show();
}