; I stole this from the Complex skin, cause hey I thought it was cool :)
; (and cause I'm too lazy to document it myself. :)
; The original author is Adam Kennedy <adamk@iname.com>
;
; Hope you don't mind Adam :)
;
;
; -Justin
;
;
; P.S. you can use the section names [WindowShade] and [Equalizer]
; for obvious purposes =)
;
;
;                    REGION.TXT STRUCTURE FOR DEFINING SKIN MASKS
;
;The region information comes without any supporting documentation
;so I thought I might as well make some.
;
;The region.txt in WinAmp 1.92 allows us to some interesting things with transparencies
;But how does it work?
;
;Well, basically, it lets you define a set of polygons. Anything inside a polygon is drawn. Anything not in a polygon is not drawn. Simple heh?
;For how to define it have a look below at the first block. Un-comment it now. Don't worry about commenting the actual one lower down, if WinAmp finds multiple definitions, it only does the first and ignores the rest
;
;How to make a mask
;1. Type [Normal]. Real simple that one. (My guess is it is just for forward compatibility)
;2. Just type the NumPoints= and leave the number blank, we'll fill it in later
;3. OK, now for the fun part.
;   The co-ordinates you should type in are the OUTSIDE pixel co-ordinates in x,y format.
;   Start at the top lefthand corner and work your way CLOCKWISE around you polygon.
;   Now WinAmp ONLY accepts the PointList as one line of comma seperated variables.
;   You can use spaces, but DONT GO ONTO A NEW LINE. Clear? Good. :)
;   One last thing, don't type the first position again at the end, WinAmp joins them.
;   Putting a space between each pair is simply common sense, right?
;4. Once your done, count the number of co-ords, and fill in that number for NumPoints.
;
;Oh, as a side note, the x variables go from 0 to 275, and the y from 0 to 116.
;So if you look at the first example you can see I've gone across the second top line, gone down a bit, ducked in one pixel, gone down to the bottom, and across and back up the other side, putting another ledge on the other side.

;This does the outside border, and chops some bits out on the top and edges
;[Normal]
;NumPoints=8    ;Do this LAST!
;PointList=0,1,  275,1,  275,14,  274,14,  274,115,  1,115,  1,14,  0,14  

;Cool heh? Very subtle effect. Now lets try a more complex one, with multiple polygons
;For your first hard(ish) mask, I suggest defining each element as a seperate mask.
;It makes them a bit easier to think about.

;First, lets define an area that JUST does the titlebar.
;[Normal]
;NumPoints=4
;PointList=0,1,  275,1,  275,14,  0,14

;Simple as can be :)
;Go ahead, uncomment it and have a look. Just remember to recomment everything above it
;Doing your areas one at a time does speed the process up a bit

;Now lets define JUST the area sort of inside the outer ring
;[Normal]
;NumPoints = 4
;PointList = 3,15,  272,15,  272,113,  3,113

;Right, so say we want a mask that has, the titlebar AND the main area.
;We just add them together
; [Normal] 
; NumPoints = 4, 4  ;Make sure to get the order right(although it doesnt matter here =P )
; PointList = 0,1, 275,1, 275,14, 0,14,     3,15, 272,15, 272,113, 3,113

;Dont forget to add that extra comma after the first set.
; Having that bigger gap that lets you "keep it in your head" easier, it's a good idea

;OK, now lets try something tricky. We are going to make a mask for just one green line around the outside of the skin
;This introduces the other "big thing" with masks. Have a look at the first three co-ordinates below. You can see the first two moves we make are to go one to the side and then go down to the bottom. Looking at the last co-ordinate you can see we will come back up at the end, making a line two wide, right? 
;WRONG!! Here comes the big important phrase.
;IF YOU ARNT FOLLOWING THE OUTSIDE EDGE, YOUR CO-ORDINATES MARK TRANSPARENT SPACE LIMITS
;That's right. Because I don't make a square, because I have to turn "inside" the box, I am only marking space, and what I end up with is a mask with one green line.
;WARNING: Leave your skins dialog open when you do this one. :)
;[Normal]
;NumPoints = 8
;PointList = 1,14,  2,14,  2,114,  273,114,  273,14,  274,14,  274,115,  1,115

;OK, as the final touch lets add lets the border we just made to the other two.
;You should be able to work this out on your own
;[Normal]
;NumPoints = 4, 4, 8
;PointList = 0,1, 275,1, 275,14, 0,14,     3,15, 272,15, 272,113, 3,113,     1,14, 2,14, 2,114, 273,114, 273,14, 274,14, 274,115, 1,115

;hmm... that still looks a bit tacky down the bottom right
;So I'm going to modify it a bit
;See if you can work out what I've had to alter just by looking at the display of it
;[Normal]
;NumPoints = 4, 4, 8
;PointList = 0,1, 275,1, 275,14, 0,14,     3,15, 272,15, 272,80, 3,80,     1,14, 2,14, 2,81, 273,81, 273,14, 274,14, 274,115, 1,115


