Quick Sign In:  

Forum: VirtualDJ Skins

Topic: Display wheel_mode on a skin?

This topic is old and might contain outdated or incorrect information.

Is there any way to display the current wheel_mode on the skin? The best I managed returned "off" when in jog mode, and "on" when anything else was selected.

Scratching my head on this one for a few hours, any help much appreciated.

Steve.
 

Posted Tue 01 Feb 11 @ 1:54 pm
ciocePRO InfinityMember since 2004
 

Posted Wed 02 Feb 11 @ 3:10 am
Cheers Cioce, I took a look at your skin and seeing your Vinyl mode has given me an idea for something to try.

What I was ideally after, was the ability to display the current wheel mode ("jog", "browser", "loop_in", "loop_out" etc) somewhere on the skin.

However, since looking at your skin and the fact that I want my controllers jog wheel to switch between "jog" and "browser" only, this leaves me with only off and on, which should be enough for me to have some form of visual for which mode is active. I'll give it a try, see what happens and let you know!

Steve.
 

Posted Wed 02 Feb 11 @ 4:44 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
It's possible to have such an indicator in the skin, its just a matter of scripting..

You can have a textzone inside some panels.

Create several panels like

<panel id="jog" group="jogpanels" visible="wheel_mode 'jog'"/>
<panel id="browser" group="jogpanels" visible="wheel_mode 'browser'"/>
<panel id="loopmove" group="jogpanels" visible="wheel_mode 'loop_move'"/>
..etc

then create the textones..
<textzone >
..
..
<text .............. format="JOG MODE"/>

<textzone >
..
..
<text .............. format="BROWSER MODE"/>

<textzone >
..
..
<text .............. format="LOOP MOVE MODE"/>

etc...


All panels and textzones will have the same pos and same size.

Actually this is a very nice idea for skiners :D
 

Posted Wed 02 Feb 11 @ 4:54 pm
Actually I have already implemented this on a skin I'm going to release this week with exact the same logic but I use visuals instead of textzones :P
 

Posted Wed 02 Feb 11 @ 5:08 pm
Absolute genius DjDad! Been scratching my head for ages trying to think of some way to do that! :D, I'd been trying to use a textzone by itself, setting the format="" as all sorts!

Edit, just tried this method out and it works an absolute charm. Cheers to all for the suggestions.

Edit 2:

Thought I'd expand on this by popping up the code I've used that works for my arrangement. As I use 2 XP10s, and their wheel modes can be set independently, I needed two sets of panels to tie them together. The following appears twice in the skin and where you see a "#" replace that with 1 or 2 for each deck. Stripped out sizes/position/text formatting as again, that's going to be unique to the skin it's used in.

<textzone deck="#">
<pos x="" y="" />
<size width="" height="" />
<text ... format="WHEEL MODE:" />
</textzone>

<textzone deck="#" panel="jog#">
<pos x="" y="" />
<size width="" height="" />
<text ... format="JOG" />
</textzone>

<textzone deck="#" panel="browser#">
<pos x="" y="" />
<size width="" height="" />
<text ... format="BROWSER" />
</textzone>

<panel id="jog#" group="jogpanels#" visible="deck # wheel_mode 'jog'">
<pos x="" y="" />
<size width="" height="" />
</panel>
<panel id="browser#" group="jogpanels#" visible="deck # wheel_mode 'browser'">
<pos x="" y="" />
<size width="" height="" />
</panel>
 

Posted Wed 02 Feb 11 @ 5:25 pm


(Old topics and forums are automatically closed)