<?xml version="1.0" encoding="UTF-8"?>
<window>
    <defaultcontrol always="true">9001</defaultcontrol>
    <include>fadeInOut</include>
    <controls>
        <include>modalDialog</include>
        <control type="group">
            <posx>0</posx>
            <posy>row-9-begin</posy>
            <!--animations-->
            <include>modalDialogInOut</include>
            <!--text-->
            <control type="group">
                <posx>col-9-begin</posx>
                <posy>0</posy>
                <control type="label" id="1">
                    <description>heading</description>
                    <posx>12</posx>
                    <posy>0</posy>
                    <width>540</width>
                    <height>2-row</height>
                    <wrapmultiline>true</wrapmultiline>
                    <font>dialogTitle</font>
                    <textcolor>textActive</textcolor>
                </control>
                <control type="textbox" id="9">
                    <posx>12</posx>
                    <posy>3-row</posy>
                    <width>540</width>
                    <height>78</height>
                    <font>textbox</font>
                    <textcolor>textActive</textcolor>
               </control>
            </control>
            <!--Yes / No-->
            <control type="image">
                <posx>col-9-begin</posx>
                <posy>6-row</posy>
                <width>1-col</width>
                <height>2-row</height>
                <aspectratio>stretch</aspectratio>
                <texture>colors/black.png</texture>
            </control>
            <control type="image">
                <visible>control.hasfocus(10)</visible>
                <posx>col-9-begin</posx>
                <posy>6-row</posy>
                <width>1-col</width>
                <height>2-row</height>
                <aspectratio>stretch</aspectratio>
                <texture>colors/white.png</texture>
                <colordiffuse>highlight</colordiffuse>
                <animation type="conditional" condition="control.hasfocus(10)" loop="false" reversible="false">
                    <effect type="fade" time="500"/>
                    <effect type="rotatey" end="180" center="708" tween="back" easing="out" time="1000"/>
                </animation>
            </control>
            <control type="label">
                <posx>col-9-begin</posx>
                <posy>6-row</posy>
                <width>1-col</width>
                <height>2-row</height>
                <align>center</align>
                <aligny>center</aligny>
                <font>symbolLarge</font>
                <textcolor>textActive</textcolor>
                <label>×</label>
            </control>
            <control type="image">
                <posx>col-13-begin</posx>
                <posy>6-row</posy>
                <width>1-col</width>
                <height>2-row</height>
                <aspectratio>stretch</aspectratio>
                <texture>colors/black.png</texture>
            </control>
            <control type="image">
                <visible>control.hasfocus(11)</visible>
                <posx>col-13-begin</posx>
                <posy>6-row</posy>
                <width>1-col</width>
                <height>2-row</height>
                <aspectratio>stretch</aspectratio>
                <texture>colors/white.png</texture>
                <colordiffuse>highlight</colordiffuse>
                <animation type="conditional" condition="control.hasfocus(11)" loop="false" reversible="false">
                    <effect type="fade" time="500"/>
                    <effect type="rotatey" end="180" center="996" tween="back" easing="out" time="1000"/>
                </animation>
            </control>
            <control type="label">
                <posx>col-13-begin</posx>
                <posy>6-row</posy>
                <width>1-col</width>
                <height>2-row</height>
                <align>center</align>
                <aligny>center</aligny>
                <font>symbolLarge</font>
                <textcolor>textActive</textcolor>
                <label>✓</label>
            </control>
            <control type="grouplist" id="9001">
                <posx>col-10-begin</posx>
                <posy>6-row</posy>
                <width>8-col</width>
                <height>2-row</height>
                <itemgap>1-col</itemgap>
                <onleft>50</onleft>
                <onright>50</onright>
                <onup>9999</onup>
                <ondown>9999</ondown>
                <orientation>horizontal</orientation>
                <!--selection buttons-->
                <control type="button" id="10">
                    <description>No</description>
                    <texturefocus>colors/white.png</texturefocus>
                    <texturenofocus colordiffuse="overlay">colors/black.png</texturenofocus>
                    <focusedcolor>black</focusedcolor>
                    <width>3-col</width>
                    <label>106</label>
                </control>
                <control type="button" id="11">
                    <description>Yes</description>
                    <texturefocus>colors/white.png</texturefocus>
                    <texturenofocus colordiffuse="overlay">colors/black.png</texturenofocus>
                    <focusedcolor>black</focusedcolor>
                    <width>3-col</width>
                    <label>107</label>
                </control>
            </control>
        </control>
        <!--debugging-->
        <include>DebugGrid</include>
        <control type="label">
            <include>DialogID</include>
            <label>DialogYesNo.xml</label>
        </control>
    </controls>
</window>