Wiki Navigation
- Loading...
Purpose
- Required: No
- Type of Change: Feature
Implement feature to allow settings the width and height of the texture of a SelectButton control.
Description of Change
The SelectButton has not allowed the left, right, left focused, and right focused texture sizes to be changed. This change enables the width and height of each of these four textures to be set by the skin designer. Example:
<textureLeftHeight>21</textureLeftHeight> <textureLeftWidth>21</textureLeftWidth> <textureLeftFocusHeight>21</textureLeftFocusHeight> <textureLeftFocusWidth>21</textureLeftFocusWidth> <textureRightHeight>21</textureRightHeight> <textureRightWidth>21</textureRightWidth> <textureRightFocusHeight>21</textureRightFocusHeight> <textureRightFocusWidth>21</textureRightFocusWidth>
See also SelectButton.
Additional Information and References
Mantis Issue: |
|
---|---|
Related xml(s): |
|
Windows IDs: |
|
Related GUI control: |
|
Author: |
ajp8164 |
Date added: |
Tue, 25 Sep 2012 |
XML/Code Samples
<control> <description>default select button</description> <type>selectbutton</type> <id>0</id> <posX>97</posX> <posY>287</posY> <width>260</width> <height>40</height> <label>457</label> <textXOff>26</textXOff> <textYOff>4</textYOff> <textXOff2>17</textXOff2> <textYOff2>6</textYOff2> <textureFocus>button_focus.png</textureFocus> <textureNoFocus>button_nofocus.png</textureNoFocus> <texturebg>button_focus.png</texturebg> <textureLeft>arrow_round_left_nofocus.png</textureLeft> <textureLeftHeight>21</textureLeftHeight> <textureLeftWidth>21</textureLeftWidth> <textureLeftFocus>arrow_round_left_focus.png</textureLeftFocus> <textureLeftFocusHeight>21</textureLeftFocusHeight> <textureLeftFocusWidth>21</textureLeftFocusWidth> <textureRight>arrow_round_right_nofocus.png</textureRight> <textureRightHeight>21</textureRightHeight> <textureRightWidth>21</textureRightWidth> <textureRightFocus>arrow_round_right_focus.png</textureRightFocus> <textureRightFocusHeight>21</textureRightFocusHeight> <textureRightFocusWidth>21</textureRightFocusWidth> <font>font12</font> <textcolor>ffffffff</textcolor> <colordiffuse>ffffffff</colordiffuse> <disabledcolor>ffffcc00</disabledcolor> <textcolorNoFocus>ffa9d0f7</textcolorNoFocus> <dimColor>ffcccccc</dimColor> <disabledcolor>60ffffff</disabledcolor> <animation effect="zoom" start="100,100" end="105,105" time="50">focus</animation> <animation effect="zoom" start="105,105" end="100,100" time="50">unfocus</animation> </control>
Screenshots
This page has no comments.