I'm wondering if this is possible because I can't think of an example from the default skin.
I'd like an indicator (not a button) to show if a deck is the left or right deck, I can do separate indicators/buttons no problem but I'd like a 3 state indicator
State 1 not left or right : Colour Black
State 2 left : Colour Blue
State 3 Right : Colour Red
Is it just a case of query left ? point to the blue position : query right ? point to the red position : point to the black position
I'd like an indicator (not a button) to show if a deck is the left or right deck, I can do separate indicators/buttons no problem but I'd like a 3 state indicator
State 1 not left or right : Colour Black
State 2 left : Colour Blue
State 3 Right : Colour Red
Is it just a case of query left ? point to the blue position : query right ? point to the red position : point to the black position
Inviato Sat 12 Jul 14 @ 12:42 pm
yes you can, with 2 buttons or visuals with the same coordinates
example:
button 1
on = Colour Blue
off=Colour Black
button 2
on = Colour Red
off=Colour Black
example:
button 1
on = Colour Blue
off=Colour Black
button 2
on = Colour Red
off=Colour Black
Inviato Sat 12 Jul 14 @ 2:32 pm
Ah yes, I didn't try lateral thinking.
Inviato Sat 12 Jul 14 @ 3:31 pm
Since its not a button, you can use...
<visual type="color" source="leftdeck ? constant 'blue' : rightdeck ? constant 'red' : constant 'black'" >
<pos>
<size>
</visual>
<visual type="color" ..> actually draws a rectngular (can have mask too) without any graphics from the png required. the source="" expects a text. Can be predefined colors of VirtualDj (red, blue, green, black, white, yellow ..) or html code e.g. #F05440 ..and i think it can accept RBG and ARGB .like .. 255.125.127 but you have to use the action constant.
and on top of that you can put a textzone as well.
<textzone >
..
<text .... action="leftdeck ? get_text 'LEFT' : rightdeck ? get_text 'RIGHT' : get_text '' "/>
</textzone>
<visual type="color" source="leftdeck ? constant 'blue' : rightdeck ? constant 'red' : constant 'black'" >
<pos>
<size>
</visual>
<visual type="color" ..> actually draws a rectngular (can have mask too) without any graphics from the png required. the source="" expects a text. Can be predefined colors of VirtualDj (red, blue, green, black, white, yellow ..) or html code e.g. #F05440 ..and i think it can accept RBG and ARGB .like .. 255.125.127 but you have to use the action constant.
and on top of that you can put a textzone as well.
<textzone >
..
<text .... action="leftdeck ? get_text 'LEFT' : rightdeck ? get_text 'RIGHT' : get_text '' "/>
</textzone>
Inviato Sun 13 Jul 14 @ 3:42 am
Brilliant, thanks for the reply.
Inviato Sun 13 Jul 14 @ 5:22 am