I tried this:
<visual type="color" deck="1" source="get_loaded_song 'color'" visibility="loaded">
<size width="134" height="134"/>
<pos x="308" y="227"/>
<clipmask x="1130" y="10"/>
</visual>
And the clipmask does not do the thing it should do.
It just does nothing. As if this line wasn't there.
<visual type="color" deck="1" source="get_loaded_song 'color'" visibility="loaded">
<size width="134" height="134"/>
<pos x="308" y="227"/>
<clipmask x="1130" y="10"/>
</visual>
And the clipmask does not do the thing it should do.
It just does nothing. As if this line wasn't there.
Posté Mon 08 Jan 18 @ 2:48 pm
Try <mask> instead of <clipmask>
Posté Mon 08 Jan 18 @ 3:06 pm
<mask> doesn't work either.
Maybe this is not implemented in this type of script/code-thing.
Would be nice to see that for a variety of masked color-functions.
Maybe this is not implemented in this type of script/code-thing.
Would be nice to see that for a variety of masked color-functions.
Posté Sun 14 Jan 18 @ 3:08 pm
Definitely <mask> works for your case. But try to have transparent instead of white for the area that you dont want to be displayed.
BTW, the Pioneer DDJ-WEGo2 skin you will find in the Download Adons page uses mask to show the color around the 2 decks view and also uses gradient of black in the graphics to fade out the selected color. Unzip, open with Text Editor and see at line 2715
BTW, the Pioneer DDJ-WEGo2 skin you will find in the Download Adons page uses mask to show the color around the 2 decks view and also uses gradient of black in the graphics to fade out the selected color. Unzip, open with Text Editor and see at line 2715
Posté Mon 15 Jan 18 @ 6:33 am
Ok now it works.
The mask in the PNG-File was wrong.
It has to be completely transparent except of the masking area.
I had it black and white like the in the older skins.
Thanks again! :D
The mask in the PNG-File was wrong.
It has to be completely transparent except of the masking area.
I had it black and white like the in the older skins.
Thanks again! :D
Posté Mon 15 Jan 18 @ 10:24 pm