Quick Sign In:  

Forum: VirtualDJ Skins

Topic: Scratch

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

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.
 

Posted 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.
 

Posted 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?
 

Posted 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)
 

Posted 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>
 

Posted 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 ?
 

Posted 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 ?



 

Posted 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
 

Posted 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>
 

Posted 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>
 

Posted 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>
 

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

Posted Tue 03 Dec 19 @ 10:11 am


(Old topics and forums are automatically closed)