快速登录:  

Forum: VirtualDJ Skins

话题: Panel for long Cuenames - Page: 3

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

1) Just set width and height of <grabzone> the window for simplicity
and add right after the <square> at beginning of xml (as you did)

Looks correct the one you did, but its only 60 px height, and could try just set it to whole window, so grabzone is anywhere outside the other elements (cues)

2) I see you added get deck select is at the first group... Probably fine, if you just mean for it to show selected deck (although could clean up a little to remove the cue actions at same first element, but minor, can skip that ... )

What you do need to do though is warp everything to obey the selected deck

so right after grabzone add
<deck deck="select>
Else cue_display 3 etc etc will not know what deck to follow (but might still work "automagically" since it might default to selected deck )


And right before the skin end </window> tag add </deck> to close the deck element

3) Fixed it for you .... you need to end the post with [/code] ... same as in XML .. opening tag and closing tag ;.-)


 

发表时间 Mon 19 Apr 21 @ 11:51 pm
Svenino wrote :
active deck...
This is not necessary, it shows always the selected decks names...


Might be true, if all works, maybe you dont need the <deck> element to wrap around all the cue groups ;-) (would be better to do, for "correctness" but if it works it works hehe)

 

发表时间 Mon 19 Apr 21 @ 11:55 pm
SveninoPRO InfinityMember since 2009
thanks a lot again for Your patience.
Got to get some sleep now and will try further tomorrow.
 

发表时间 Tue 20 Apr 21 @ 12:04 am
SveninoPRO InfinityMember since 2009
The Cuename-Panel works fine, changed the grabzone height. super...

Now I want to see, which Cuepoint is reached.
This is to orientate in the Song and know, when to play notes (written in the cuenames)
It´s kinda help for karaoke singers/players.
That for the Background color of a special cuepoint area shall change for some time.



The input for these information comes from scripts at my Launchpad.
There is an LED for each cuepoint that shows when the song is running:
8 bars before the cuepoint is reached: Color Red
4 bars before the cuepoint is reached: Color Yellow
for 4 bars from the cuepoint: Color Green

Now this info shall to be seen in the Cuelist Window (above in the last posts)

 <group name="cue group 5" x="+20" y="+20+60+60+60+60+60">
<button class="button_main" x="+0" y="+0" width="600-40" height="40" textsize="24" action="cue_name 5" textaction="cue_display 5" coloroff="button_background3" textcolor="texton" rightclick="delete_cue 5" />
<visual type="color" source="cue_color 5" visibility="1" x="+0" y="+0" width="40" height="40"/>
<textzone width="40" height="40">
<text fontsize="20" color="black" align="center" format="5"/>
</textzone>
</group>


Now 2 Questions:

1. We are in a SKIN-SCRIPT.
Can [coloroff="button_background3"] changed to [coloroff="var "$d1c5""]
And "$d1c5" is "green" or color #888800 or something like this?

2. the command [set "xy..."] seems not to work on a LED but only on a button - right?
Is there maybe the color of a LED queryable? Like [LED_4.1 yellow ? play_pause : nothing] ?

Think, this will take me some time programming, and I appreciate all help
Thank You in advance
 

发表时间 Sun 25 Apr 21 @ 5:26 pm
locoDogPRO InfinityModeratorMember since 2013
As I said earlier, maybe another thread [not real script, but the concept]

song_pos < cuepos 1 ? display text 1 : song_pos < cuepos 2 ? display text 2 : etc , etc

or you could have visibility for each cue 'element' so once it's passed it could fade away.
 

发表时间 Sun 25 Apr 21 @ 7:10 pm
SveninoPRO InfinityMember since 2009
Thanks Locodoc, but this work is already done.
The lights are doing what they shall (thanks again to Rune)
But now (as can be read above) there is some colorchanging stuff in the cuenames-window to be done.
Till now I made controller mappings and now this is about skin...
 

发表时间 Sun 25 Apr 21 @ 8:22 pm
locoDogPRO InfinityModeratorMember since 2013
1 well not sure you can use a var in place of a colour but you can [coloroff="green"]
2 leds setting are queries only, the only actions they can perform is color & blink, I don't think you can query a hw led, but since it is set by a query you could just use that to determine the state.
 

发表时间 Sun 25 Apr 21 @ 8:36 pm
SveninoPRO InfinityMember since 2009
Thank You Locodoc
 

发表时间 Mon 26 Apr 21 @ 8:35 pm


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