|
The tag <item type="button_exit"> CHANGES the values for the Exit-Button. As per default it sits in the lower right of the screen, is red anhas white text.
It takes the following parameters, one per line:
- <position ... />
Specifies the center of the button. Takes two arguments x="" and y=""
specifying the X and Y coordinates respectively as a floating point
value.
Examples:
<position x="0.0" y="0.0" />
Places the button at the center of the screen
<position x="-40.0" y="-40.0" />
Places the button in the top left part of the screen.
<position x="40.0" y="40.0" />
Places the button in the lower right part of the screen.
- <size ... />
Specifies the size of the button. Takes two arguments w="" and h=""
specifying the width and height respectively as a floating point value.
Examples:
<size w="40.0" h="20.0" />
Makes the button twice as wide as it its height.
<size w="10.0" h="50" />
Makes the button a thin, vertical line.
- <text>...</text>
Specifies the text the button will have.
Examples:
<text>Exit</text>
Will display "Exit"
<text>LVP sucks, now shut this fuck down and get back to work</text>
Will display your feelings about this work on the Exit-Button :)
|