// Specifies skinnable elements to the interface
//
// Syntax:
//  Area <name>: srcRect, blockSize, fill?, [scaleHoriz?,] [scaleVert?]
//  {Horiz,Vert} <name>: srcRect, blockSize, [scale?]
//  Gradient <name>: [Skin,] drawRect, rectMode, colTopLeft, colTopRight, colBotLeft, colBotRight
//  Window <name>: topBarSkin, topBarHeight, borderSkin, borderSpacing, backgroundSkin, borderSize
//  Button <name>: normalSkin, hoveredSkin, activeSkin

Material: gui_skin
	// General window stuff
	Area WindowBorderPlain: 0,0,41,41, 10, false, true, true
		Gradient WindowBorderLeft1: WindowBorderPlain, 1,1,6,0.5, 4, ff131313,ff131313, ff242424,ff242424
		Gradient WindowBorderLeft2: WindowBorderLeft1, 1,0.5,6,-1, 4, ff242424,ff242424, ff131313,ff131313
		Gradient WindowBorderRight1: WindowBorderLeft2, -6,1,-1,0.5, 4, ff131313,ff131313, ff242424,ff242424
		Gradient WindowBorder: WindowBorderRight1, -6,0.5,-1,-1, 4, ff242424,ff242424, ff131313,ff131313

	Area LightBackground: 41,0,259,172, 30, true, true, false
	Area DarkBackground: 0,173,218,509, 5, true, false, false

	Horiz TopBar: 0,41,41,55, 20, true
	Horiz BigTopBar: 129,527,274,545, 20, true
	Image Resizer: 21,68,40,87
	Image CloseButtonPlain: 1,148,32,159
	Image RestoreButtonPlain: 200,555,232,567
	Image MinButtonPlain: 200,571,232,583

	// Window separator lines
	Vert VSepPlain: 219,173,226,511, 5
		Gradient VSepLeft1: VSepPlain, 2,1,-2,0.5, 4, ff131313,ff131313, ff242424,ff242424
		Gradient VSep: VSepLeft1, 2,0.5,-2,-1, 4, ff242424,ff242424, ff131313,ff131313

	Vert VSepSmall: 0,55,6,86, 5
	Horiz HSep: 0,513,220,520, 5
	Area HFrame: 0,554,196,583, 4, true, true, false
	Horiz TabBar: 0,523,118,552, 5

	// Progress bars
	Horiz Progress: 0,89,40,117, 14, false
	Image FilledProgress: 2,118,14,146

	// Special elements
	Horiz EmpirePanel: 0,691,343,761, 100, true

	// Button states
	Area ButtonNormalPlain: 260,0,324,26, 3, true, true, true
		Gradient ButtonNormal: ButtonNormalPlain, 2,2,2,2, 1, ff4e4e4e,ff4e4e4e, ff2c2c2c,ff2c2c2c

	Area ButtonHoveredPlain: 260,27,324,53, 3, true, true, true
		Gradient ButtonHovered: ButtonHoveredPlain, 2,2,1,2, 1, ff707070,ff707070, ff393939,ff393939

	Area ButtonActivePlain: 260,54,324,80, 5, true, true, true
		Gradient ButtonActive: ButtonActivePlain, 0,0,1,0.5, 0, 5effffff, 5effffff, 05ffffff, 05ffffff

	// Section button states
	Area SectionButtonNormal: 1,586,195,618, 4, false, true, true
	Area SectionButtonHovered: 1,618,195,650, 4, true, true, true
	Area SectionButtonActive: 1,650,195,682, 4, true, true, true

Defaults:
	Window WindowFrame: TopBar, 14, WindowBorder, 13, Empty, 0
	Window Window: TopBar, 14, WindowBorder, 13, LightBackground, 7
	Window Dialog: TopBar, 14, WindowBorder, 13, DarkBackground, 7
	Window TitledDialog: BigTopBar, 18, WindowBorder, 18, DarkBackground, 7
	Vector Button: ButtonNormal, ButtonHovered, ButtonActive
	Vector SectionButton: SectionButtonNormal, SectionButtonHovered, SectionButtonActive
	Vector CloseButton: CloseButtonPlain, CloseButtonPlain, CloseButtonPlain
	Vector MinButton: MinButtonPlain, MinButtonPlain, MinButtonPlain
	Vector RestoreButton: RestoreButtonPlain, RestoreButtonPlain, RestoreButtonPlain
	Vector ToggleButton: ButtonNormal, ButtonHovered, ButtonActive
	Vector TabButton: ButtonNormal, ButtonHovered, ButtonActive
