<?xml version="1.0" encoding="UTF-8"?>
<window id="1160" type="dialog">
    <modality>modal</modality>
    <defaultcontrol always="true">7201</defaultcontrol>
    <coordinates>
        <left>460</left>
        <top>250</top>
        <width>1000</width>
        <height>580</height>
    </coordinates>
    <controls>
        <!-- Pozadí dialogu (ztmavení celé obrazovky) -->
        <control type="image">
            <left>-460</left>
            <top>-250</top>
            <width>1920</width>
            <height>1080</height>
            <texture colordiffuse="E0000000">special://home/addons/plugin.video.milionar/resources/media/white.png</texture>
            <animation effect="fade" start="0" end="100" time="300">WindowOpen</animation>
            <animation effect="fade" start="100" end="0" time="300">WindowClose</animation>
        </control>
        <!-- Hlavní pozadí dialogu -->
        <control type="image">
            <left>0</left>
            <top>0</top>
            <width>1000</width>
            <height>580</height>
            <texture border="10" colordiffuse="F0151515">special://home/addons/plugin.video.milionar/resources/media/white.png</texture>
        </control>
        <!-- Nadpis -->
        <control type="label" id="7301">
            <left>20</left>
            <top>20</top>
            <width>960</width>
            <height>60</height>
            <font>font30</font>
            <textcolor>FFFFFFFF</textcolor>
            <shadowcolor>black</shadowcolor>
            <label>###NAZEV###</label>
            <align>center</align>
            <aligny>center</aligny>
            <animation effect="slide" start="0,-100" end="0,0" time="400" tween="cubic" easing="out">WindowOpen</animation>
            <animation effect="slide" start="0,0" end="0,-100" time="300" tween="cubic" easing="in">WindowClose</animation>
        </control>
        <!-- Popis -->
        <control type="label" id="7302">
            <left>50</left>
            <top>100</top>
            <width>900</width>
            <height>60</height>
            <font>font16</font>
            <textcolor>FFDDDDDD</textcolor>
            <align>center</align>
            <aligny>center</aligny>
            <label>###POPIS###</label>
            <animation effect="fade" start="0" end="100" time="400" delay="100">WindowOpen</animation>
            <animation effect="fade" start="100" end="0" time="300">WindowClose</animation>
        </control>
        <!-- Skupina tlačítek s moderním designem -->
        <control type="group">
            <left>50</left>
            <top>180</top>
            <width>900</width>
            <height>120</height>
            <animation effect="slide" start="0,800" end="0,0" time="400" delay="200" tween="cubic" easing="out">WindowOpen</animation>
            <animation effect="slide" start="0,0" end="0,800" time="400" tween="cubic" easing="in">WindowClose</animation>
            <!-- Tlačítko Vybrat složku -->
            <control type="button" id="7201">
                <left>100</left>
                <top>15</top>
                <width>200</width>
                <height>90</height>
                <font>font16</font>
                <textcolor>FFFFFFFF</textcolor>
                <focusedcolor>FFFFFFFF</focusedcolor>
                <label>###TLAČÍTKO###</label>
                <align>center</align>
                <aligny>center</aligny>
                <onup>7203</onup>
                <ondown>7202</ondown>
                <onleft>7203</onleft>
                <onright>7202</onright>
                <texturenofocus border="21" colordiffuse="FF333333">special://home/addons/plugin.video.milionar/resources/media/white.png</texturenofocus>
                <texturefocus border="21" colordiffuse="FF0078D4">special://home/addons/plugin.video.milionar/resources/media/white.png</texturefocus>
                <animation effect="slide" start="0,20" end="0,0" time="200" tween="cubic" easing="out" reversible="true">Focus</animation>
                <animation effect="slide" start="0,0" end="0,20" time="200" tween="cubic" easing="out" reversible="true">UnFocus</animation>
                <control type="image">
                    <left>0</left>
                    <top>0</top>
                    <width>200</width>
                    <height>90</height>
                    <bordersize>4</bordersize>
                    <bordertexture colordiffuse="FF0078D4">special://home/addons/plugin.video.milionar/resources/media/white.png</bordertexture>
                    <visible>Control.HasFocus(7201)</visible>
                </control>
            </control>
            <!-- Tlačítko Návod -->
            <control type="button" id="7202">
                <left>350</left>
                <top>15</top>
                <width>200</width>
                <height>90</height>
                <font>font16</font>
                <textcolor>FFFFFFFF</textcolor>
                <focusedcolor>FFFFFFFF</focusedcolor>
                <label>Návod</label>
                <align>center</align>
                <aligny>center</aligny>
                <onup>7201</onup>
                <ondown>7203</ondown>
                <onleft>7201</onleft>
                <onright>7203</onright>
                <texturenofocus border="21" colordiffuse="FF333333">special://home/addons/plugin.video.milionar/resources/media/white.png</texturenofocus>
                <texturefocus border="21" colordiffuse="FF0078D4">special://home/addons/plugin.video.milionar/resources/media/white.png</texturefocus>
                <animation effect="slide" start="0,20" end="0,0" time="200" tween="cubic" easing="out" reversible="true">Focus</animation>
                <animation effect="slide" start="0,0" end="0,20" time="200" tween="cubic" easing="out" reversible="true">UnFocus</animation>
                <control type="image">
                    <left>0</left>
                    <top>0</top>
                    <width>200</width>
                    <height>90</height>
                    <bordersize>4</bordersize>
                    <bordertexture colordiffuse="FF0078D4">special://home/addons/plugin.video.milionar/resources/media/white.png</bordertexture>
                    <visible>Control.HasFocus(7202)</visible>
                </control>
            </control>
            <!-- Tlačítko Zavřít -->
            <control type="button" id="7203">
                <left>600</left>
                <top>15</top>
                <width>200</width>
                <height>90</height>
                <font>font16</font>
                <textcolor>FFFFFFFF</textcolor>
                <focusedcolor>FFFFFFFF</focusedcolor>
                <label>Zavřít</label>
                <align>center</align>
                <aligny>center</aligny>
                <onup>7202</onup>
                <ondown>7201</ondown>
                <onleft>7202</onleft>
                <onright>7201</onright>
                <texturenofocus border="21" colordiffuse="FF333333">special://home/addons/plugin.video.milionar/resources/media/white.png</texturenofocus>
                <texturefocus border="21" colordiffuse="FFDC3545">special://home/addons/plugin.video.milionar/resources/media/white.png</texturefocus>
                <animation effect="slide" start="0,20" end="0,0" time="200" tween="cubic" easing="out" reversible="true">Focus</animation>
                <animation effect="slide" start="0,0" end="0,20" time="200" tween="cubic" easing="out" reversible="true">UnFocus</animation>
                <control type="image">
                    <left>0</left>
                    <top>0</top>
                    <width>200</width>
                    <height>90</height>
                    <bordersize>4</bordersize>
                    <bordertexture colordiffuse="FFDC3545">special://home/addons/plugin.video.milionar/resources/media/white.png</bordertexture>
                    <visible>Control.HasFocus(7203)</visible>
                </control>
            </control>
        </control>
        <!-- Informační scrolltext pod tlačítky -->
        <control type="textbox">
            <left>30</left>
            <top>340</top>
            <width>940</width>
            <height>188</height>
            <font>font10</font>
            <textcolor>FF999999</textcolor>
            <align>justify</align>
            <label>Pro správné fungování integrace knihovny je nutné, aby složka vybraná v tomto dialogu byla naprosto stejná jako složka přidaná v Kodi knihovně pro filmy nebo seriály. Doporučujeme použít prázdnou nebo novou složku určenou pouze pro knihovnu tohoto doplňku. Pokud složku změníte, může být nutné znovu načíst knihovnu v Kodi. Složka bude použita pro ukládání .strm souborů, které propojují obsah doplňku s vaší Kodi knihovnou. Změna složky neodstraní již přidané položky z knihovny Kodi automaticky.</label>
            <animation effect="fade" start="0" end="100" time="400" delay="400">WindowOpen</animation>
            <animation effect="fade" start="100" end="0" time="300">WindowClose</animation>
        </control>
    </controls>
</window> 