showcursor win32 only

This commit is contained in:
pierow 2018-08-01 01:29:11 -04:00
parent 22f6ab0c16
commit 4b8318cad1

View file

@ -138,7 +138,9 @@ void AvHPieMenuHandler::InternalClosePieMenu(void)
{ {
gHUD.GetManager().SetMouseVisibility(false); gHUD.GetManager().SetMouseVisibility(false);
//attempt at fixing OS cursor appearing over game's cursor //attempt at fixing OS cursor appearing over game's cursor
#ifdef WIN32
ShowCursor(TRUE); ShowCursor(TRUE);
#endif
} }
theMarineMenu->SetFadeState(false); theMarineMenu->SetFadeState(false);
@ -184,7 +186,9 @@ void AvHPieMenuHandler::OpenPieMenu(void)
{ {
gHUD.GetManager().SetMouseVisibility(true); gHUD.GetManager().SetMouseVisibility(true);
//attempt at fixing OS cursor appearing over game's cursor //attempt at fixing OS cursor appearing over game's cursor
#ifdef WIN32
ShowCursor(FALSE); ShowCursor(FALSE);
#endif
} }
gHUD.HideCrosshair(); gHUD.HideCrosshair();