<?xml version="1.0" encoding="UTF-8"?>
<window>
    <!-- Default focus na seznam filmů -->
    <defaultcontrol>100</defaultcontrol>
    <onload>Control.SetFocus(100)</onload>
    <animation effect="slide" start="0,1080" end="0,0" time="400" tween="cubic" easing="out">WindowOpen</animation>
    <animation effect="slide" start="0,0" end="0,1080" time="400" tween="cubic" easing="out">WindowClose</animation>
    <controls>
        <!-- Fanart pozadí -->
        <control type="image">
            <left>0</left>
            <top>0</top>
            <width>1920</width>
            <height>1080</height>
            <texture background="true">$INFO[Window.Property(WCS.MyList.Fanart)]</texture>
            <aspectratio>scale</aspectratio>
        </control>
        <!-- Ztmavení pozadí -->
        <control type="image">
            <left>0</left>
            <top>0</top>
            <width>1920</width>
            <height>1080</height>
            <texture colordiffuse="A0000000">special://home/addons/plugin.video.milionar/resources/media/white.png</texture>
        </control>

        <!-- Oddělovací čára -->
        <control type="image">
            <left>0</left><top>154</top><width>1920</width><height>2</height>
            <texture colordiffuse="40FFFFFF">special://home/addons/plugin.video.milionar/resources/media/white.png</texture>
            <visible>String.IsEqual(Window.Property(CurrentSection),movies)</visible>
        </control>

        <!-- Oddělovací čára -->
        <control type="image">
            <left>0</left><top>576</top><width>1920</width><height>2</height>
            <texture colordiffuse="40FFFFFF">special://home/addons/plugin.video.milionar/resources/media/white.png</texture>
            <visible>String.IsEqual(Window.Property(CurrentSection),movies)</visible>
        </control>

        <!-- Průhledné pozadí pod sekci Filmy -->
        <control type="image">
                <left>0</left>
                <top>156</top>
                <width>1920</width>
                <height>420</height>
                <texture colordiffuse="90000000">special://home/addons/plugin.video.milionar/resources/media/white.png</texture>
                <visible>String.IsEqual(Window.Property(CurrentSection),movies)</visible>
        </control>

        <!-- Oddělovací čára -->
        <control type="image">
            <left>0</left><top>624</top><width>1920</width><height>2</height>
            <texture colordiffuse="40FFFFFF">special://home/addons/plugin.video.milionar/resources/media/white.png</texture>
            <visible>String.IsEqual(Window.Property(CurrentSection),series)</visible>
        </control>

        <!-- Oddělovací čára -->
        <control type="image">
            <left>0</left><top>1046</top><width>1920</width><height>2</height>
            <texture colordiffuse="40FFFFFF">special://home/addons/plugin.video.milionar/resources/media/white.png</texture>
            <visible>String.IsEqual(Window.Property(CurrentSection),series)</visible>
        </control>

        <!-- Průhledné pozadí pod sekci Seriály -->
        <control type="image">
                <left>0</left>
                <top>626</top>
                <width>1920</width>
                <height>420</height>
                <texture colordiffuse="90000000">special://home/addons/plugin.video.milionar/resources/media/white.png</texture>
                <visible>String.IsEqual(Window.Property(CurrentSection),series)</visible>
        </control>

        <!-- Nadpis dialogu -->
        <control type="label">
            <left>50</left>
            <top>10</top>
            <width>1820</width>
            <height>60</height>
            <font>font60</font>
            <textcolor>white</textcolor>
            <shadowcolor>black</shadowcolor>
            <align>center</align>
            <label>$INFO[Window.Property(DialogTitle)]</label>
        </control>
        
        <!-- Dynamický header s informacemi o aktuální položce -->
        <control type="group" id="dynamic_header">
            <left>50</left>
            <top>40</top>
            <width>1820</width>
            <height>80</height>
            <visible>!String.IsEmpty(Window.Property(WCS.MyList.CurrentMetadata))</visible>
            
            <!-- Název aktuální položky - SKRYTÝ -->
            <control type="label">
                <left>0</left>
                <top>0</top>
                <width>1820</width>
                <height>40</height>
                <font>font40</font>
                <textcolor>white</textcolor>
                <shadowcolor>black</shadowcolor>
                <align>center</align>
                <label>$INFO[Window.Property(WCS.MyList.CurrentTitle)]</label>
                <visible>false</visible>
            </control>
            
            <!-- Metadata aktuální položky (rok, žánr, hodnocení) - VIDITELNÉ -->
            <control type="label">
                <left>0</left>
                <top>50</top>
                <width>1820</width>
                <height>30</height>
                <font>font20</font>
                <textcolor>CCCCCCCC</textcolor>
                <shadowcolor>black</shadowcolor>
                <align>center</align>
                <label>$INFO[Window.Property(WCS.MyList.CurrentMetadata)]</label>
            </control>
        </control>
        
        <!-- Sekce Filmy -->
        <control type="group" id="movies_section">
            <left>50</left>
            <top>160</top>
            <width>1820</width>
            <height>400</height>
            
            <!-- Nadpis sekce Filmy -->
            <control type="group">
                <left>0</left>
                <top>0</top>
                <width>1820</width>
                <height>50</height>
                <!-- Ikona filmů -->
                <control type="image">
                    <left>0</left>
                    <top>0</top>
                    <width>50</width>
                    <height>50</height>
                    <texture>DefaultMovies.png</texture>
                </control>
                <!-- Text nadpisu -->
                <control type="label">
                    <left>60</left>
                    <top>5</top>
                    <width>1760</width>
                    <height>40</height>
                    <font>font30</font>
                    <textcolor>white</textcolor>
                    <shadowcolor>black</shadowcolor>
                    <label>$INFO[Window.Property(MoviesSectionTitle)]</label>
                </control>
            </control>
            
            <!-- Seznam filmů -->
            <control type="list" id="100">
                <left>0</left>
                <top>60</top>
                <width>1820</width>
                <height>350</height>
                <onup>200</onup>
                <ondown>200</ondown>
                <onleft>100</onleft>
                <onright>100</onright>
                <orientation>horizontal</orientation>
                <scrolltime>200</scrolltime>
                <itemgap>10</itemgap>
                <itemlayout height="350" width="250">
                    <control type="group">
                        <left>0</left>
                        <top>0</top>
                        <!-- Poster filmu -->
                        <control type="image">
                            <left>0</left>
                            <top>0</top>
                            <width>250</width>
                            <height>330</height>
                            <texture background="true">$INFO[ListItem.Art(poster)]</texture>
                            <aspectratio>keep</aspectratio>
                            <bordertexture border="3" colordiffuse="40000000">special://home/addons/plugin.video.milionar/resources/media/white.png</bordertexture>
                            <bordersize>3</bordersize>
                        </control>
                    </control>
                </itemlayout>
                <focusedlayout height="350" width="250">
                    <control type="group">
                        <left>0</left>
                        <top>0</top>
                        
                        <!-- TYP 1: Normální kontrolka (vždy viditelná) -->
                        <control type="image">
                            <left>0</left>
                            <top>0</top>
                            <width>250</width>
                            <height>330</height>
                            <texture background="true">$INFO[ListItem.Art(poster)]</texture>
                            <aspectratio>keep</aspectratio>
                            <bordertexture border="3" colordiffuse="40000000">special://home/addons/plugin.video.milionar/resources/media/white.png</bordertexture>
                            <bordersize>3</bordersize>
                        </control>
                        
                        <!-- TYP 2: Focus kontrolka (pouze v aktivní sekci) -->
                        <control type="image">
                            <left>0</left>
                            <top>0</top>
                            <width>250</width>
                            <height>330</height>
                            <texture background="true">$INFO[ListItem.Art(poster)]</texture>
                            <aspectratio>keep</aspectratio>
                            <bordertexture border="5" colordiffuse="button_focus">special://home/addons/plugin.video.milionar/resources/media/white.png</bordertexture>
                            <bordersize>5</bordersize>
                            <visible>String.IsEqual(Window.Property(CurrentSection),movies)</visible>
                        </control>
                        
                        <!-- TYP 3: Ztmavený poster při overlay efektu (pouze pro filmy) -->
                        <control type="image">
                            <left>5</left>
                            <top>5</top>
                            <width>240</width>
                            <height>320</height>
                            <texture background="true">$INFO[ListItem.Art(poster)]</texture>
                            <aspectratio>keep</aspectratio>
                            <colordiffuse>C0000000</colordiffuse>
                            <visible>String.IsEqual(Window.Property(MovieOverlayActive),true) + String.IsEqual(Window.Property(CurrentSection),movies)</visible>
                        </control>
                        
                        <!-- TYP 4: Overlay tlačítka přímo na posteru (pouze pro filmy) -->
                        <control type="group" id="poster_overlay_buttons">
                            <left>0</left>
                            <top>10</top>
                            <width>250</width>
                            <height>330</height>
                            <visible>String.IsEqual(Window.Property(MovieOverlayActive),true) + String.IsEqual(Window.Property(CurrentSection),movies)</visible>
                            <animation effect="slide" start="0,-60" end="0,0" time="200" tween="cubic" easing="out" condition="String.IsEqual(Window.Property(OverlayAnimation),show)">Visible</animation>


                            <!-- Tlačítko 1: Přehrát (první řádek) - BÍLÁ verze -->
                            <control type="button">
                                <left>20</left>
                                <top>20</top>
                                <width>210</width>
                                <height>60</height>
                                <texturefocus>-</texturefocus>
                                <texturenofocus>-</texturenofocus>
                                <onclick>Action(Select)</onclick>
                                <label>$INFO[Window.Property(OverlayButton0Text)]</label>
                                <font>font16</font>
                                <textcolor>white</textcolor>
                                <shadowcolor>black</shadowcolor>
                                <align>center</align>
                                <valign>center</valign>
                                <visible>!String.IsEqual(Window.Property(OverlaySelectedButton),0)</visible>
                            </control>
                            
                            <!-- Tlačítko 1: Přehrát (první řádek) - MODRÁ verze -->
                            <control type="button">
                                <left>20</left>
                                <top>20</top>
                                <width>210</width>
                                <height>60</height>
                                <texturefocus>-</texturefocus>
                                <texturenofocus>-</texturenofocus>
                                <onclick>Action(Select)</onclick>
                                <label>$INFO[Window.Property(OverlayButton0Text)]</label>
                                <font>font16</font>
                                <textcolor>blue</textcolor>
                                <shadowcolor>black</shadowcolor>
                                <align>center</align>
                                <valign>center</valign>
                                <visible>String.IsEqual(Window.Property(OverlaySelectedButton),0)</visible>
                            </control>
                            
                            <!-- Tlačítko 2: Detaily (druhý řádek) - BÍLÁ verze -->
                            <control type="button">
                                <left>20</left>
                                <top>90</top>
                                <width>210</width>
                                <height>60</height>
                                <texturefocus>-</texturefocus>
                                <texturenofocus>-</texturenofocus>
                                <onclick>Action(Select)</onclick>
                                <label>$INFO[Window.Property(OverlayButton1Text)]</label>
                                <font>font16</font>
                                <textcolor>white</textcolor>
                                <shadowcolor>black</shadowcolor>
                                <align>center</align>
                                <valign>center</valign>
                                <visible>!String.IsEqual(Window.Property(OverlaySelectedButton),1)</visible>
                            </control>
                            
                            <!-- Tlačítko 2: Detaily (druhý řádek) - MODRÁ verze -->
                            <control type="button">
                                <left>20</left>
                                <top>90</top>
                                <width>210</width>
                                <height>60</height>
                                <texturefocus>-</texturefocus>
                                <texturenofocus>-</texturenofocus>
                                <onclick>Action(Select)</onclick>
                                <label>$INFO[Window.Property(OverlayButton1Text)]</label>
                                <font>font16</font>
                                <textcolor>blue</textcolor>
                                <shadowcolor>black</shadowcolor>
                                <align>center</align>
                                <valign>center</valign>
                                <visible>String.IsEqual(Window.Property(OverlaySelectedButton),1)</visible>
                            </control>
                            
                            <!-- Tlačítko 3: Hra (třetí řádek) - BÍLÁ verze -->
                            <control type="button">
                                <left>20</left>
                                <top>160</top>
                                <width>210</width>
                                <height>60</height>
                                <texturefocus>-</texturefocus>
                                <texturenofocus>-</texturenofocus>
                                <onclick>Action(Select)</onclick>
                                <label>$INFO[Window.Property(OverlayButton2Text)]</label>
                                <font>font16</font>
                                <textcolor>white</textcolor>
                                <shadowcolor>black</shadowcolor>
                                <align>center</align>
                                <valign>center</valign>
                                <visible>!String.IsEqual(Window.Property(OverlaySelectedButton),2)</visible>
                            </control>
                            
                            <!-- Tlačítko 3: Hra (třetí řádek) - MODRÁ verze -->
                            <control type="button">
                                <left>20</left>
                                <top>160</top>
                                <width>210</width>
                                <height>60</height>
                                <texturefocus>-</texturefocus>
                                <texturenofocus>-</texturenofocus>
                                <onclick>Action(Select)</onclick>
                                <label>$INFO[Window.Property(OverlayButton2Text)]</label>
                                <font>font16</font>
                                <textcolor>blue</textcolor>
                                <shadowcolor>black</shadowcolor>
                                <align>center</align>
                                <valign>center</valign>
                                <visible>String.IsEqual(Window.Property(OverlaySelectedButton),2)</visible>
                            </control>
                            
                            <!-- Tlačítko 4: Smazat (čtvrtý řádek) - BÍLÁ verze -->
                            <control type="button">
                                <left>20</left>
                                <top>230</top>
                                <width>210</width>
                                <height>60</height>
                                <texturefocus>-</texturefocus>
                                <texturenofocus>-</texturenofocus>
                                <onclick>Action(Select)</onclick>
                                <label>$INFO[Window.Property(OverlayButton3Text)]</label>
                                <font>font16</font>
                                <textcolor>white</textcolor>
                                <shadowcolor>black</shadowcolor>
                                <align>center</align>
                                <valign>center</valign>
                                <visible>!String.IsEqual(Window.Property(OverlaySelectedButton),3)</visible>
                            </control>
                            
                            <!-- Tlačítko 4: Smazat (čtvrtý řádek) - MODRÁ verze -->
                            <control type="button">
                                <left>20</left>
                                <top>230</top>
                                <width>210</width>
                                <height>60</height>
                                <texturefocus>-</texturefocus>
                                <texturenofocus>-</texturenofocus>
                                <onclick>Action(Select)</onclick>
                                <label>$INFO[Window.Property(OverlayButton3Text)]</label>
                                <font>font16</font>
                                <textcolor>blue</textcolor>
                                <shadowcolor>black</shadowcolor>
                                <align>center</align>
                                <valign>center</valign>
                                <visible>String.IsEqual(Window.Property(OverlaySelectedButton),3)</visible>
                            </control>
                        </control>
                    </control>
                    <control type="button">
                        <left>0</left>
                        <top>0</top>
                        <width>250</width>
                        <height>350</height>
                        <texturefocus>-</texturefocus>
                        <texturenofocus>-</texturenofocus>
                        <onclick>Action(Select)</onclick>
                    </control>
                </focusedlayout>
            </control>
        </control>
        
        <!-- Sekce Seriály -->
        <control type="group" id="series_section">
            <left>50</left>
            <top>630</top>
            <width>1820</width>
            <height>400</height>
            
            <!-- Nadpis sekce Seriály -->
            <control type="group">
                <left>0</left>
                <top>0</top>
                <width>1820</width>
                <height>50</height>
                <!-- Ikona seriálů -->
                <control type="image">
                    <left>0</left>
                    <top>0</top>
                    <width>50</width>
                    <height>50</height>
                    <texture>DefaultTVShows.png</texture>
                </control>
                <!-- Text nadpisu -->
                <control type="label">
                    <left>60</left>
                    <top>5</top>
                    <width>1760</width>
                    <height>40</height>
                    <font>font30</font>
                    <textcolor>white</textcolor>
                    <shadowcolor>black</shadowcolor>
                    <label>$INFO[Window.Property(SeriesSectionTitle)]</label>
                </control>
            </control>
            
            <!-- Seznam seriálů -->
            <control type="list" id="200">
                <left>0</left>
                <top>60</top>
                <width>1820</width>
                <height>350</height>
                <onup>100</onup>
                <ondown>100</ondown>
                <onleft>200</onleft>
                <onright>200</onright>
                <orientation>horizontal</orientation>
                <scrolltime>200</scrolltime>
                <itemgap>10</itemgap>
                <itemlayout height="350" width="250">
                    <control type="group">
                        <left>0</left>
                        <top>0</top>
                        <!-- Poster seriálu -->
                        <control type="image">
                            <left>0</left>
                            <top>0</top>
                            <width>250</width>
                            <height>330</height>
                            <texture background="true">$INFO[ListItem.Art(poster)]</texture>
                            <aspectratio>keep</aspectratio>
                            <bordertexture border="3" colordiffuse="40000000">special://home/addons/plugin.video.milionar/resources/media/white.png</bordertexture>
                            <bordersize>3</bordersize>
                        </control>
                        <!-- Nápis 'Zpět' pouze pro tlačítko zpět v seznamech sezón -->
                        <control type="label">
                            <left>5</left>
                            <top>308</top>
                            <width>240</width>
                            <height>25</height>
                            <font>font12</font>
                            <textcolor>white</textcolor>
                            <align>center</align>
                            <label>$INFO[ListItem.Label]</label>
                            <visible>String.IsEqual(ListItem.Property(item_type),back_to_series) + String.IsEqual(Window.Property(NavigationLevel),seasons)</visible>
                        </control>
                        <!-- Název epizody -->
                        <control type="label">
                            <left>5</left>
                            <top>308</top>
                            <width>240</width>
                            <height>25</height>
                            <font>font12</font>
                            <textcolor>white</textcolor>
                            <align>center</align>
                            <label>$INFO[ListItem.Label]</label>
                            <visible>String.IsEqual(Window.Property(NavigationLevel),episodes)</visible>
                        </control>
                    </control>
                </itemlayout>
                <focusedlayout height="350" width="250">
                    <control type="group">
                        <left>0</left>
                        <top>0</top>
                        
                        <!-- TYP 1: Normální kontrolka (vždy viditelná) -->
                        <control type="image">
                            <left>0</left>
                            <top>0</top>
                            <width>250</width>
                            <height>330</height>
                            <texture background="true">$INFO[ListItem.Art(poster)]</texture>
                            <aspectratio>keep</aspectratio>
                            <bordertexture border="3" colordiffuse="40000000">special://home/addons/plugin.video.milionar/resources/media/white.png</bordertexture>
                            <bordersize>3</bordersize>
                        </control>
                        
                        <!-- TYP 2: Focus kontrolka (pouze v aktivní sekci) -->
                        <control type="image">
                            <left>0</left>
                            <top>0</top>
                            <width>250</width>
                            <height>330</height>
                            <texture background="true">$INFO[ListItem.Art(poster)]</texture>
                            <aspectratio>keep</aspectratio>
                            <bordertexture border="5" colordiffuse="button_focus">special://home/addons/plugin.video.milionar/resources/media/white.png</bordertexture>
                            <bordersize>5</bordersize>
                            <visible>String.IsEqual(Window.Property(CurrentSection),series) + !String.IsEqual(Window.Property(EpisodeOverlayActive),true)</visible>
                        </control>
                        <!-- Nápis 'Zpět' pouze pro tlačítko zpět v seznamech sezón i při focusu -->
                        <control type="label">
                            <left>5</left>
                            <top>308</top>
                            <width>240</width>
                            <height>25</height>
                            <font>font12</font>
                            <textcolor>blue</textcolor>
                            <align>center</align>
                            <label>$INFO[ListItem.Label]</label>
                            <visible>String.IsEqual(ListItem.Property(item_type),back_to_series) + String.IsEqual(Window.Property(NavigationLevel),seasons)</visible>
                        </control>
                        
                        <!-- TYP 3: Ztmavený poster při overlay efektu (pouze pro epizody) -->
                        <control type="image">
                            <left>0</left>
                            <top>0</top>
                            <width>250</width>
                            <height>330</height>
                            <texture background="true">special://home/addons/plugin.video.milionar/resources/media/white.png</texture>
                            <aspectratio>scale</aspectratio>
                            <colordiffuse>C0000000</colordiffuse>
                            <visible>String.IsEqual(Window.Property(EpisodeOverlayActive),true) + String.IsEqual(Window.Property(CurrentSection),series) + String.IsEqual(Window.Property(NavigationLevel),episodes)</visible>
                        </control>
                        
                        <!-- TYP 4: Overlay tlačítka přímo na posteru (pouze pro epizody) -->
                        <control type="group" id="episode_overlay_buttons">
                            <left>0</left>
                            <top>10</top>
                            <width>250</width>
                            <height>330</height>
                            <visible>String.IsEqual(Window.Property(EpisodeOverlayActive),true) + String.IsEqual(Window.Property(CurrentSection),series) + String.IsEqual(Window.Property(NavigationLevel),episodes)</visible>
                            <animation effect="slide" start="0,-60" end="0,0" time="200" tween="cubic" easing="out" condition="String.IsEqual(Window.Property(EpisodeOverlayAnimation),show)">Visible</animation>
                            
                            <!-- Modrý rámeček kolem overlay tlačítek epizod - 4 linky -->
                            <!-- Horní linka -->
                            <control type="image">
                                <left>0</left>
                                <top>-10</top>
                                <width>250</width>
                                <height>3</height>
                                <texture colordiffuse="button_focus">special://home/addons/plugin.video.milionar/resources/media/white.png</texture>
                            </control>
                            <!-- Spodní linka -->
                            <control type="image">
                                <left>0</left>
                                <top>317</top>
                                <width>250</width>
                                <height>3</height>
                                <texture colordiffuse="button_focus">special://home/addons/plugin.video.milionar/resources/media/white.png</texture>
                            </control>
                            <!-- Levá linka -->
                            <control type="image">
                                <left>0</left>
                                <top>-10</top>
                                <width>3</width>
                                <height>330</height>
                                <texture colordiffuse="button_focus">special://home/addons/plugin.video.milionar/resources/media/white.png</texture>
                            </control>
                            <!-- Pravá linka -->
                            <control type="image">
                                <left>247</left>
                                <top>-10</top>
                                <width>3</width>
                                <height>330</height>
                                <texture colordiffuse="button_focus">special://home/addons/plugin.video.milionar/resources/media/white.png</texture>
                            </control>
                            
                            <!-- Tlačítko 1: Přehrát (první řádek) - BÍLÁ verze -->
                            <control type="button">
                                <left>20</left>
                                <top>20</top>
                                <width>210</width>
                                <height>60</height>
                                <texturefocus>-</texturefocus>
                                <texturenofocus>-</texturenofocus>
                                <onclick>Action(Select)</onclick>
                                <label>$INFO[Window.Property(OverlayButton0Text)]</label>
                                <font>font16</font>
                                <textcolor>white</textcolor>
                                <shadowcolor>black</shadowcolor>
                                <align>center</align>
                                <valign>center</valign>
                                <visible>!String.IsEqual(Window.Property(OverlaySelectedButton),0)</visible>
                            </control>
                            
                            <!-- Tlačítko 1: Přehrát (první řádek) - MODRÁ verze -->
                            <control type="button">
                                <left>20</left>
                                <top>20</top>
                                <width>210</width>
                                <height>60</height>
                                <texturefocus>-</texturefocus>
                                <texturenofocus>-</texturenofocus>
                                <onclick>Action(Select)</onclick>
                                <label>$INFO[Window.Property(OverlayButton0Text)]</label>
                                <font>font16</font>
                                <textcolor>blue</textcolor>
                                <shadowcolor>black</shadowcolor>
                                <align>center</align>
                                <valign>center</valign>
                                <visible>String.IsEqual(Window.Property(OverlaySelectedButton),0)</visible>
                            </control>
                            
                            <!-- Tlačítko 2: Detaily (druhý řádek) - BÍLÁ verze -->
                            <control type="button">
                                <left>20</left>
                                <top>90</top>
                                <width>210</width>
                                <height>60</height>
                                <texturefocus>-</texturefocus>
                                <texturenofocus>-</texturenofocus>
                                <onclick>Action(Select)</onclick>
                                <label>$INFO[Window.Property(OverlayButton1Text)]</label>
                                <font>font16</font>
                                <textcolor>white</textcolor>
                                <shadowcolor>black</shadowcolor>
                                <align>center</align>
                                <valign>center</valign>
                                <visible>!String.IsEqual(Window.Property(OverlaySelectedButton),1)</visible>
                            </control>
                            
                            <!-- Tlačítko 2: Detaily (druhý řádek) - MODRÁ verze -->
                            <control type="button">
                                <left>20</left>
                                <top>90</top>
                                <width>210</width>
                                <height>60</height>
                                <texturefocus>-</texturefocus>
                                <texturenofocus>-</texturenofocus>
                                <onclick>Action(Select)</onclick>
                                <label>$INFO[Window.Property(OverlayButton1Text)]</label>
                                <font>font16</font>
                                <textcolor>blue</textcolor>
                                <shadowcolor>black</shadowcolor>
                                <align>center</align>
                                <valign>center</valign>
                                <visible>String.IsEqual(Window.Property(OverlaySelectedButton),1)</visible>
                            </control>
                            
                            <!-- Tlačítko 3: Hra (třetí řádek) - BÍLÁ verze -->
                            <control type="button">
                                <left>20</left>
                                <top>160</top>
                                <width>210</width>
                                <height>60</height>
                                <texturefocus>-</texturefocus>
                                <texturenofocus>-</texturenofocus>
                                <onclick>Action(Select)</onclick>
                                <label>$INFO[Window.Property(OverlayButton2Text)]</label>
                                <font>font16</font>
                                <textcolor>white</textcolor>
                                <shadowcolor>black</shadowcolor>
                                <align>center</align>
                                <valign>center</valign>
                                <visible>!String.IsEqual(Window.Property(OverlaySelectedButton),2)</visible>
                            </control>
                            
                            <!-- Tlačítko 3: Hra (třetí řádek) - MODRÁ verze -->
                            <control type="button">
                                <left>20</left>
                                <top>160</top>
                                <width>210</width>
                                <height>60</height>
                                <texturefocus>-</texturefocus>
                                <texturenofocus>-</texturenofocus>
                                <onclick>Action(Select)</onclick>
                                <label>$INFO[Window.Property(OverlayButton2Text)]</label>
                                <font>font16</font>
                                <textcolor>blue</textcolor>
                                <shadowcolor>black</shadowcolor>
                                <align>center</align>
                                <valign>center</valign>
                                <visible>String.IsEqual(Window.Property(OverlaySelectedButton),2)</visible>
                            </control>
                            
                            <!-- Tlačítko 4: Smazat (čtvrtý řádek) - BÍLÁ verze -->
                            <control type="button">
                                <left>20</left>
                                <top>230</top>
                                <width>210</width>
                                <height>60</height>
                                <texturefocus>-</texturefocus>
                                <texturenofocus>-</texturenofocus>
                                <onclick>Action(Select)</onclick>
                                <label>$INFO[Window.Property(OverlayButton3Text)]</label>
                                <font>font16</font>
                                <textcolor>white</textcolor>
                                <shadowcolor>black</shadowcolor>
                                <align>center</align>
                                <valign>center</valign>
                                <visible>!String.IsEqual(Window.Property(OverlaySelectedButton),3)</visible>
                            </control>
                            
                            <!-- Tlačítko 4: Smazat (čtvrtý řádek) - MODRÁ verze -->
                            <control type="button">
                                <left>20</left>
                                <top>230</top>
                                <width>210</width>
                                <height>60</height>
                                <texturefocus>-</texturefocus>
                                <texturenofocus>-</texturenofocus>
                                <onclick>Action(Select)</onclick>
                                <label>$INFO[Window.Property(OverlayButton3Text)]</label>
                                <font>font16</font>
                                <textcolor>blue</textcolor>
                                <shadowcolor>black</shadowcolor>
                                <align>center</align>
                                <valign>center</valign>
                                <visible>String.IsEqual(Window.Property(OverlaySelectedButton),3)</visible>
                            </control>
                        </control>
                        <!-- Název epizody -->
                        <control type="label">
                            <left>5</left>
                            <top>308</top>
                            <width>240</width>
                            <height>25</height>
                            <font>font12</font>
                            <textcolor>blue</textcolor>
                            <align>center</align>
                            <label>$INFO[ListItem.Label]</label>
                            <visible>String.IsEqual(Window.Property(NavigationLevel),episodes) + !String.IsEqual(Window.Property(EpisodeOverlayActive),true)</visible>
                        </control>
                    </control>
                    <control type="button">
                        <left>0</left>
                        <top>0</top>
                        <width>250</width>
                        <height>350</height>
                        <texturefocus>-</texturefocus>
                        <texturenofocus>-</texturenofocus>
                        <onclick>Action(Select)</onclick>
                    </control>
                </focusedlayout>
            </control>
        </control>
    </controls>
</window> 