Wiki Navigation
- Loading...
Purpose
This control aggregates the look and behavior of the spin control and the button control.
Description of change
An example spinbutton can be see in the following screenshot. The up/down arrows are able to be independently focused for control. As the button is clicked the focused arrow scrolls the list of available values and displays each new value to the left of the up/down arrows.
Example of skin xml:
<control> <description>de-interlacing</description> <type>spinbutton</type> <id>22</id> <label>6003</label> <onleft>11</onleft> <onright>11</onright> <onup>30</onup> <ondown>23</ondown> <textureUp>scroll-up.png</textureUp> <textureUpFocus>scroll-up-focus.png</textureUpFocus> <textureDown>scroll-down.png</textureDown> <textureDownFocus>scroll-down-focus.png</textureDownFocus> <spinWidth>16</spinWidth> <spinHeight>16</spinHeight> <spinXOff>13</spinXOff> <spinTextXOff>7</spinTextXOff> <spinalign>right</spinalign> <spinvalign>middle</spinvalign> <spintype>text</spintype> <showrange>no</showrange> <reverse>yes</reverse> <cycleItems>yes</cycleItems> <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.