mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Use exclusive stack to keep darken during flicker
This commit is contained in:
@@ -525,8 +525,8 @@ void GetHighScoreName (short place)
|
|||||||
|
|
||||||
UpdateNameDialog(theDial);
|
UpdateNameDialog(theDial);
|
||||||
|
|
||||||
//Window *exclStack = theDial->GetWindow();
|
Window *exclStack = theDial->GetWindow();
|
||||||
//wm->SwapExclusiveWindow(exclStack); // Push exclusive window for zooms
|
wm->SwapExclusiveWindow(exclStack); // Push exclusive window for zooms
|
||||||
|
|
||||||
if (doZooms)
|
if (doZooms)
|
||||||
wm->FlickerWindowIn(theDial->GetWindow(), 64);
|
wm->FlickerWindowIn(theDial->GetWindow(), 64);
|
||||||
@@ -546,6 +546,8 @@ void GetHighScoreName (short place)
|
|||||||
if (doZooms)
|
if (doZooms)
|
||||||
wm->FlickerWindowOut(theDial->GetWindow(), 64);
|
wm->FlickerWindowOut(theDial->GetWindow(), 64);
|
||||||
|
|
||||||
|
wm->SwapExclusiveWindow(exclStack); // Pop exclusive window
|
||||||
|
|
||||||
theDial->Destroy();
|
theDial->Destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -633,6 +635,9 @@ void GetHighScoreBanner (void)
|
|||||||
|
|
||||||
UpdateBannerDialog(theDial);
|
UpdateBannerDialog(theDial);
|
||||||
|
|
||||||
|
Window *exclStack = theDial->GetWindow();
|
||||||
|
wm->SwapExclusiveWindow(exclStack); // Push exclusive window for zooms
|
||||||
|
|
||||||
if (doZooms)
|
if (doZooms)
|
||||||
wm->FlickerWindowIn(theDial->GetWindow(), 64);
|
wm->FlickerWindowIn(theDial->GetWindow(), 64);
|
||||||
|
|
||||||
@@ -651,6 +656,8 @@ void GetHighScoreBanner (void)
|
|||||||
if (doZooms)
|
if (doZooms)
|
||||||
wm->FlickerWindowOut(theDial->GetWindow(), 64);
|
wm->FlickerWindowOut(theDial->GetWindow(), 64);
|
||||||
|
|
||||||
|
wm->SwapExclusiveWindow(exclStack); // Pop exclusive window
|
||||||
|
|
||||||
theDial->Destroy();
|
theDial->Destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user