Connexion rapide:  

 Skin Element Properties

Back to Skin SDK

Skin SDK: Common Element Attributes

Every skin <element> can optionally have the following attributes.

  • deck="" : Define the deck. Use deck="1|2|3|4|..etc" or deck="left|right" or deck="leftvideo|rightvideo" or deck="master" or deck="default". This is useful to avoid typing deck x in front of every VDJ Script action or text element attributes . It is still preferred to nest elements inside a <deck> container for cleaner code. See deck container.
  • visibility="" : Define the % transparency of the displayed graphics and texts. VDJ Script actions that return true or false to specify when the button will be visible or not. Tip: if you have lots of buttons with the same visibility, it is suggested and less cpu consuming to nest all buttons inside a <panel> or a <group> container with the same visibility (see Panel and Group)
  • os="" : use os="mac" or os="pc" if you need to display a skin element only when VirtualDJ is running on Window or Mac (e.g. if you need to display the close/min/maximize buttons in different places depending on the Operating system). Do not include os="" if you want the buttons to be displayed on both platforms.
  • panel="" : Provide the name of the panel that the button is part of. The skin element will be displayed only when the panel is visible. Should be avoided. It is suggested to nest elements inside a <panel> container (see Panel)

Back to Skin SDK