<?xml version="1.0" encoding="UTF-8"?>
<window id="103">
    <defaultcontrol always="true">300</defaultcontrol>
    <menucontrol>9000</menucontrol>

    <controls>
        <control type="group">
            <visible>!Window.IsVisible(numericinput)</visible>
            <posy>PosYForKeyboardDialog</posy>
            <include content="WindowForDialog">
                <param name="height" value="HeightForKeyboardDialog" />
                <param name="headerid" value ="311" />
                <param name="icontexture" value ="icons/icon-keyboard.png" />
            </include>

            <control type="group">
                <posx>560</posx>
                <posy>0</posy>
            
                <control type="group">
                    <visible>!System.HasHiddenInput + System.HasAddon(plugin.program.autocompletion) + Skin.HasSetting(Keyboard.AutoCompleteActive)</visible>
                    <animation type="Conditional" reversible="false" condition="!String.IsEmpty(Container(5000).ListItem.Label)">
                        <effect type="fade" end="100" time="200" />
                        <effect type="slide" start="0,260" end="0,0" time="200" tween="cubic" easing="out" />
                    </animation>    
                    <animation type="Conditional" reversible="false" condition="String.IsEmpty(Container(5000).ListItem.Label)">
                        <effect type="fade" start="100" end="0" time="200" />
                        <effect type="slide" start="0,0" end="0,260" time="200" tween="cubic" easing="out" />
                    </animation>
                    <posy>-260</posy>
                    
                    <control type="image">
                        <width>1225</width>
                        <height>360</height>
                        <texture colordiffuse="$VAR[BackgroundColor]" border="20">controls/rectangle-fill.png</texture>
                        <aspectratio>stretch</aspectratio>
                    </control>

                    <control type="list" id="5000">
                        <posx>20</posx>
                        <posy>20</posy>
                        <width>1185</width>
                        <height>320</height>
                        <orientation>vertical</orientation>
                        <onup>32</onup>
                        <ondown>312</ondown>
                        
                        <itemlayout height="40" width="1185">
                            <control type="label">
                                <posx>20</posx>
                                <width>1145</width>
                                <textcolor>$VAR[MainColor]</textcolor>
                                <label>$INFO[ListItem.Label]</label>
                            </control>
                        </itemlayout>
                        
                        <focusedlayout height="40" width="1185">
                            <control type="group">
                                <visible>Control.HasFocus(5000)</visible>
                                <control type="image">
                                    <width>1185</width>
                                    <height>40</height>
                                    <texture colordiffuse="$VAR[MainColor]" border="20">controls/rectangle-fill.png</texture>
                                    <aspectratio>stretch</aspectratio>
                                </control>
                                <control type="label">
                                    <posx>20</posx>
                                    <width>1145</width>
                                    <height>40</height>
                                    <textcolor>$VAR[BackgroundColor]</textcolor>
                                    <label>$INFO[ListItem.Label]</label>
                                </control>
                            </control>

                            <control type="label">
                                <visible>!Control.HasFocus(5000)</visible>
                                <posx>20</posx>
                                <width>1145</width>
                                <textcolor>$VAR[MainColor]</textcolor>
                                <label>$INFO[ListItem.Label]</label>
                            </control>
                        </focusedlayout>
                        
                        <content>$VAR[AutoCompletionAddon]</content>
                    </control>        
                </control>
                
                <control type="image">
                    <posx>0</posx>
                    <posy>80</posy>
                    <width>1225</width>
                    <height>68</height>
                    <texture colordiffuse="$VAR[MainColor]" border="20">controls/rectangle-clear.png</texture>
                    <aspectratio>stretch</aspectratio>
                </control>

                <control type="edit" id="312">
                    <description>Edit Text</description>
                    <posx>4</posx>
                    <posy>84</posy>
                    <width>1217</width>
                    <height>60</height>
                    <align>center</align>
                    <onup>5000</onup>
                    <ondown>102</ondown>
                </control>

                <control type="group">
                    <posx>0</posx>
                    <posy>160</posy>

                    <control type="grouplist"> 
                        <itemgap>0</itemgap> 
                        <orientation>horizontal</orientation> 
                        <onleft>309</onleft>

                        <control type="radiobutton" id="303">
                            <description>Caps Lock Button</description> 
                            <width>400</width> 
                            <height>72</height> 
                            <align>center</align> 
                            <aligny>center</aligny> 
                            <label>$LOCALIZE[20179]</label> 
                            <onup>312</onup>
                            <ondown>302</ondown> 
                        </control>
                        
                        <control type="button" id="100">
                            <width>75</width>
                            <height>72</height>
                            <onup>312</onup>
                            <ondown>120</ondown>
                        </control>

                        <control type="button" id="101">
                            <width>75</width>
                            <height>72</height>
                            <onup>312</onup>
                            <ondown>121</ondown>
                        </control>

                        <control type="button" id="102">
                            <width>75</width>
                            <height>72</height>
                            <onup>312</onup>
                            <ondown>122</ondown>
                        </control>

                        <control type="button" id="103">
                            <width>75</width>
                            <height>72</height>
                            <onup>312</onup>
                            <ondown>123</ondown>
                        </control>

                        <control type="button" id="104">
                            <width>75</width>
                            <height>72</height>
                            <onup>312</onup>
                            <ondown>124</ondown>
                        </control>

                        <control type="button" id="105">
                            <width>75</width>
                            <height>72</height>
                            <onup>312</onup>
                            <ondown>125</ondown>
                        </control>

                        <control type="button" id="106">
                            <width>75</width>
                            <height>72</height>
                            <onup>312</onup>
                            <ondown>126</ondown>
                        </control>

                        <control type="button" id="107">
                            <width>75</width>
                            <height>72</height>
                            <onup>312</onup>
                            <ondown>127</ondown>
                        </control>

                        <control type="button" id="108">
                            <width>75</width>
                            <height>72</height>
                            <onup>312</onup>
                            <ondown>128</ondown>
                        </control>

                        <control type="button" id="109">
                            <width>75</width>
                            <height>72</height>
                            <onup>312</onup>
                            <ondown>129</ondown>
                        </control>

                        <control type="button" id="110">
                            <width>75</width>
                            <height>72</height>
                            <onup>312</onup>
                            <ondown>130</ondown>
                        </control>

                        <control type="button" id="111">
                            <width>75</width>
                            <height>72</height>
                            <onup>312</onup>
                            <ondown>131</ondown>
                        </control>
                    </control>

                    <control type="grouplist"> 
                        <posy>72</posy>
                        <itemgap>0</itemgap> 
                        <orientation>horizontal</orientation>
                        <onleft>309</onleft>
                        
                        <control type="radiobutton" id="302">
                            <description>Shift Button</description> 
                            <width>400</width> 
                            <height>72</height> 
                            <align>center</align> 
                            <aligny>center</aligny> 
                            <label>$LOCALIZE[20178]</label> 
                            <onup>303</onup> 
                            <ondown>307</ondown> 
                        </control>                    
                        
                        <control type="button" id="120">
                            <width>75</width>
                            <height>72</height>
                            <onup>100</onup>
                            <ondown>140</ondown>
                        </control>

                        <control type="button" id="121">
                            <width>75</width>
                            <height>72</height>
                            <onup>101</onup>
                            <ondown>141</ondown>
                        </control>

                        <control type="button" id="122">
                            <width>75</width>
                            <height>72</height>
                            <onup>102</onup>
                            <ondown>142</ondown>
                        </control>

                        <control type="button" id="123">
                            <width>75</width>
                            <height>72</height>
                            <onup>103</onup>
                            <ondown>143</ondown>
                        </control>

                        <control type="button" id="124">
                            <width>75</width>
                            <height>72</height>
                            <onup>104</onup>
                            <ondown>144</ondown>
                        </control>

                        <control type="button" id="125">
                            <width>75</width>
                            <height>72</height>
                            <onup>105</onup>
                            <ondown>145</ondown>
                        </control>

                        <control type="button" id="126">
                            <width>75</width>
                            <height>72</height>
                            <onup>106</onup>
                            <ondown>146</ondown>
                        </control>

                        <control type="button" id="127">
                            <width>75</width>
                            <height>72</height>
                            <onup>107</onup>
                            <ondown>147</ondown>
                        </control>

                        <control type="button" id="128">
                            <width>75</width>
                            <height>72</height>
                            <onup>108</onup>
                            <ondown>148</ondown>
                        </control>

                        <control type="button" id="129">
                            <width>75</width>
                            <height>72</height>
                            <onup>109</onup>
                            <ondown>149</ondown>
                        </control>

                        <control type="button" id="130">
                            <width>75</width>
                            <height>72</height>
                            <onup>110</onup>
                            <ondown>150</ondown>
                        </control>

                        <control type="button" id="131">
                            <width>75</width>
                            <height>72</height>
                            <onup>111</onup>
                            <ondown>151</ondown>
                        </control>
                    </control>

                    <control type="grouplist"> 
                        <posy>144</posy>
                        <itemgap>0</itemgap> 
                        <orientation>horizontal</orientation>
                        <onleft>309</onleft>
                        
                        <control type="button" id="307">
                            <description>IP Address Button</description> 
                            <width>400</width> 
                            <height>72</height> 
                            <align>center</align> 
                            <aligny>center</aligny> 
                            <label>$LOCALIZE[150]</label> 
                            <onup>302</onup> 
                            <ondown>304</ondown> 
                        </control>
                        
                        <control type="button" id="140">
                            <width>75</width>
                            <height>72</height>
                            <onup>120</onup>
                            <ondown>160</ondown>
                        </control>

                        <control type="button" id="141">
                            <width>75</width>
                            <height>72</height>
                            <onup>121</onup>
                            <ondown>161</ondown>
                        </control>

                        <control type="button" id="142">
                            <width>75</width>
                            <height>72</height>
                            <onup>122</onup>
                            <ondown>162</ondown>
                        </control>

                        <control type="button" id="143">
                            <width>75</width>
                            <height>72</height>
                            <onup>123</onup>
                            <ondown>163</ondown>
                        </control>

                        <control type="button" id="144">
                            <width>75</width>
                            <height>72</height>
                            <onup>124</onup>
                            <ondown>164</ondown>
                        </control>

                        <control type="button" id="145">
                            <width>75</width>
                            <height>72</height>
                            <onup>125</onup>
                            <ondown>165</ondown>
                        </control>

                        <control type="button" id="146">
                            <width>75</width>
                            <height>72</height>
                            <onup>126</onup>
                            <ondown>166</ondown>
                        </control>

                        <control type="button" id="147">
                            <width>75</width>
                            <height>72</height>
                            <onup>127</onup>
                            <ondown>167</ondown>
                        </control>

                        <control type="button" id="148">
                            <width>75</width>
                            <height>72</height>
                            <onup>128</onup>
                            <ondown>168</ondown>
                        </control>

                        <control type="button" id="149">
                            <width>75</width>
                            <height>72</height>
                            <onup>129</onup>
                            <ondown>169</ondown>
                        </control>

                        <control type="button" id="150">
                            <width>75</width>
                            <height>72</height>
                            <onup>130</onup>
                            <ondown>170</ondown>
                        </control>

                        <control type="button" id="151">
                            <width>75</width>
                            <height>72</height>
                            <onup>131</onup>
                            <ondown>171</ondown>
                        </control>
                    </control>
                    
                    <control type="grouplist"> 
                        <posy>216</posy>
                        <itemgap>0</itemgap> 
                        <orientation>horizontal</orientation>
                        <onleft>309</onleft>
                        
                        <control type="radiobutton" id="304">
                            <description>Symbols Button</description> 
                            <width>400</width> 
                            <height>72</height> 
                            <align>center</align> 
                            <aligny>center</aligny> 
                            <label>$LOCALIZE[20180]</label> 
                            <onup>307</onup> 
                            <ondown>300</ondown> 
                        </control>
                        
                        <control type="button" id="160">
                            <width>75</width>
                            <height>72</height>
                            <onup>140</onup>
                            <ondown>32</ondown>
                        </control>

                        <control type="button" id="161">
                            <width>75</width>
                            <height>72</height>
                            <onup>141</onup>
                            <ondown>32</ondown>
                        </control>

                        <control type="button" id="162">
                            <width>75</width>
                            <height>72</height>
                            <onup>142</onup>
                            <ondown>32</ondown>
                        </control>

                        <control type="button" id="163">
                            <width>75</width>
                            <height>72</height>
                            <onup>143</onup>
                            <ondown>32</ondown>
                        </control>

                        <control type="button" id="164">
                            <width>75</width>
                            <height>72</height>
                            <onup>144</onup>
                            <ondown>8</ondown>
                        </control>

                        <control type="button" id="165">
                            <width>75</width>
                            <height>72</height>
                            <onup>145</onup>
                            <ondown>8</ondown>
                        </control>

                        <control type="button" id="166">
                            <width>75</width>
                            <height>72</height>
                            <onup>146</onup>
                            <ondown>8</ondown>
                        </control>

                        <control type="button" id="167">
                            <width>75</width>
                            <height>72</height>
                            <onup>147</onup>
                            <ondown>8</ondown>
                        </control>

                        <control type="button" id="168">
                            <width>75</width>
                            <height>72</height>
                            <onup>148</onup>
                            <ondown>305</ondown>
                        </control>

                        <control type="button" id="169">
                            <width>75</width>
                            <height>72</height>
                            <onup>149</onup>
                            <ondown>305</ondown>
                        </control>

                        <control type="button" id="170">
                            <width>75</width>
                            <height>72</height>
                            <onup>150</onup>
                            <ondown>306</ondown>
                        </control>

                        <control type="button" id="171">
                            <width>75</width>
                            <height>72</height>
                            <onup>151</onup>
                            <ondown>306</ondown>
                        </control>
                    </control>
                    
                    <control type="grouplist"> 
                        <posy>288</posy>
                        <itemgap>0</itemgap> 
                        <orientation>horizontal</orientation>
                        <onleft>309</onleft>
                        
                        <control type="button" id="300">
                            <description>Done Button</description> 
                            <width>400</width> 
                            <height>72</height> 
                            <align>center</align> 
                            <aligny>center</aligny> 
                            <label>$LOCALIZE[20177]</label> 
                            <onup>304</onup> 
                            <ondown>5000</ondown> 
                        </control>
                        
                        <control type="button" id="32">
                            <description>Space Button</description> 
                            <width>300</width> 
                            <height>72</height> 
                            <align>center</align> 
                            <aligny>center</aligny> 
                            <label>$LOCALIZE[20182]</label> 
                            <onup>161</onup> 
                            <ondown>5000</ondown> 
                        </control>                    
                        
                        <control type="button" id="8">
                            <description>Backspace Button</description> 
                            <width>300</width> 
                            <height>72</height> 
                            <align>center</align> 
                            <aligny>center</aligny> 
                            <label>$LOCALIZE[20181]</label> 
                            <onup>165</onup> 
                            <ondown>5000</ondown> 
                        </control>                    
                        
                        <control type="button" id="305">
                            <description>Left Button</description>
                            <width>112</width>
                            <height>72</height>
                            <label>$LOCALIZE[31917]</label>
                            <onup>168</onup>
                            <ondown>5000</ondown>
                        </control>

                        <control type="button" id="306">
                            <description>Right Button</description>
                            <width>112</width>
                            <height>72</height>
                            <label>$LOCALIZE[31918]</label>
                            <onup>170</onup>
                            <ondown>5000</ondown>
                        </control>
                    </control>
                </control>
            </control>

            <control type="label" id="313">
                <description>HZCODE Label</description>
                <posx>40</posx>
                <posy>320</posy>
                <width>480</width>
                <height>40</height>
                <font>DialogTextFont</font>
                <textcolor>$VAR[TextColor]</textcolor>
                <align>center</align>
                <aligny>center</aligny>
                <label>-</label>
            </control>
            <control type="label" id="314">
                <description>HZLIST Label</description>
                <posx>40</posx>
                <posy>360</posy>
                <width>480</width>
                <height>40</height>
                <font>DialogTextFont</font>
                <textcolor>$VAR[TextColor]</textcolor>
                <align>center</align>
                <aligny>center</aligny>
                <label>-</label>
            </control>
            
            <control type="grouplist" id="9000">
                <include content="MarkupForButtonListForDialog">
                    <param name="posy" value="440" />
                    <param name="height" value="80" />
                </include>
                <onleft>306</onleft>
                <onright>151</onright>

                <control type="button" id="309">
                    <description>Keyboard Layout Button</description> 
                    <label>$LOCALIZE[20177]</label> 
                </control>                    
                <include content="CloseButtonForDialog">
                    <param name="id" value="29" />
                </include>
            </control>
        </control>
    </controls>
</window>
