mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +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);
|
||||
|
||||
//Window *exclStack = theDial->GetWindow();
|
||||
//wm->SwapExclusiveWindow(exclStack); // Push exclusive window for zooms
|
||||
Window *exclStack = theDial->GetWindow();
|
||||
wm->SwapExclusiveWindow(exclStack); // Push exclusive window for zooms
|
||||
|
||||
if (doZooms)
|
||||
wm->FlickerWindowIn(theDial->GetWindow(), 64);
|
||||
@@ -546,6 +546,8 @@ void GetHighScoreName (short place)
|
||||
if (doZooms)
|
||||
wm->FlickerWindowOut(theDial->GetWindow(), 64);
|
||||
|
||||
wm->SwapExclusiveWindow(exclStack); // Pop exclusive window
|
||||
|
||||
theDial->Destroy();
|
||||
}
|
||||
|
||||
@@ -633,6 +635,9 @@ void GetHighScoreBanner (void)
|
||||
|
||||
UpdateBannerDialog(theDial);
|
||||
|
||||
Window *exclStack = theDial->GetWindow();
|
||||
wm->SwapExclusiveWindow(exclStack); // Push exclusive window for zooms
|
||||
|
||||
if (doZooms)
|
||||
wm->FlickerWindowIn(theDial->GetWindow(), 64);
|
||||
|
||||
@@ -651,6 +656,8 @@ void GetHighScoreBanner (void)
|
||||
if (doZooms)
|
||||
wm->FlickerWindowOut(theDial->GetWindow(), 64);
|
||||
|
||||
wm->SwapExclusiveWindow(exclStack); // Pop exclusive window
|
||||
|
||||
theDial->Destroy();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user