Ingreso rápido:  

Forum: VirtualDJ Skins

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

Este tópico es antiguo y puede contener información incorrecta para la nueva versión.

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.


 

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

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

Mensajes Thu 27 Sep 18 @ 1:41 am


(Los tópicos y foros antiguos son automáticamente cerrados)