快速登录:  

Forum: VirtualDJ Skins

话题: Can someone help with screen resolution sizes for remote app - Page: 2

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

djdadPRO InfinityDevelopment ManagerMember since 2005
You can use panels the way you were doing in version 7, but the best way would be to use the ver 8 syntax where elements are children of the <panel> instead of adding panel="panelname" to each panel elements.

<panel name="panel_1" group="mypanels" visible="yes">
.....
Include here all elements that you need to show inside panel_1
....
</panel>

<panel name="panel_2" group="mypanels" visible="no">
.....
Include here all elements that you need to show inside panel_2
....
</panel>

<panel name="panel_3" group="mypanels" visible="no">
.....
Include here all elements that you need to show inside panel_3
....
</panel>


Another way is to create panels with visibility="" instead of group="", name="" and visible="". This is useful when you want to use VDJ scripts as criteria to show or hide panels. E.g.
<panel visibility="deck 1 leftdeck">
....
</panel>
<panel visibility="deck 3 leftdeck">
....
</panel>

These panels will show up when the the visibility="" action becomes true, so their visible status is not stored in settings, and you dont need any group or name.


 

发表时间 Wed 26 Sep 18 @ 11:29 pm
DJ FORMATPRO InfinityModeratorMember since 2003
Thank you buddy for taking the time to explain . The problem is with the old system You have to create a graphics file for each panel. Which meant a lot of files . Which way would you recommend For best performance .

And how would the code work for the button related to the panel ? I am using dictation so I hope you are making sense of everything I am saying.
 

发表时间 Thu 27 Sep 18 @ 12:43 am
DJ FORMATPRO InfinityModeratorMember since 2003
so is this right

<button action="skin_panel 'loppsleft' on">
<pos x="" y=""/>
<size width="" height=""/>
<off x="" y=""/>
<on x="" y=""/>
<icon x="" y=""/>
</button>

<button action="skin_panel 'fxleft' off">
<pos x="" y=""/>
<size width="" height=""/>
<off x="" y=""/>
<on x="" y=""/>
<icon x="" y=""/>
</button>

<button action="skin_panel 'hotcueleft' off">
<pos x="" y=""/>
<size width="" height=""/>
<off x="" y=""/>
<on x="" y=""/>
<icon x="" y=""/>
</button>

<button action="skin_panel 'samplesleft' off">
<pos x="" y=""/>
<size width="" height=""/>
<off x="" y=""/>
<on x="" y=""/>
<icon x="" y=""/>
</button>

<group name="deckpanelbuttons">

<panel name="loppsleft" group="deckpanelbuttons" visible="yes">
<pos x="" y=""/>
<size width="" height=""/>
<off x="" y=""/>
<on x="" y=""/>
</panel>

<panel name="fxleft" group="deckpanelbuttons" visible="no">
<pos x="" y=""/>
<size width="" height=""/>
<off x="" y=""/>
<on x="" y=""/>
</panel>

<panel name="hotcueleft" group="deckpanelbuttons" visible="no">
<pos x="" y=""/>
<size width="" height=""/>
<off x="" y=""/>
<on x="" y=""/>
</panel>

<panel name="samplesleft" group="deckpanelbuttons" visible="no">
<pos x="" y=""/>
<size width="" height=""/>
<off x="" y=""/>
<on x="" y=""/>
</panel>

</group>
 

发表时间 Thu 27 Sep 18 @ 1:41 am


(陈旧帖子或论坛版块会自动关闭)