2015-09-11, 02:36
(2015-09-10, 21:15)Raytestrak Wrote: I'm still trying to figure out how to enable full screen fanart by pressing down twice in this view (again, like it was in Nox4). Once for per page scrolling, twice for full screen fanart. They say don't judge a book by it's cover, but I do sometimes judge a movie by it's backdrop
I was thinking about this and started trying things and what I came up with was adding a new custom window
"custom_1113_FullscreenFanart.xml"
Code:
<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="1113">
<defaultcontrol always="true">9013</defaultcontrol>
<onunload condition="Control.IsVisible(53)">SetFocus(53)</onunload>
<onunload condition="Control.IsVisible(57)">SetFocus(57)</onunload>
<controls>
<control type="button" id="9013">
<include>HiddenObject</include>
<onclick>Dialog.Close(1113)</onclick>
<onup>Dialog.Close(1113)</onup>
<ondown>Dialog.Close(1113)</ondown>
<onleft>Dialog.Close(1113)</onleft>
<onright>Dialog.Close(1113)</onright>
</control>
<control type="image">
<include>FullscreenDimensions</include>
<texture>$INFO[ListItem.Art(fanart)]</texture>
<animation effect="fade" time="600">WindowOpen</animation>
</control>
</controls>
</window>
Code:
ActivateWindow(1113)
It worked well for me while testing but not sure if this is the best way to go about it