<mythuitheme>

    <window name="keyboard">

        <area>-1,-1,580,165</area>

        <font name="key" from="basesmall">
            <size>12</size>
        </font>

        <imagetype name="backimg">
            <filename>images/textentry_bg.png</filename>
        </imagetype>

        <!-- top row -->
        <button name="key_1">
            <position>26,29</position>
            <statetype name="buttonstate">
                <state name="active">
                    <shape name="item">
                        <area>0,0,43,43</area>
                        <type>box</type>
                        <fill color="#333333" alpha="180" />
                    </shape>
                    <textarea name="text">
                        <area>0,0,43,43</area>
                        <align>allcenter</align>
                        <font>basesmall</font>
                    </textarea>
                </state>
                <state name="selected" from="active">
                    <shape name="item">
                        <area>0,0,43,43</area>
                        <type>box</type>
                        <fill color="#0767AB" alpha="180" />
                    </shape>
                </state>
                <state name="disabled" from="active" />
                <state name="pushed" from="selected" />
            </statetype>
        </button>

        <button name="key_2" from="key_1">
            <position>73,29</position>
        </button>
        <button name="key_3" from="key_1">
            <position>120,29</position>
        </button>
        <button name="key_4" from="key_1">
            <position>167,29</position>
        </button>
        <button name="key_5" from="key_1">
            <position>214,29</position>
        </button>
        <button name="key_6" from="key_1">
            <position>261,29</position>
        </button>
        <button name="key_7" from="key_1">
            <position>308,29</position>
        </button>
        <button name="key_8" from="key_1">
            <position>355,29</position>
        </button>
        <button name="key_9" from="key_1">
            <position>402,29</position>
        </button>
        <button name="key_0" from="key_1">
            <position>449,29</position>
        </button>
        <button name="key_-" from="key_1">
            <position>496,29</position>
        </button>
        <button name="key_=" from="key_1">
            <position>543,29</position>
        </button>
        <button name="key_#" from="key_1">
            <position>590,29</position>
        </button>
        <button name="key_`" from="key_1">
            <position>637,29</position>
        </button>

        <!-- row 2 -->
        <button name="key_q" from="key_1">
            <position>31,77</position>
        </button>
        <button name="key_w" from="key_1">
            <position>78,77</position>
        </button>
        <button name="key_e" from="key_1">
            <position>125,77</position>
        </button>
        <button name="key_r" from="key_1">
            <position>172,77</position>
        </button>
        <button name="key_t" from="key_1">
            <position>219,77</position>
        </button>
        <button name="key_y" from="key_1">
            <position>266,77</position>
        </button>
        <button name="key_u" from="key_1">
            <position>313,77</position>
        </button>
        <button name="key_i" from="key_1">
            <position>360,77</position>
        </button>
        <button name="key_o" from="key_1">
            <position>407,77</position>
        </button>
        <button name="key_p" from="key_1">
            <position>454,77</position>
        </button>
        <button name="key_[" from="key_1">
            <position>501,77</position>
        </button>
        <button name="key_]" from="key_1">
            <position>548,77</position>
        </button>

        <!-- row 3 -->
        <button name="key_a" from="key_1">
            <position>43,125</position>
        </button>
        <button name="key_s" from="key_1">
            <position>90,125</position>
        </button>
        <button name="key_d" from="key_1">
            <position>137,125</position>
        </button>
        <button name="key_f" from="key_1">
            <position>184,125</position>
        </button>
        <button name="key_g" from="key_1">
            <position>231,125</position>
        </button>
        <button name="key_h" from="key_1">
            <position>278,125</position>
        </button>
        <button name="key_j" from="key_1">
            <position>325,125</position>
        </button>
        <button name="key_k" from="key_1">
            <position>372,125</position>
        </button>
        <button name="key_l" from="key_1">
            <position>419,125</position>
        </button>
        <button name="key_;" from="key_1">
            <position>466,125</position>
        </button>
        <button name="key_'" from="key_1">
            <position>513,125</position>
        </button>

        <!-- row 4 -->
        <button name="key_\" from="key_1">
            <position>25,173</position>
        </button>
        <button name="key_z" from="key_1">
            <position>72,173</position>
        </button>
        <button name="key_x" from="key_1">
            <position>119,173</position>
        </button>
        <button name="key_c" from="key_1">
            <position>166,173</position>
        </button>
        <button name="key_v" from="key_1">
            <position>213,173</position>
        </button>
        <button name="key_b" from="key_1">
            <position>260,173</position>
        </button>
        <button name="key_n" from="key_1">
            <position>307,173</position>
        </button>
        <button name="key_m" from="key_1">
            <position>354,173</position>
        </button>
        <button name="key_," from="key_1">
            <position>401,173</position>
        </button>
        <button name="key_." from="key_1">
            <position>448,173</position>
        </button>
        <button name="key_/" from="key_1">
            <position>495,173</position>
        </button>

        <!-- row 5 -->
        <button name="key_space">
            <position>203,221</position>
            <statetype name="buttonstate">
                <state name="active">
                    <shape name="item">
                        <area>0,0,170,43</area>
                        <type>box</type>
                        <fill color="#333333" alpha="180" />
                    </shape>
                    <textarea name="text">
                        <area>0,0,170,43</area>
                        <align>allcenter</align>
                        <font>basemedium</font>
                    </textarea>
                </state>
                <state name="selected" from="active">
                    <shape name="item">
                        <area>0,0,170,43</area>
                        <type>box</type>
                        <fill color="#0767AB" alpha="180" />
                    </shape>
                </state>
                <state name="disabled" from="active" />
                <state name="pushed" from="selected" />
            </statetype>
        </button>

        <!-- special keys -->
        <button name="key_lshift">
            <position>25,221</position>
            <statetype name="buttonstate">
                <state name="active">
                    <shape name="item">
                        <area>0,0,85,43</area>
                        <type>box</type>
                        <fill color="#333333" alpha="180" />
                    </shape>
                    <textarea name="text">
                        <area>0,0,85,43</area>
                        <align>allcenter</align>
                        <font>basesmall</font>
                        <value>Shift</value>
                    </textarea>
                    <imagetype name="arrow">
                        <position>33,9</position>
                        <filename>keyboard/shiftarrow.png</filename>
                    </imagetype>
                </state>
                <state name="selected" from="active">
                    <shape name="item">
                        <area>0,0,85,43</area>
                        <type>box</type>
                        <fill color="#0767AB" alpha="180" />
                    </shape>
                </state>
                <state name="disabled" from="active" />
                <state name="pushed" from="selected" />
            </statetype>
        </button>
        <button name="key_lock">
            <position>114,221</position>
                <statetype name="buttonstate">
                <state name="active">
                    <shape name="item">
                        <area>0,0,85,43</area>
                        <type>box</type>
                        <fill color="#333333" alpha="180" />
                    </shape>
                    <textarea name="text">
                        <area>0,0,85,43</area>
                        <align>allcenter</align>
                        <font>basesmall</font>
                    </textarea>
                </state>
                <state name="selected" from="active">
                    <shape name="item">
                        <area>0,0,85,43</area>
                        <type>box</type>
                        <fill color="#0767AB" alpha="180" />
                    </shape>
                </state>
                <state name="disabled" from="active" />
                <state name="pushed" from="selected" />
            </statetype>
        </button>
        <button name="key_moveleft">
            <position>455,221</position>
            <statetype name="buttonstate">
                <state name="active">
                    <shape name="item">
                        <area>0,0,65,43</area>
                        <type>box</type>
                        <fill color="#333333" alpha="180" />
                    </shape>
                    <imagetype name="arrow">
                        <position>13,14</position>
                        <filename>keyboard/leftarrow.png</filename>
                    </imagetype>
                    <textarea name="text">
                        <area>0,0,65,43</area>
                        <align>allcenter</align>
                        <font>basesmall</font>
                    </textarea>
                </state>
                <state name="selected" from="active">
                    <shape name="item">
                        <area>0,0,65,43</area>
                        <type>box</type>
                        <fill color="#0767AB" alpha="180" />
                    </shape>
                </state>
                <state name="disabled" from="active" />
                <state name="pushed" from="selected" />
            </statetype>
        </button>
        <button name="key_moveright">
            <position>524,221</position>
                <statetype name="buttonstate">
                <state name="active">
                    <shape name="item">
                        <area>0,0,65,43</area>
                        <type>box</type>
                        <fill color="#333333" alpha="180" />
                    </shape>
                    <imagetype name="arrow">
                        <position>13,14</position>
                        <filename>keyboard/rightarrow.png</filename>
                    </imagetype>
                    <textarea name="text">
                        <area>0,0,65,43</area>
                        <align>allcenter</align>
                        <font>basesmall</font>
                    </textarea>
                </state>
                <state name="selected" from="active">
                    <shape name="item">
                        <area>0,0,65,43</area>
                        <type>box</type>
                        <fill color="#0767AB" alpha="180" />
                    </shape>
                </state>
                <state name="disabled" from="active" />
                <state name="pushed" from="selected" />
            </statetype>
        </button>
        <button name="key_rshift">
            <position>594,221</position>
            <statetype name="buttonstate">
                <state name="active">
                    <shape name="item">
                        <area>0,0,87,43</area>
                        <type>box</type>
                        <fill color="#333333" alpha="180" />
                    </shape>
                    <imagetype name="arrow">
                        <position>33,9</position>
                        <filename>keyboard/shiftarrow.png</filename>
                    </imagetype>
                    <textarea name="text">
                        <area>0,0,87,43</area>
                        <align>allcenter</align>
                        <font>basesmall</font>
                        <value>Shift</value>
                    </textarea>
                </state>
                <state name="selected" from="active">
                    <shape name="item">
                        <area>0,0,87,43</area>
                        <type>box</type>
                        <fill color="#0767AB" alpha="180" />
                    </shape>
                </state>
                <state name="disabled" from="active" />
                <state name="pushed" from="selected" />
            </statetype>
        </button>
        <button name="key_back">
            <position>595,77</position>
                    <statetype name="buttonstate">
                <state name="active">
                    <shape name="item">
                        <area>0,0,85,43</area>
                        <type>box</type>
                        <fill color="#333333" alpha="180" />
                    </shape>
                    <textarea name="text">
                        <area>0,0,85,43</area>
                        <align>allcenter</align>
                        <font>basesmall</font>
                    </textarea>
                </state>
                <state name="selected" from="active">
                    <shape name="item">
                        <area>0,0,85,43</area>
                        <type>box</type>
                        <fill color="#0767AB" alpha="180" />
                    </shape>
                </state>
                <state name="disabled" from="active" />
                <state name="pushed" from="selected" />
            </statetype>
        </button>
        <button name="key_comp" from="key_back">
            <position>542,173</position>
        </button>
        <button name="key_del">
            <position>631,173</position>
            <statetype name="buttonstate">
                <state name="active">
                    <shape name="item">
                        <area>0,0,50,43</area>
                        <type>box</type>
                        <fill color="#333333" alpha="180" />
                    </shape>
                    <textarea name="text">
                        <area>0,0,50,43</area>
                        <align>allcenter</align>
                        <font>basesmall</font>
                    </textarea>
                </state>
                <state name="selected" from="active">
                    <shape name="item">
                        <area>0,0,50,43</area>
                        <type>box</type>
                        <fill color="#0767AB" alpha="180" />
                    </shape>
                </state>
                <state name="disabled" from="active" />
                <state name="pushed" from="selected" />
            </statetype>
        </button>
        <button name="key_done">
            <position>560,125</position>
            <statetype name="buttonstate">
                <state name="active">
                    <shape name="item">
                        <area>0,0,120,43</area>
                        <type>box</type>
                        <fill color="#333333" alpha="180" />
                    </shape>
                    <imagetype name="arrow">
                        <position>40,15</position>
                        <filename>keyboard/returnarrow.png</filename>
                    </imagetype>
                    <textarea name="text">
                        <area>0,0,120,43</area>
                        <align>allcenter</align>
                        <font>basesmall</font>
                        <value>Done</value>
                    </textarea>
                </state>
                <state name="selected" from="active">
                    <shape name="item">
                        <area>0,0,120,43</area>
                        <type>box</type>
                        <fill color="#0767AB" alpha="180" />
                    </shape>
                </state>
                <state name="disabled" from="active" />
                <state name="pushed" from="selected" />
            </statetype>
        </button>
        <button name="key_alt">
            <position>376,221</position>
            <statetype name="buttonstate">
                <state name="active">
                    <shape name="item">
                        <area>0,0,76,43</area>
                        <type>box</type>
                        <fill color="#333333" alpha="180" />
                    </shape>
                    <textarea name="text">
                        <area>0,0,76,43</area>
                        <align>allcenter</align>
                        <font>basesmall</font>
                    </textarea>
                </state>
                <state name="selected" from="active">
                    <shape name="item">
                        <area>0,0,76,43</area>
                        <type>box</type>
                        <fill color="#0767AB" alpha="180" />
                    </shape>
                </state>
                <state name="disabled" from="active" />
                <state name="pushed" from="selected" />
            </statetype>
        </button>

    </window>

</mythuitheme>
