<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="1186">
    <defaultcontrol>6</defaultcontrol>
    <menucontrol>9000</menucontrol>

    <controls>
        <control type="group">
            <posy>PosYForFourLinesDialog</posy>
            <include content="WindowForDialog">
                <param name="height" value="HeightForFourLinesDialog" />
                <param name="headerlabel" value="$LOCALIZE[31483]" />
                <param name="iconsmallvisible" value="true" />
                <param name="icondefaultvisible" value="false" />
            </include>

            <control type="group">
                <posx>PosXForSmallIconFrameForDialog</posx>
                <posy>PosYForSmallIconFrameForDialog</posy>
            
                <control type="image">
                    <posx>3</posx>
                    <posy>3</posy>
                    <width>84</width>
                    <height>84</height>
                    <texture>elements/circle-mask.png</texture>
                    <colordiffuse>$INFO[Control.GetLabel(9)]</colordiffuse>
                </control>
            </control>
            
            <control type="label">
                <posx>560</posx>
                <posy>80</posy>
                <width>240</width>
                <height>40</height>
                <textcolor>TextColor</textcolor>
                <label>$LOCALIZE[31981]</label>
            </control>

            <include content="ColorMixer">
                <param name="id" value="6" />
                <param name="posx" value="760" />
                <param name="posy" value="80" />
                <param name="labelprefix" value="" />
                <param name="labelsuffix" value="0000" />
                <param name="onup" value="21" />
                <param name="ondown" value="7" />
            </include>

            <control type="label">
                <posx>560</posx>
                <posy>120</posy>
                <width>240</width>
                <height>40</height>
                <textcolor>TextColor</textcolor>
                <label>$LOCALIZE[31982]</label>
            </control>

            <include content="ColorMixer">
                <param name="id" value="7" />
                <param name="posx" value="760" />
                <param name="posy" value="120" />
                <param name="labelprefix" value="00" />
                <param name="labelsuffix" value="00" />
                <param name="onup" value="6" />
                <param name="ondown" value="8" />
            </include>

            <control type="label">
                <posx>560</posx>
                <posy>160</posy>
                <width>160</width>
                <height>40</height>
                <textcolor>TextColor</textcolor>
                <label>$LOCALIZE[31983]</label>
            </control>

            <include content="ColorMixer">
                <param name="id" value="8" />
                <param name="posx" value="760" />
                <param name="posy" value="160" />
                <param name="labelprefix" value="0000" />
                <param name="labelsuffix" value="" />
                <param name="onup" value="7" />
                <param name="ondown" value="20" />
            </include>

            <control type="label">
                <posx>560</posx>
                <posy>200</posy>
                <width>1240</width>
                <height>40</height>
                <textcolor>TextColor</textcolor>
                <label>$LOCALIZE[31980]</label>
            </control>

            <control type="label" id="9">
                <posx>800</posx>
                <posy>200</posy>
                <width>300</width>
                <height>40</height>
                <textcolor>TextColor</textcolor>
                <label>FF$INFO[Container(6).ListItem.Property(Color)]$INFO[Container(7).ListItem.Property(Color)]$INFO[Container(8).ListItem.Property(Color)]</label>
            </control>

            <control type="label" id="10">
                <visible>false</visible>
                <posx>1100</posx>
                <posy>300</posy>
                <width>200</width>
                <height>40</height>
                <textcolor>TextColor</textcolor>
                <label>$INFO[Window.Property(DialogRelatedColorPrefix)]$INFO[Container(6).ListItem.Property(Color)]$INFO[Container(7).ListItem.Property(Color)]$INFO[Container(8).ListItem.Property(Color)]</label>
            </control>

            <include content="ColorLabel">
                <param name="posx" value="1720" />
                <param name="posy" value="200" />
                <param name="color" value="$INFO[Control.GetLabel(9)]" />
            </include>

            <control type="grouplist" id="9000">
                <include content="MarkupForButtonListForDialog">
                    <param name="posy" value="160" />
                    <param name="height" value="80" />
                </include>
                <onup>8</onup>
                <ondown>6</ondown>

                <control type="button" id="20">
                    <description>Ok Button</description>
                    <label>$LOCALIZE[186]</label>
                    <onclick>Skin.SetString($INFO[Window.Property(DialogTarget)],$INFO[Control.GetLabel(9)])</onclick>
                    <onclick condition="!String.IsEmpty(Window.Property(DialogRelatedTarget))">Skin.SetString($INFO[Window.Property(DialogRelatedTarget)],$INFO[Control.GetLabel(10)])</onclick>
                    <onclick>Dialog.Close(1185)</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>
