#######################################################################
#PROGRESSBAR
#######################################################################

style "progressbar"
{ 
	xthickness						= 1
	ythickness						= 1
	
	engine "experience"
	{

		group "progress_bar_rtl" = "progress_bar_ltr"
		{
			property "orientation"			= "GTK_PROGRESS_RIGHT_TO_LEFT"
			mirror					= HORIZONTAL
		}

				group "progress_bar_ltr"
		{
			function					= BOX
			detail					= "bar"
			property "orientation"		= "GTK_PROGRESS_LEFT_TO_RIGHT"
			
			
			fill 10
			{
				color				= "#1FA61F"
				brightness			= 0.2
				width				= 8 px
				inner_padding			= { 0, 2, 0, 0 } 
				padding				= {8, 6, 0, 0}
				xpos				= -1 ws
				repeat				= { 0, 0, 0, 0}
			}
			
			image 20
			{
				file					= "images/progress/progress.png"
				recolor "#ff0000"		= "#1FA61F"
				brightness			= 0.6
				width				= 8 px
				inner_padding			= { 0, 2, 0, 0 } 
				border				= { 0, 0, 0, 0}
				padding				= {8, 6, 0, 0}
				xpos				= -1 ws
				repeat				= { 0, 0, 0, 0}
			}
			
			image 30
			{
				file					= "images/progress/progress_start-end1.png"
				recolor "#ff0000"		= "#1FA61F"
				brightness			= 0.2
				border				= { 6, 6, 2, 2}

			}
			
			image 40
			{
				file					= "images/progress/progress_start-end2.png"
				recolor "#ff0000"		= "#1FA61F"
				brightness			= 0.6
				border				= { 6, 6, 0, 0}

			}
		
		}
		
		group "progress_bar_btt" = "progress_bar_ttb"
		{
			property "orientation"		= "GTK_PROGRESS_BOTTOM_TO_TOP"
			mirror					= VERTICAL
		}

		group "progress_bar_ttb" = "progress_bar_rtl"
		{
			property "orientation"		= "GTK_PROGRESS_TOP_TO_BOTTOM"
			orientation				= VERTICAL
			rotate					= CCW
		}

		group "progress_trough"
		{
			detail					= "trough"
			function					= BOX
			
			
			fill 0 {	color				= bg[normal] }  #needed as base coat to not see random pixels
			
			image 10 {	file				= "images/button/button_base.png"
						recolor "#ff0000"	= base[normal]
						border			= { 2,2,2,2 } 
						padding			= { 1, 1, 1, 1 }
						interpolation_type	= NEAREST}
			
			image 20 {	file				= "images/button/button_shadow.png"
						draw_components		= SOUTH_WEST, WEST, NORTH_WEST, NORTH, NORTH_EAST
						recolor "#ff0000"	= base[normal]
					 	brightness		= -0.1
						border			= { 2,2,2,2 }
						rotate			= AROUND
						padding			= { 1, 1, 1, 1 } }
						
			image 30 {	file				= "images/button/button_frame.png"
						recolor "#ff0000"	= bg[normal]
					 	brightness		= -0.25
						border			= { 3,3,3,3 }
						draw_components		= BORDER
						interpolation_type	= NEAREST }
		}
	}
}
