2014-08-04, 19:40
As the title, can anyone offer a suggestion to detect when the skin is transitioning between dialogs?
I've designed my skin so that dialogs always appear to take up the whole screen, rather than overlay on the main window. Primarily I've done this simply by including the background image, so that it covers whatever window is beneath. However, adding a fade-in/fade-out animation to the dialog means that, when going from one dialog to another (an obvious example being, one select dialog to another select dialog), the window underneath becomes visible during the transition which looks quite jarring.
What I'd like to do, therefore, is detect when transitioning between dialogs so that I don't do the fade-in/fade-out animation on those occasions.
What looked like the obvious solution - Window.Next(selectdialog) / Window.Previous(selectdialog) doesn't work. Presumably because they're dialogs and not windows, these never appear to become True.
Any suggestions for other ways I could detect this? Thanks
(BTW, developing against Helix alpha)
I've designed my skin so that dialogs always appear to take up the whole screen, rather than overlay on the main window. Primarily I've done this simply by including the background image, so that it covers whatever window is beneath. However, adding a fade-in/fade-out animation to the dialog means that, when going from one dialog to another (an obvious example being, one select dialog to another select dialog), the window underneath becomes visible during the transition which looks quite jarring.
What I'd like to do, therefore, is detect when transitioning between dialogs so that I don't do the fade-in/fade-out animation on those occasions.
What looked like the obvious solution - Window.Next(selectdialog) / Window.Previous(selectdialog) doesn't work. Presumably because they're dialogs and not windows, these never appear to become True.
Any suggestions for other ways I could detect this? Thanks
(BTW, developing against Helix alpha)