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:
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();
|
||||
}
|
||||
|
||||
|
||||
@ -4404,4 +4407,4 @@ CArtMerchantWindow::~CArtMerchantWindow(){}
|
||||
void CArtMerchantWindow::activate() {}
|
||||
void CArtMerchantWindow::deactivate() {}
|
||||
void CArtMerchantWindow::show(SDL_Surface * to) {}
|
||||
void CArtMerchantWindow::Buy() {}
|
||||
void CArtMerchantWindow::Buy() {}
|
||||
|
Loading…
Reference in New Issue
Block a user