; Justin's whacked trans skin :) in one, big lame messy line
; [Normal]
; NumPoints=20,4,4,4,8,4,4,6,6,4,4,4,4
; PointList=0,0,19,0,19,11,114,11,114,0,156,0,156,11,243,11,243,0,275,0,275,13,266,13,266,22,264,22,264,13,111,13,111,22,109,22,109,13,0,13,     109,22,266,22,266,36,109,36, 16,88,130,88,130,105,16,105,    136,89,157,89,157,104,136,104,    22,13,22,62,102,62,102,13,100,13,100,24,24,24,24,13,    0,0,275,0,275,3,0,3,   16,72,264,72,264,81,16,81,  0,13,0,78,16,78,16,75,4,75,4,13,   275,13,275,78,264,78,264,75,272,75,272,13,     14,78,16,78,16,105,14,105,     130,81,132,81,132,105,130,105,     146,81,146,89,148,89,148,81,     130,96,136,96,136,98,130,98

;THE END
;
;Post-Script
;The other good thing about doing your mask in bits and pieces like this is that can make multiple versions so you can change as your whims change

[Windowshade]
; This region info generated by Winamp region.txt generator which is made by Maxim.
; http://winamp.mwos.cjb.net
NumPoints=4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
PointList=22,0 24,0 24,13 22,13 31,0 33,0 33,8 31,8 34,0 36,0 36,13 34,13 37,0 39,0 39,13 37,13 42,0 44,0 44,13 42,13 48,0 51,0 51,8 48,8 55,0 58,0 58,13 55,13 61,0 64,0 64,13 61,13 65,0 71,0 71,5 65,5 81,0 159,0 159,14 81,14 21,1 24,1 24,10 21,10 30,1 40,1 40,8 30,8 41,1 44,1 44,13 41,13 47,1 51,1 51,8 47,8 54,1 58,1 58,13 54,13 60,1 67,1 67,13 60,13 71,1 72,1 72,6 71,6 20,2 24,2 24,6 20,6 29,2 44,2 44,8 29,8 46,2 51,2 51,8 46,8 53,2 58,2 58,13 53,13 59,2 67,2 67,13 59,13 243,2 274,2 274,13 243,13 24,3 25,3 25,13 24,13 26,3 44,3 44,8 26,8 25,4 31,4 31,13 25,13 51,4 52,4 52,13 51,13 58,4 67,4 67,13 58,13 169,4 170,4 170,11 169,11 173,4 175,4 175,11 173,11 177,4 179,4 179,12 177,12 188,4 190,4 190,11 188,11 192,4 194,4 194,11 192,11 197,4 204,4 204,11 197,11 206,4 208,4 208,11 206,11 211,4 212,4 212,11 211,11 227,4 239,4 239,12 227,12 239,4 241,4 241,10 239,10 68,5 71,5 71,7 68,7 168,5 170,5 170,11 168,11 172,5 175,5 175,11 172,11 176,5 181,5 181,11 176,11 187,5 190,5 190,11 187,11 191,5 194,5 194,11 191,11 196,5 203,5 203,12 196,12 205,5 209,5 209,10 205,10 210,5 212,5 212,11 210,11 219,5 220,5 220,13 219,13 226,5 239,5 239,12 226,12 241,5 242,5 242,9 241,9 45,6 48,6 48,12 45,12 67,6 70,6 70,8 67,8 167,6 170,6 170,11 167,11 171,6 181,6 181,11 171,11 181,6 183,6 183,10 181,10 186,6 194,6 194,11 186,11 195,6 202,6 202,13 195,13 204,6 212,6 212,10 204,10 218,6 221,6 221,13 218,13 225,6 239,6 239,12 225,12 170,7 181,7 181,11 170,11 183,7 185,7 185,8 183,8 217,7 222,7 222,12 217,12 224,7 240,7 240,11 224,11 32,8 39,8 39,13 32,13 39,8 44,8 44,12 39,12 49,8 67,8 67,13 49,13 67,8 69,8 69,9 67,9 183,8 184,8 184,9 183,9 216,8 221,8 221,13 216,13 222,8 223,8 223,9 222,9 67,9 68,9 68,10 67,10 215,9 221,9 221,13 215,13 44,10 47,10 47,13 44,13 204,10 207,10 207,12 204,12 209,10 211,10 211,12 209,12 214,10 223,10 223,11 214,11 167,11 169,11 169,12 167,12 170,11 174,11 174,12 170,12 175,11 177,11 177,13 175,13 186,11 188,11 188,13 186,13 188,11 189,11 189,12 188,12 190,11 192,11 192,13 190,13 192,11 193,11 193,12 192,12 40,12 47,12 47,13 40,13 167,12 168,12 168,13 167,13 171,12 173,12 173,13 171,13 204,12 206,12 206,13 204,13 209,12 210,12 210,13 209,13 214,12 221,12 221,13 214,13

