Sign In:     


Forum: VirtualDJ Skins

Topic: Basis skin question related to the PNG file
Hi all,

I am missing something. Just for an examply here is the part that is used in an existing skin file.

<!-- Skin background -->
<visual canstretch="true">
<pos x="0" y="0"/>
<size width="1920" height="1080"/>
<off shape="square" color="fonto"/>
</visual>

I am missing some underlying basics here. Where and how is this related to an PNG file? How does this work? There aren`t coordinate`s to a PNG file. Its more a basic question how the relationship with the PNG files are being maked and not about this specific canstretch visual.

gr. Marcel
 

Posted Mon 29 Sep 25 @ 7:01 pm
 

Oke, but you point to 1 pixel in your png but;
- what programm is the advice to use to distract the X/Y coordinate for the item
- how does this work with a button (that is bigger than 1 pixel)

thnx
gr. Marcel
 

The XML code for a button defines it's size.
Then you give the coordinates of the top left pixel and VirtualDJ reads all the pixels that correspond to the defined width and height
 

ah that makes clear.

Thanks.