Posts: 1,332
Joined: Jan 2016
Reputation:
54
You could make your custom window as a normal window or make the dialog Fullscreen.... Then just add your image control or includes for ur background. The animation you will just have to play with or if the skin already has a include windowopen include window close the you can copy those to your custom window.
Posts: 357
Joined: Oct 2014
Reputation:
40
2017-01-18, 13:03
(This post was last modified: 2017-01-18, 13:09 by Rufoo.)
I've looked at the files. I don't use Arctic, so answer me two questions, and I may able to give you a solution. I realise this is a modded version of the original window, so tell me, does the normal one exhibit any kind of behavior when you leave the menu (such as does it animate)? And second how do you typically leave it? (ie: do you press a direction or just simply back out)
EDIT: Reason for asking is because they reference several ids which are not present in those files. Most of them movement based. As I don't have the skin, I don't know what those controls are paired with those ids.
Posts: 357
Joined: Oct 2014
Reputation:
40
2017-01-18, 22:43
(This post was last modified: 2017-01-18, 22:45 by Rufoo.)
That video helps a lot. So it would appear the main controls (ie: your gaming browser) should animate when that window becomes active. If you watch the first one, you see the elements slide to the left and right sides with a fade when the window becomes active.
I'm guessing it means the answer lies somewhere not in the window, but in the view.
Look for animations in the original view that are conditional either based on a control being visible (such as 9000) or a ControlGroup.HasFocus or Window.IsVisible(xxxx). The effects of these animations will likely contain a slide and a fade. More than likely there may be two or more of these.
I'll look more into it tonight but from what my eyes see, when that window opens, the browsing controls should slide and fade out of the way, the animation likely being a reversible="true" one when the condition of the window being open / control or controlgroup having focus so when you leave it simply reverses the process. My eyes tell me your view doesn't have these conditions set for your new window. But again, I'll need to get into the view itself to probably zero in on what it is.
Logic being - In view > Press Info > View slides out of way info is presented > Back out > Process is reversed. Likely going to be in the view itself.
Posts: 357
Joined: Oct 2014
Reputation:
40
Open your includes.xml for this skin, or trace where the following include is found <include>Animation.Common</include>. Based on the structure of that file, my presumption would be this animation has a condition attached to it, if it does, I imagine the condition would just require expanding to also have your custom window id.
You also have doubled up your string in the oninfo condition and the ,left at the end is redundant this is also true in the visible flags.
Posts: 214
Joined: Sep 2015
Reputation:
11
KODser
Senior Member
Posts: 214
Rufoo there is no other adjective, you are god!. It worked!
What do you mean with your second phrase? The "left" is irrelevant and the condition on the oninfo too?