<?xml version="1.0" encoding="UTF-8"?>
<window>
    <onload>Dialog.Close(fullscreeninfo,true)</onload>
    <onload>Dialog.Close(videoosd,true)</onload>
    <animation effect="fade" end="100" time="600">WindowOpen</animation>
    <controls>
        <control type="image">
            <height>550</height>
            <texture>fenlight_common/dim-top.png</texture>
        </control>
        <control type="group">
            <left>20</left>
            <top>20</top>
            <height>160</height>
            <control type="image">
                <left>-1</left>
                <top>-1</top>
                <width>286</width>
                <height>162</height>
                <texture border="16" colordiffuse="FFCCCCCC">fenlight_common/dialog.png</texture>
            </control>
            <control type="image">
                <width>284</width>
                <texture colordiffuse="FF000000" diffuse="fenlight_diffuse/landscape_w284_h160.png">fenlight_common/white.png</texture>
            </control>
            <control type="image">
                <width>284</width>
                <aspectratio>scale</aspectratio>
                <texture diffuse="fenlight_diffuse/landscape_w284_h160.png">$INFO[Window.Property(thumb)]</texture>
                <animation effect="fade" end="65">WindowOpen</animation>
            </control>
            <control type="image">
                <top>80</top>
                <left>72</left>
                <width>140</width>
                <texture>$INFO[Window.Property(clearlogo)]</texture>
                <aspectratio>keep</aspectratio>
                <animation effect="fade" end="80">WindowOpen</animation>
            </control>
            <!-- Episode Status -->
            <control type="group">
                <visible>String.IsEqual(Window.Property(mode),next_episode)</visible>
                <visible>!String.IsEmpty(Window.Property(episode_status.highlight))</visible>
                <control type="image">
                    <top>8</top>
                    <left>0</left>
                    <width>284</width>
                    <height>35</height>
                    <texture colordiffuse="Window.Property(episode_status.highlight)">fenlight_common/white.png</texture>
                </control>
                <control type="label">
                    <top>8</top>
                    <left>0</left>
                    <width>284</width>
                    <height>35</height>
                    <align>center</align>
                    <font>font10</font> <!-- FENLIGHT_21 -->
                    <textcolor>FFFFFFFF</textcolor>
                    <label>[B]$INFO[Window.Property(episode_status.label)][/B]</label>
                </control>
            </control>
            <!-- Logo -->
            <control type="image">
                <left>305</left>
                <top>0</top>
                <width>45</width>
                <height>45</height>
                <align>left</align>
                <aligny>top</aligny>
                <aspectratio aligny="top">keep</aspectratio>
                <texture colordiffuse="FFB7B4BB">$INFO[Window(10000).Property(fenlight.addon_icon_mini)]</texture>
            </control>


            <!-- HEADING - NEXT EPISODE -->
            <control type="group">
                <visible>String.IsEqual(Window.Property(mode),next_episode)</visible>
                <left>275</left>
                <!-- Autoplay -->
                <control type="label">
                    <visible>String.IsEmpty(Window.Property(pause_timer))</visible>
                    <left>80</left>
                    <aligny>center</aligny>
                    <height>40</height>
                    <label>[B]Next Episode In $INFO[Player.TimeRemaining()][/B]</label>
                    <font>font14</font> <!-- FENLIGHT_33 -->
                    <textcolor>FFB7B4BB</textcolor>
                </control>
                <!-- Waiting For Input -->
                <control type="label">
                    <visible>!String.IsEmpty(Window.Property(pause_timer))</visible>
                    <left>80</left>
                    <aligny>center</aligny>
                    <height>40</height>
                    <label>[B]Waiting for Input $INFO[Window.Property(pause_timer)][/B]</label>
                    <font>font14</font> <!-- FENLIGHT_33 -->
                    <textcolor>FFB7B4BB</textcolor>
                </control>
            </control>
            <!-- HEADING - STINGER -->
            <control type="group">
                <visible>String.IsEqual(Window.Property(mode),stinger)</visible>
                <left>275</left>
                <!-- Attention!!! -->
                <control type="label">
                    <left>80</left>
                    <aligny>center</aligny>
                    <height>40</height>
                    <label>[B]Keep Watching During Credits....[/B]</label>
                    <font>font14</font> <!-- FENLIGHT_33 -->
                    <textcolor>FFB7B4BB</textcolor>
                </control>
            </control>


            <!-- BODY - NEXT EPISODE -->
            <control type="group">
                <visible>String.IsEqual(Window.Property(mode),next_episode)</visible>
                <left>275</left>
                <!-- Text Body -->
                <control type="label">
                    <top>45</top>
                    <left>35</left>
                    <height>35</height>
                    <width>auto</width>
                    <align>center</align>
                    <aligny>center</aligny>
                    <label>$INFO[Window.Property(episode_label)]</label>
                    <font>font10</font> <!-- FENLIGHT_21 -->
                    <textcolor>FFB7B4BB</textcolor>
                </control>
                <!-- Buttons -->
                <control type="grouplist">
                    <left>30</left>
                    <top>100</top>
                    <width>530</width>
                    <height>70</height>
                    <orientation>horizontal</orientation>
                    <itemgap>10</itemgap>
                    <control type="button" id="10">
                        <description>Close</description>
                        <width>160</width>
                        <height>60</height>
                        <onleft>12</onleft>
                        <onright>11</onright>
                        <label>Close</label>
                        <font>font10</font> <!-- FENLIGHT_21 -->
                        <textcolor>FFCCCCCC</textcolor>
                        <focusedcolor>FF1F2020</focusedcolor>
                        <texturefocus colordiffuse="FFCCCCCC" border="30">fenlight_common/circle.png</texturefocus>
                        <texturenofocus colordiffuse="FF4a4347" border="30">fenlight_common/circle.png</texturenofocus>
                        <align>center</align>
                        <aligny>center</aligny>
                    </control>
                    <control type="button" id="11">
                        <description>Play</description>
                        <width>160</width>
                        <height>60</height>
                        <onleft>10</onleft>
                        <onright>12</onright>
                        <label>Play</label>
                        <font>font10</font> <!-- FENLIGHT_21 -->
                        <textcolor>FFCCCCCC</textcolor>
                        <focusedcolor>FF1F2020</focusedcolor>
                        <texturefocus colordiffuse="FFCCCCCC" border="30">fenlight_common/circle.png</texturefocus>
                        <texturenofocus colordiffuse="FF4a4347" border="30">fenlight_common/circle.png</texturenofocus>
                        <align>center</align>
                        <aligny>center</aligny>
                    </control>
                    <control type="button" id="12">
                        <description>Cancel</description>
                        <width>160</width>
                        <height>60</height>
                        <onleft>11</onleft>
                        <onright>10</onright>
                        <label>Cancel</label>
                        <font>font10</font> <!-- FENLIGHT_21 -->
                        <textcolor>FFCCCCCC</textcolor>
                        <focusedcolor>FF1F2020</focusedcolor>
                        <texturefocus colordiffuse="FFCCCCCC" border="30">fenlight_common/circle.png</texturefocus>
                        <texturenofocus colordiffuse="FF4a4347" border="30">fenlight_common/circle.png</texturenofocus>
                        <align>center</align>
                        <aligny>center</aligny>
                    </control>
                </control>
            </control>
            <!-- BODY - STINGER -->
            <control type="group">
                <visible>String.IsEqual(Window.Property(mode),stinger)</visible>
                <left>275</left>
                <control type="group">
                    <left>20</left>
                    <top>60</top>
                    <control type="image" id="200">
                        <top>-60</top>
                        <left>18</left>
                        <width>40</width>
                        <align>left</align>
                        <aligny>bottom</aligny>
                        <aspectratio>keep</aspectratio>
                        <colordiffuse>$INFO[Window.Property(color_during)]</colordiffuse>
                    </control>
                    <control type="label">
                        <left>70</left>
                        <description>During Credits Stinger</description>
                        <height>40</height>
                        <width>auto</width>
                        <align>left</align>
                        <aligny>center</aligny>
                        <label>During Credits Stinger</label>
                        <font>font14</font> <!-- FENLIGHT_33 -->
                        <textcolor>FFB7B4BB</textcolor>
                    </control>
                    <control type="image" id="201">
                        <top>40</top>
                        <left>18</left>
                        <width>40</width>
                        <align>left</align>
                        <aligny>bottom</aligny>
                        <aspectratio>keep</aspectratio>
                        <colordiffuse>$INFO[Window.Property(color_after)]</colordiffuse>
                    </control>
                    <control type="label">
                        <left>70</left>
                        <description>After Credits Stinger</description>
                        <top>50</top>
                        <height>40</height>
                        <width>auto</width>
                        <align>left</align>
                        <aligny>center</aligny>
                        <label>After Credits Stinger</label>
                        <font>font14</font> <!-- FENLIGHT_33 -->
                        <textcolor>FFB7B4BB</textcolor>
                    </control>
                </control>
            </control>
        </control>
    </controls>
</window>
