Wiki Navigation
- Loading...
Purpose
This control aggregates the look and behavior of the check mark control and the button control.
Description of change
An example checkbutton can be see in the following screenshot. As the button is clicked the check mark image toggles on/off.
Example of skin xml:
<control> <description>automatically turn on tv</description> <type>checkbutton</type> <id>24</id> <label>6006</label> <onleft>11</onleft> <onright>11</onright> <onup>23</onup> <ondown>28</ondown> <textureCheckmark>check-box.png</textureCheckmark> <textureCheckmarkNoFocus>check-boxNF.png</textureCheckmarkNoFocus> <markWidth>16</markWidth> <markHeight>16</markHeight> <markXOff>20</markXOff> <markalign>right</markalign> <markvalign>middle</markvalign> <height>34</height> <width>995</width> <font>menu</font> <shadowAngle>45</shadowAngle> <shadowDistance>1</shadowDistance> <shadowColor>FF000000</shadowColor> <textcolor>#settings.buttonTextColor</textcolor> <textalign>left</textalign> <textvalign>middle</textvalign> <textXOff>10</textXOff> <textureFocus border="1" position="insideimage" colorKey="66FFFFFF">list-focus.png</textureFocus> <textureNoFocus>list-nofocus.png</textureNoFocus> </control>
This page has no comments.