<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="1194">
    <defaultcontrol always="true">40</defaultcontrol>
    <menucontrol>9000</menucontrol>

    <controls>
        <control type="group">
            <posy>PosYForTenLinesDialog</posy>
            <include content="WindowForDialog">
                <param name="height" value="HeightForTenLinesDialog" />
                <param name="headerlabel" value="$LOCALIZE[31888]" />
                <param name="icontexture" value="icons/icon-pencil.png" />
            </include>

            <include content="LabelForDialog">
                <param name="textcolor" value="$VAR[TextColor]" />
                <param name="label" value="$LOCALIZE[31900]:" />
            </include>

            <control type="group">
                <control type="list" id="40">
                    <include content="MarkupForListForDialog">
                        <param name="posy" value="120" />
                        <param name="height" value="360" />
                        <param name="pagecontrol" value="41" />
                    </include>
                    <onleft>9000</onleft>
                    <onright>41</onright>

                    <itemlayout height="40">
                        <include>NormalItemsForNormalListInDialog</include>
                    </itemlayout>
                
                    <focusedlayout height="40">
                        <control type="group">
                            <visible>Control.HasFocus(40)</visible>
                            <include>FocusedItemsForNormalListInDialog</include>
                        </control>
                        <control type="group">
                            <visible>!Control.HasFocus(40)</visible>
                            <include>SelectedItemsForNormalListInDialog</include>
                        </control>
                    </focusedlayout>

                    <content>
                        <item id="1">
                            <description>Nothing Option</description>
                            <label>$LOCALIZE[31720]</label>
                            <property name="ItemName">$LOCALIZE[31720]</property>
                            <property name="OriginMask"></property>
                            <onclick>Noop</onclick>
                        </item>
                        <item id="51">
                            <description>XBMC / Latest Movies Option</description>
                            <visible>StringCompare(Window.Property(TargetCircleOption),CircleMovieOption)</visible>
                            <label>$LOCALIZE[31721] $LOCALIZE[31711]</label>
                            <property name="ItemName">$LOCALIZE[31721]</property>
                            <property name="OriginMask">LatestMovie.%d</property>
                            <onclick>Noop</onclick>
                        </item>
                        <item id="52">
                            <description>Screen Widgets / Random Movies Option</description>
                            <visible>StringCompare(Window.Property(TargetCircleOption),CircleMovieOption) + System.HasAddon(service.skin.widgets)</visible>
                            <label>$LOCALIZE[31726] $LOCALIZE[31712]</label>
                            <property name="ItemName">$LOCALIZE[31726]</property>
                            <property name="OriginMask">RandomMovie.%d</property>
                            <onclick>Noop</onclick>
                        </item>
                        <item id="53">
                            <description>Screen Widgets / Recommended Movies Option</description>
                            <visible>StringCompare(Window.Property(TargetCircleOption),CircleMovieOption) + System.HasAddon(service.skin.widgets)</visible>
                            <label>$LOCALIZE[31733] $LOCALIZE[31712]</label>
                            <property name="ItemName">$LOCALIZE[31733]</property>
                            <property name="OriginMask">RecommendedMovie.%d</property>
                            <onclick>Noop</onclick>
                        </item>
                        <item id="54">
                            <description>Screen Widgets / Recent Movies Option</description>
                            <visible>StringCompare(Window.Property(TargetCircleOption),CircleMovieOption) + System.HasAddon(service.skin.widgets)</visible>
                            <enable>System.HasAddon(service.skin.widgets)</enable>
                            <label>$LOCALIZE[31737] $LOCALIZE[31712]</label>
                            <property name="ItemName">$LOCALIZE[31737]</property>
                            <property name="OriginMask">RecentMovie.%d</property>
                            <onclick>Noop</onclick>
                        </item>
                        
                        <item id="61">
                            <description>XBMC / Latest Episodes Option</description>
                            <visible>StringCompare(Window.Property(TargetCircleOption),CircleEpisodeOption)</visible>
                            <label>$LOCALIZE[31722] $LOCALIZE[31711]</label>
                            <property name="ItemName">$LOCALIZE[31722]</property>
                            <property name="OriginMask">LatestEpisode.%d</property>
                            <onclick>Noop</onclick>
                        </item>
                        <item id="62">
                            <description>Screen Widgets / Random Episodes Option</description>
                            <visible>StringCompare(Window.Property(TargetCircleOption),CircleEpisodeOption) + System.HasAddon(service.skin.widgets)</visible>
                            <label>$LOCALIZE[31727] $LOCALIZE[31712]</label>
                            <property name="ItemName">$LOCALIZE[31727]</property>
                            <property name="OriginMask">RandomEpisode.%d</property>
                            <onclick>Noop</onclick>
                        </item>
                        <item id="63">
                            <description>Screen Widgets / Recommended Episodes Option</description>
                            <visible>StringCompare(Window.Property(TargetCircleOption),CircleEpisodeOption) + System.HasAddon(service.skin.widgets)</visible>
                            <label>$LOCALIZE[31734] $LOCALIZE[31712]</label>
                            <property name="ItemName">$LOCALIZE[31734]</property>
                            <property name="OriginMask">RecommendedEpisode.%d</property>
                            <onclick>Noop</onclick>
                        </item>
                        <item id="64">
                            <description>Screen Widgets / Recent Episodes Option</description>
                            <visible>StringCompare(Window.Property(TargetCircleOption),CircleEpisodeOption) + System.HasAddon(service.skin.widgets)</visible>
                            <label>$LOCALIZE[31738] $LOCALIZE[31712]</label>
                            <property name="ItemName">$LOCALIZE[31738]</property>
                            <property name="OriginMask">RecentEpisode.%d</property>
                            <onclick>Noop</onclick>
                        </item>
                        
                        <item id="161">
                            <description>XBMC / Latest Albums Option</description>
                            <visible>StringCompare(Window.Property(TargetCircleOption),CircleAlbumOption)</visible>
                            <label>$LOCALIZE[31725] $LOCALIZE[31711]</label>
                            <property name="ItemName">$LOCALIZE[31725]</property>
                            <property name="OriginMask">LatestAlbum.%d</property>
                            <onclick>Noop</onclick>
                        </item>
                        <item id="162">
                            <description>Screen Widgets / Random Albums Option</description>
                            <visible>StringCompare(Window.Property(TargetCircleOption),CircleAlbumOption) + System.HasAddon(service.skin.widgets)</visible>
                            <label>$LOCALIZE[31729] $LOCALIZE[31712]</label>
                            <property name="ItemName">$LOCALIZE[31729]</property>
                            <property name="OriginMask">RandomAlbum.%d</property>
                            <onclick>Noop</onclick>
                        </item>
                        <item id="163">
                            <description>Screen Widgets / Recommended Albums Option</description>
                            <visible>StringCompare(Window.Property(TargetCircleOption),CircleAlbumOption) + System.HasAddon(service.skin.widgets)</visible>
                            <label>$LOCALIZE[31736] $LOCALIZE[31712]</label>
                            <property name="ItemName">$LOCALIZE[31736]</property>
                            <property name="OriginMask">RecommendedAlbum.%d</property>
                            <onclick>Noop</onclick>
                        </item>
                        <item id="164">
                            <description>Screen Widgets / Recent Albums Option</description>
                            <visible>StringCompare(Window.Property(TargetCircleOption),CircleAlbumOption) + System.HasAddon(service.skin.widgets)</visible>
                            <label>$LOCALIZE[31740] $LOCALIZE[31712]</label>
                            <property name="ItemName">$LOCALIZE[31740]</property>
                            <property name="OriginMask">RecentAlbum.%d</property>
                            <onclick>Noop</onclick>
                        </item>
                    </content>
                </control>
                
                <control id="41" type="scrollbar">
                    <include content="MarkupForScrollbarForDialog">
                        <param name="posy" value="240" />
                        <param name="height" value="360" />
                    </include>
                    <onleft>40</onleft>
                </control>
            </control>

            <control type="grouplist" id="9000">
                <include content="MarkupForButtonListForDialog">
                    <param name="posy" value="400" />
                    <param name="height" value="80" />
                </include>
                <onright>40</onright>

                <control type="button" id="20">
                    <description>Ok Button</description>
                    <label>$LOCALIZE[186]</label>
                    <onclick>Skin.SetString($INFO[Window.Property(TargetCircleOption)].Name,$INFO[Container(40).ListItem.Label])</onclick>
                    <onclick>Skin.SetString($INFO[Window.Property(TargetCircleOption)].Source,$INFO[Container(40).ListItem.Property(OriginMask)])</onclick>
                    <onclick>Close</onclick>
                </control>
                <control type="button" id="21">
                    <description>Cancel Button</description>
                    <label>$LOCALIZE[222]</label>
                    <onclick>Close</onclick>
                </control>
            </control>
        </control>
    </controls>
</window>
