; 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

[Normal]
; This region info generated by Winamp region.txt generator which is made by Maxim.
; http://winamp.mwos.cjb.net
; Note to skin authors: You can remove these comments so long as you leave one copy of the two lines above.
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,4,4,4
PointList=0,0 33,0 33,28 0,28 82,0 178,0 178,106 82,106 241,0 275,0 275,33 241,33 33,1 35,1 35,116 33,116 81,1 179,1 179,106 81,106 240,1 274,1 274,44 240,44 35,2 36,2 36,116 35,116 179,2 182,2 182,106 179,106 36,3 38,3 38,116 36,116 80,3 183,3 183,106 80,106 239,3 274,3 274,44 239,44 38,4 42,4 42,116 38,116 183,4 185,4 185,107 183,107 238,4 274,4 274,44 238,44 42,5 44,5 44,116 42,116 78,5 187,5 187,106 78,106 237,5 274,5 274,44 237,44 44,6 58,6 58,116 44,116 75,6 177,6 177,107 75,107 187,6 189,6 189,107 187,107 236,6 274,6 274,44 236,44 58,7 62,7 62,116 58,116 72,7 177,7 177,107 72,107 189,7 191,7 191,108 189,108 62,8 67,8 67,116 62,116 69,8 171,8 171,116 69,116 191,8 192,8 192,108 191,108 235,8 273,8 273,55 235,55 67,9 171,9 171,116 67,116 192,9 194,9 194,108 192,108 194,10 197,10 197,108 194,108 234,10 273,10 273,55 234,55 197,11 198,11 198,109 197,109 198,12 199,12 199,109 198,109 233,12 273,12 273,55 233,55 199,13 200,13 200,110 199,110 200,14 201,14 201,110 200,110 232,14 273,14 273,55 232,55 201,15 202,15 202,110 201,110 202,16 203,16 203,110 202,110 231,16 272,16 272,90 231,90 203,17 204,17 204,110 203,110 230,17 272,17 272,90 230,90 204,18 205,18 205,111 204,111 229,18 272,18 272,90 229,90 205,19 207,19 207,111 205,111 207,20 209,20 209,111 207,111 228,20 272,20 272,90 228,90 209,21 212,21 212,112 209,112 226,21 272,21 272,90 226,90 212,22 272,22 272,90 212,90 1,28 274,28 274,34 1,34 2,34 274,34 274,39 2,39 3,39 273,39 273,45 3,45 4,45 273,45 273,50 4,50 5,50 273,50 273,55 5,55 6,55 272,55 272,60 6,60 272,58 273,58 273,116 272,116 7,60 273,60 273,64 7,64 273,62 274,62 274,116 273,116 8,64 274,64 274,69 8,69 9,69 274,69 274,73 9,73 274,72 275,72 275,116 274,116 10,73 275,73 275,74 10,74 12,74 275,74 275,75 12,75 14,75 275,75 275,76 14,76 16,76 275,76 275,77 16,77 18,77 275,77 275,78 18,78 20,78 171,78 171,116 20,116 18,80 171,80 171,116 18,116 17,81 171,81 171,116 17,116 16,82 171,82 171,116 16,116 15,83 171,83 171,116 15,116 14,84 171,84 171,116 14,116 13,85 171,85 171,116 13,116 12,86 171,86 171,116 12,116 11,87 171,87 171,116 11,116 10,88 171,88 171,116 10,116 9,89 171,89 171,116 9,116 212,90 240,90 240,113 212,113 240,90 249,90 249,100 240,100 249,90 255,90 255,94 249,94 255,90 260,90 260,93 255,93 260,90 264,90 264,92 260,92 264,90 266,90 266,91 264,91 267,90 275,90 275,92 267,92 8,91 171,91 171,116 8,116 7,92 171,92 171,116 7,116 268,92 275,92 275,116 268,116 249,94 251,94 251,96 249,96 251,94 253,94 253,95 251,95 6,95 171,95 171,116 6,116 249,96 250,96 250,98 249,98 267,96 275,96 275,116 267,116 5,97 171,97 171,116 5,116 266,98 275,98 275,116 266,116 4,100 171,100 171,116 4,116 240,100 245,100 245,105 240,105 245,100 248,100 248,102 245,102 3,102 171,102 171,116 3,116 245,102 247,102 247,103 245,103 245,103 246,103 246,104 245,104 265,103 275,103 275,116 265,116 240,105 243,105 243,107 240,107 243,105 244,105 244,106 243,106 264,105 275,105 275,116 264,116 2,106 171,106 171,116 2,116 180,106 243,106 243,107 180,107 262,106 275,106 275,116 262,116 171,107 172,107 172,108 171,108 240,107 242,107 242,108 240,108 251,107 255,107 255,116 251,116 260,107 275,107 275,116 260,116 195,108 240,108 240,109 195,109 244,108 275,108 275,116 244,116 1,109 171,109 171,116 1,116 240,109 275,109 275,116 240,116 208,111 275,111 275,112 208,112 0,113 172,113 172,116 0,116 216,113 275,113 275,114 216,114 220,114 275,114 275,115 220,115 223,115 275,115 275,116 223,116

