1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +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();
}
@ -4404,4 +4407,4 @@ CArtMerchantWindow::~CArtMerchantWindow(){}
void CArtMerchantWindow::activate() {}
void CArtMerchantWindow::deactivate() {}
void CArtMerchantWindow::show(SDL_Surface * to) {}
void CArtMerchantWindow::Buy() {}
void CArtMerchantWindow::Buy() {}