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:
parent
336fee48aa
commit
063bb9dc47
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user