VDJPedia

快速登录:  


 Skin Deck

Back to Skin SDK

Skin SDK: The <deck> element


The deck elements allows you to group elements together that refer to a specific deck, without having to add deck="x" in every nested skin element or deck x before their actions.

Syntax :
<deck deck="">

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"

Children: Any other skin element can be contained within a <deck deck=""></deck> element

Example:
<deck deck="left">
<button action="play_pause" ....>
<pos x="100" y="100"/>
....
</button>
<slider action="volume" ....>
<pos x="200" y="200"/>
....
</slider>
</deck>


<deck deck="right">
<button action="play_pause" ....>
<pos x="100+800" y="100"/>
....
</button>
<slider action="volume" ....>
<pos x="200+800" y="200"/>
....
</slider>
</deck>





Back to Skin SDK