[Equalizer]
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
PointList=0,0 172,0 172,4 0,4 223,0 269,0 269,46 223,46 269,0 275,0 275,23 269,23 172,1 174,1 174,116 172,116 222,1 268,1 268,116 222,116 174,2 176,2 176,116 174,116 219,2 268,2 268,116 219,116 176,3 179,3 179,116 176,116 215,3 268,3 268,116 215,116 1,4 185,4 185,6 1,6 210,4 268,4 268,116 210,116 185,5 268,5 268,116 185,116 2,6 49,6 49,8 2,8 49,6 51,6 51,7 49,7 59,6 64,6 64,7 59,7 68,6 275,6 275,7 68,7 71,7 275,7 275,8 71,8 3,8 52,8 52,10 3,10 84,8 268,8 268,116 84,116 52,9 57,9 57,36 52,36 4,10 275,10 275,12 4,12 5,12 275,12 275,15 5,15 6,15 275,15 275,19 6,19 7,19 49,19 49,64 7,64 49,19 270,19 270,36 49,36 270,23 273,23 273,28 270,28 273,23 274,23 274,25 273,25 6,27 48,27 48,116 6,116 270,28 272,28 272,31 270,31 270,31 271,31 271,35 270,35 5,32 48,32 48,116 5,116 4,36 48,36 48,116 4,116 49,36 54,36 54,42 49,42 54,36 56,36 56,38 54,38 57,36 270,36 270,37 57,37 58,37 270,37 270,38 58,38 54,38 55,38 55,40 54,40 59,38 270,38 270,39 59,39 60,39 269,39 269,40 60,40 3,40 48,40 48,116 3,116 61,40 269,40 269,41 61,41 62,41 269,41 269,43 62,43 49,42 53,42 53,45 49,45 63,43 269,43 269,44 63,44 2,44 48,44 48,116 2,116 64,44 269,44 269,46 64,46 49,45 52,45 52,47 49,47 65,46 268,46 268,49 65,49 49,47 51,47 51,51 49,51 66,49 268,49 268,53 66,53 1,50 48,50 48,102 1,102 49,51 50,51 50,57 49,57 67,53 268,53 268,116 67,116 0,57 48,57 48,100 0,100 268,58 269,58 269,116 268,116 269,66 270,66 270,116 269,116 270,71 271,71 271,116 270,116 66,75 272,75 272,116 66,116 272,78 273,78 273,116 272,116 273,82 274,82 274,116 273,116 274,83 275,83 275,116 274,116 48,87 49,87 49,116 48,116 65,88 275,88 275,116 65,116 49,92 50,92 50,116 49,116 50,96 51,96 51,116 50,116 51,98 52,98 52,116 51,116 52,100 53,100 53,116 52,116 64,101 275,101 275,116 64,116 53,102 54,102 54,116 53,116 54,103 55,103 55,116 54,116 1,104 56,104 56,116 1,116 0,105 58,105 58,116 0,116 58,106 60,106 60,116 58,116 60,107 275,107 275,116 60,116