[EqualizerWS]
NumPoints=4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
PointList=21,1 22,1 22,13 21,13 27,1 28,1 28,12 27,12 31,1 32,1 32,12 31,12 35,1 36,1 36,14 35,14 40,1 41,1 41,14 40,14 45,1 46,1 46,14 45,14 47,1 48,1 48,12 47,12 53,1 54,1 54,14 53,14 55,1 58,1 58,3 55,3 58,1 59,1 59,2 58,2 211,1 214,1 214,5 211,5 219,1 220,1 220,14 219,14 223,1 224,1 224,14 223,14 231,1 232,1 232,14 231,14 235,1 236,1 236,12 235,12 239,1 240,1 240,13 239,13 242,1 244,1 244,4 242,4 246,1 249,1 249,3 246,3 249,1 250,1 250,2 249,2 20,2 22,2 22,11 20,11 26,2 28,2 28,9 26,9 30,2 33,2 33,5 30,5 34,2 36,2 36,14 34,14 39,2 41,2 41,13 39,13 44,2 48,2 48,11 44,11 52,2 56,2 56,13 52,13 210,2 215,2 215,5 210,5 218,2 220,2 220,11 218,11 222,2 224,2 224,14 222,14 230,2 232,2 232,11 230,11 234,2 236,2 236,12 234,12 238,2 240,2 240,13 238,13 241,2 248,2 248,4 241,4 253,2 274,2 274,13 253,13 19,3 22,3 22,7 19,7 25,3 28,3 28,9 25,9 29,3 36,3 36,5 29,5 38,3 41,3 41,10 38,10 43,3 49,3 49,11 43,11 51,3 56,3 56,13 51,13 56,3 57,3 57,4 56,4 63,3 154,3 154,13 63,13 154,3 156,3 156,11 154,11 166,3 203,3 203,13 166,13 203,3 205,3 205,11 203,11 209,3 212,3 212,14 209,14 215,3 216,3 216,5 215,5 217,3 220,3 220,11 217,11 221,3 224,3 224,14 221,14 233,3 242,3 242,12 233,12 28,4 30,4 30,13 28,13 62,4 154,4 154,13 62,13 156,4 157,4 157,10 156,10 165,4 203,4 203,13 165,13 205,4 206,4 206,10 205,10 220,4 224,4 224,13 220,13 232,4 242,4 242,12 232,12 242,4 243,4 243,5 242,5 244,4 247,4 247,14 244,14 22,5 23,5 23,14 22,14 32,5 36,5 36,11 32,11 50,5 56,5 56,12 50,12 61,5 154,5 154,13 61,13 157,5 158,5 158,9 157,9 164,5 203,5 203,13 164,13 206,5 207,5 207,9 206,9 213,5 215,5 215,6 213,6 229,5 242,5 242,11 229,11 56,6 58,6 58,7 56,7 60,6 155,6 155,12 60,12 163,6 204,6 204,12 163,12 212,6 214,6 214,10 212,10 216,6 224,6 224,11 216,11 247,6 249,6 249,7 247,7 24,7 30,7 30,9 24,9 49,7 56,7 56,12 49,12 56,7 57,7 57,8 56,8 59,7 156,7 156,11 59,11 162,7 205,7 205,11 162,11 214,7 215,7 215,11 214,11 247,7 248,7 248,8 247,8 41,8 42,8 42,14 41,14 215,8 224,8 224,11 215,11 23,9 26,9 26,11 23,11 30,10 32,10 32,12 30,12 42,10 44,10 44,12 42,12 213,10 224,10 224,11 213,11 228,10 230,10 230,12 228,12 23,11 25,11 25,12 23,12 33,11 37,11 37,14 33,14 37,11 44,11 44,12 37,12 46,11 59,11 59,12 46,12 212,11 214,11 214,12 212,12 215,11 217,11 217,13 215,13 217,11 218,11 218,12 217,12 224,11 229,11 229,13 224,13 242,11 250,11 250,12 242,12 23,12 24,12 24,13 23,13 30,12 31,12 31,13 30,13 37,12 38,12 38,13 37,13 42,12 43,12 43,13 42,13 46,12 47,12 47,13 46,13 48,12 50,12 50,13 48,13 56,12 58,12 58,13 56,13 212,12 213,12 213,13 212,13 232,12 235,12 235,13 232,13 237,12 243,12 243,13 237,13 247,12 249,12 249,13 247,13 29,13 30,13 30,14 29,14 48,13 49,13 49,14 48,14 51,13 52,13 52,14 51,14 54,13 57,13 57,14 54,14 215,13 216,13 216,14 215,14 224,13 226,13 226,14 224,14 227,13 228,13 228,14 227,14 233,13 234,13 234,14 233,14 237,13 238,13 238,14 237,14 240,13 242,13 242,14 240,14 247,13 248,13 248,14 247,14
