Connexion rapide:  

Forum: VirtualDJ Skins

Sujet Scratch

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

zanardPRO InfinityMember since 2003
Hi guys I have a problem:
when I view the sidelist above the jog wheel I see the mouse cursor.
If I move the mouse wheel it scratches me.
How can I hide the scratch slider on the side list?
Thanks.
Zanard.
 

Posté Mon 02 Dec 19 @ 9:40 am
You need to use a condition on the panel that has the scratch disk and use two different mouse masks. One for when the sideview is not visible, and one for when it's visible.
 

Posté Mon 02 Dec 19 @ 9:47 am
zanardPRO InfinityMember since 2003
PhantomDeejay wrote :
You need to use a condition on the panel that has the scratch disk and use two different mouse masks. One for when the sideview is not visible, and one for when it's visible.


Thank George.
Can you give an example?
 

Posté Mon 02 Dec 19 @ 11:45 am
<scratch visibility="var_equal 'BrowserOver' 0">
...
<mousemask x="5" y="1100"/>
</scratch>
<scratch visibility="var_equal 'BrowserOver' 1">
...
<mousemask x="805" y="1100"/>
</scratch>
<browser visibility="var_equal 'BrowserOver' 1">
...
</browser>

In this example you have two scratch elements for the same jog, that are identical. You only change when each one is "visible" (and takes effect)
Then, for each scratch element you set a different mousemask (as in order to determine when mouse has effect over scratch area or not)
 

Posté Mon 02 Dec 19 @ 12:38 pm
zanardPRO InfinityMember since 2003
PhantomDeejay wrote :
<scratch visibility="var_equal 'BrowserOver' 0">
...
<mousemask x="5" y="1100"/>
</scratch>
<scratch visibility="var_equal 'BrowserOver' 1">
...
<mousemask x="805" y="1100"/>
</scratch>
<browser visibility="var_equal 'BrowserOver' 1">
...
</browser>

In this example you have two scratch elements for the same jog, that are identical. You only change when each one is "visible" (and takes effect)
Then, for each scratch element you set a different mousemask (as in order to determine when mouse has effect over scratch area or not)


Thanks George, but it is not clear to me.
I'll give you my example:
When I press the button the fileview opens above jog
From your example I should integrate in the panel 'list' the variable <scratch visibility = "var_equal 'BrowserOver' 1"> to turn off the mouse?


<button action="skin_pannel 'list' on">
...
<button/>

<panel id="list" group="master" visible="no" >
<scratch visibility="var_equal 'BrowserOver' 1">
...
</scratch>
<fileview>
....
</fileview>
</panel>
 

Posté Mon 02 Dec 19 @ 2:23 pm
zanard wrote :

When I press the button the fileview opens above jog


What's the code of that button ?
 

Posté Mon 02 Dec 19 @ 3:04 pm
zanardPRO InfinityMember since 2003
PhantomDeejay wrote :
zanard wrote :

When I press the button the fileview opens above jog


What's the code of that button ?



 

Posté Mon 02 Dec 19 @ 5:47 pm
Yes, I need the actual action(s) of the button(s) in order to help you more.
Obviously the button has an action that makes the song list to appear. I need to see that action in order to tell you how to modify it so that in conjunction with the code I gave you for scratch elements it fixes the problem
 

Posté Mon 02 Dec 19 @ 6:33 pm
zanardPRO InfinityMember since 2003
PhantomDeejay wrote :
Yes, I need the actual action(s) of the button(s) in order to help you more.
Obviously the button has an action that makes the song list to appear. I need to see that action in order to tell you how to modify it so that in conjunction with the code I gave you for scratch elements it fixes the problem


<button action="skin_pannel 'list' on">
<size width="132" height="21"/>
<pos x="820" y="1405"/>
<text size="20" weight="bold"color="#5F5F61" align="CENTER" format="SONG LIST"/>
<textselected weight="bold"size="20" align="CENTER" color="#9D9E9E" format="SONG LIST"/>
<textover weight="bold"size="20" align="CENTER" color="#9D9E9E" format="SONG LIST"/>
<button/>

<panel id="list" group="master" visible="no" >
<square border="5" border_color="#222328" radius="10">
<size width="1412" height="1481"/>
<pos x="-625" y="100"/>
<gradient x="" y="" type="vertical" color1="#090A0C" color2="#00000"/>
</square>

