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.
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.
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.
<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.
geposted Wed 26 Sep 18 @ 11:29 pm
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.
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.
geposted Thu 27 Sep 18 @ 12:43 am
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>
<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>
geposted Thu 27 Sep 18 @ 1:41 am