From the Skins SDK:
Don't you think that the asterisks should be replaced with their values?
Eg:
Of course the button element is just an example...
Almost all definitions in the SDK are not named with their values but with an asterisk making it almost useless to mention what you can do without knowing how you can do it...
Finally there are a few definitions that are not really common among skins and if you want to experiment with them there are not any available examples (by examing other skins code) and it's something like hit and error...
Quote :
Then, as child elements of the "button" element, you find its definitions. The available definitions of a button are:
* : Give the width and height of the button
* : Give the position of the button on the screen
* : Give the coordinate of the graphic to use when the button is normal
* : Give the coordinate of the graphic to use when the button is pushed
* : Give the coordinate of the graphic to use when the button is selected
* : Give the coordinate of the graphic to use when the mouse is over the button
* : Give the coordinate of the graphic to use when the mouse is over the button and the button is selected
* : Give the coordinate of the graphic to use when the button is pushed and selected
* : Give the coordinate of the B&W graphic that should be used as a clip mask when drawing the button
* : Give the coordinate of the B&W graphic that should be used as a mask to decide if the mouse is over the button
* : Set a simple rect zone as a mouse mask
* : Set a simple circle zone as a mouse mask
Then, as child elements of the "button" element, you find its definitions. The available definitions of a button are:
* : Give the width and height of the button
* : Give the position of the button on the screen
* : Give the coordinate of the graphic to use when the button is normal
* : Give the coordinate of the graphic to use when the button is pushed
* : Give the coordinate of the graphic to use when the button is selected
* : Give the coordinate of the graphic to use when the mouse is over the button
* : Give the coordinate of the graphic to use when the mouse is over the button and the button is selected
* : Give the coordinate of the graphic to use when the button is pushed and selected
* : Give the coordinate of the B&W graphic that should be used as a clip mask when drawing the button
* : Give the coordinate of the B&W graphic that should be used as a mask to decide if the mouse is over the button
* : Set a simple rect zone as a mouse mask
* : Set a simple circle zone as a mouse mask
Don't you think that the asterisks should be replaced with their values?
Eg:
- Size : Give the width and height of the button
- Pos : Give the position of the button on the screen
- Over : Give the coordinate of the graphic to use when the mouse is over the button
- Selected : Give the coordinate of the graphic to use when the button is selected
- Overselsected : Give the coordinate of the graphic to use when the mouse is over the button and the button is selected
Of course the button element is just an example...
Almost all definitions in the SDK are not named with their values but with an asterisk making it almost useless to mention what you can do without knowing how you can do it...
Finally there are a few definitions that are not really common among skins and if you want to experiment with them there are not any available examples (by examing other skins code) and it's something like hit and error...
发表时间 Mon 12 Apr 10 @ 2:37 am
1+
Greets
Greets
发表时间 Mon 12 Apr 10 @ 7:14 am
I will update the Skin SDK next week.
发表时间 Mon 12 Apr 10 @ 10:09 am
Thanks Jerem!
发表时间 Tue 13 Apr 10 @ 2:58 am
@ jeremK
Nice to hear this ;-P
Nice to hear this ;-P
发表时间 Tue 13 Apr 10 @ 2:04 pm
VERY GOOD THE POSS
GREETINGS FROM ARGENTINA
GREETINGS FROM ARGENTINA
发表时间 Tue 20 Apr 10 @ 8:49 pm