The idea is to give more control over the size of the skin, and placement of the buttons. Probably you can already make a different size skin, and even different shape. But at least this is the way to fix the problem with the "extra pixel" at the right of the skin.
The new skin method is not finished yet, and no description yet. I will try to make a web page to describe it soon, but here is the idea:
1) The new skin is backward compatible. So old skins still work as they always did.
2) You can add a text file to describe the skin. This can be zipped together with the skin, or you can leave it separate file while you are developing.
3) img_loc is the location of the skin background within the bmp (all numbers are in pixels). If you want a larger skin, make the bmp larger, and then also make the img_loc larger.
4) region_poly is a polygon, that describes which parts are opaque, and which parts are transparent. So, in theory, you don't need to make your skins rectangular. They could be circle, oval, or have strange shapes. Units are also pixels.
Greg
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Greg
I have many questions to create a skin. What do the numbers in the srskin.txt.
img_loc = 50 50 300 190
What is this, how can I measure it? Can a skin now also wider and higher (Winamp Modern)?
Slightly more accurate description would be good.
Greets from Germany
Günni
The Original Streamripper Skin Size is 276x150px.
I would like to have a skin with 317x168px.
does that work with any?
Greets from Germany
Günni
Hi Guenni,
The idea is to give more control over the size of the skin, and placement of the buttons. Probably you can already make a different size skin, and even different shape. But at least this is the way to fix the problem with the "extra pixel" at the right of the skin.
The new skin method is not finished yet, and no description yet. I will try to make a web page to describe it soon, but here is the idea:
1) The new skin is backward compatible. So old skins still work as they always did.
2) You can add a text file to describe the skin. This can be zipped together with the skin, or you can leave it separate file while you are developing.
3) img_loc is the location of the skin background within the bmp (all numbers are in pixels). If you want a larger skin, make the bmp larger, and then also make the img_loc larger.
4) region_poly is a polygon, that describes which parts are opaque, and which parts are transparent. So, in theory, you don't need to make your skins rectangular. They could be circle, oval, or have strange shapes. Units are also pixels.
Greg