Quick Sign In:  

Forum: VirtualDJ Skins

Topic: Just a suggestion:

This topic is old and might contain outdated or incorrect information.

From the Skins SDK:
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


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...
 

Posted Mon 12 Apr 10 @ 2:37 am
1+

Greets
 

Posted Mon 12 Apr 10 @ 7:14 am
JeremKPRO InfinityModeratorMember since 2004
I will update the Skin SDK next week.
 

Posted Mon 12 Apr 10 @ 10:09 am
Thanks Jerem!
 

Posted Tue 13 Apr 10 @ 2:58 am
@ jeremK

Nice to hear this ;-P
 

Posted Tue 13 Apr 10 @ 2:04 pm
VERY GOOD THE POSS
GREETINGS FROM ARGENTINA
 

Posted Tue 20 Apr 10 @ 8:49 pm


(Old topics and forums are automatically closed)