<fileview>
<size width="775" height="1465"/>
<pos x="1" y="110"/>
<colors background="#070707">
<toolbars background="#171717" text="#9D9E9E" iconbackground="black" border="#222328" />
<lists background="black" stripes="#1E1D20" over="#3B3003" overstripes="#3B3003" selected="#4D3F08" focus="#8A7213" text="#9D9E9E" overtext="#FCF6C2" selectedtext="white" focustext="white" automix="#2E2E2E"/>
<grids background="#171717" over="#3B3003" selected="#4D3F08" focus="#8A7213" text="#FCF6C2" overtext="#FCF6C2" selectedtext="#FCF6C2" focustext="white" stripes="#2E2E2E" overstripes="#3B3003" selectedstripes="#4D3F08" focusstripes="#4D3F08" label="white" />
<columns background="#222328" text="#B2B3B3" />
<scrollbars background="#222328" button="white" />
</colors>
<font size="20" name="" />
<fontheader size="20" />
<fontgridtitle size="20" />
</fileview>
</panel>
 

Posté Mon 02 Dec 19 @ 6:38 pm
<button action="toggle '$BrowserOver' & var_equal '$BrowserOver' 1 ? skin_pannel 'list' on : skin_pannel 'list' off">
...


And on the scratch elements

<scratch visibility = "var_equal '$BrowserOver' 0">
...
</scratch>

AND

<scratch visibility = "var_equal '$BrowserOver' 1">
...
</scratch>
 

Posté Mon 02 Dec 19 @ 7:03 pm
zanardPRO InfinityMember since 2003
PhantomDeejay wrote :
<button action="toggle '$BrowserOver' & var_equal '$BrowserOver' 1 ? skin_pannel 'list' on : skin_pannel 'list' off">
...


And on the scratch elements

<scratch visibility = "var_equal '$BrowserOver' 0">
...
</scratch>

AND

<scratch visibility = "var_equal '$BrowserOver' 1">
...
</scratch>


If I did it right, it doesn't work..
==============================================================
<button action="toggle '$BrowserOver' & var_equal '$BrowserOver' 1 ? skin_pannel 'list' on : skin_pannel 'list' off">
<size width="132" height="21"/>
<pos x="820" y="1375"/>
<text size="20" weight="bold"color="#5F5F61" align="CENTER" format="MASTER MIXER"/>
<textselected weight="bold"size="20" align="CENTER" color="#9D9E9E" format="MASTER MIXER"/>
<textover weight="bold"size="20" align="CENTER" color="#9D9E9E" format="MASTER MIXER"/>
</button>
<panel id="list" group="master" visible="no" >
<scratch visibility = "var_equal '$BrowserOver' 0" deck="left">
<size width="935" height="1223"/>
<pos x="3" y="100"/>
<mousemask x="358" y="3790+161"/>
</scratch>
<scratch visibility = "var_equal '$BrowserOver' 1" deck="left">
<size width="935" height="1223"/>
<pos x="3" y="100"/>
<mousemask x="358" y="3790+161"/>
</scratch>
<square border="5" border_color="#222328" radius="10">
<size width="1412" height="1481"/>
<pos x="-625" y="100"/>
<gradient x="" y="" type="vertical" color1="#090A0C" color2="#00000"/>
</square>

<fileview>
<size width="775" height="1465"/>
<pos x="1" y="110"/>
<colors background="#070707">
<toolbars background="#171717" text="#9D9E9E" iconbackground="black" border="#222328" />
<lists background="black" stripes="#1E1D20" over="#3B3003" overstripes="#3B3003" selected="#4D3F08" focus="#8A7213" text="#9D9E9E" overtext="#FCF6C2" selectedtext="white" focustext="white" automix="#2E2E2E"/>
<grids background="#171717" over="#3B3003" selected="#4D3F08" focus="#8A7213" text="#FCF6C2" overtext="#FCF6C2" selectedtext="#FCF6C2" focustext="white" stripes="#2E2E2E" overstripes="#3B3003" selectedstripes="#4D3F08" focusstripes="#4D3F08" label="white" />
<columns background="#222328" text="#B2B3B3" />
<scrollbars background="#222328" button="white" />
</colors>
<font size="20" name="" />
<fontheader size="20" />
<fontgridtitle size="20" />
</fileview>
</panel>
 

Posté Mon 02 Dec 19 @ 7:27 pm
zanardPRO InfinityMember since 2003
Thanks George works perfectly!
Fabio.
 

Posté Tue 03 Dec 19 @ 10:11 am


(Les anciens sujets et forums sont automatiquement fermés)