#include "colors.inc"	  // Standard Color definitions
#include "textures.inc"	  // Standard Texture definitions
#include "functions.inc"  // internal functions usable in user defined functions


// stop button
box {
	<-.5, -.5, -1> < .5,  .5,  .1>
	translate <-4.9,0,0> pigment{ Red *2 }
	}



//play button
cone { <0,0,-1>,  .5, <1.25,0,-1>, 0 pigment{ Green *2} translate x*.75}


// or pause button
//cone { <0,0,-1>,  .5, <0.25,0,-1>, .5 pigment{ Green *2} translate x*1}
//cone { <.50,0,-1>,  .5, <0.75,0,-1>, .5 pigment{ Green*2 } translate x*1 }


// rewind and fast forward
union{
	cone { <0,0,-1>,  0, <.5,0,-1>, .2 pigment{ Green *2} translate x*3.15}
	cone { <0,0,-1>,  0, <.5,0,-1>, .2 pigment{ Green *2} translate x*3.75}
	cone { <0,0,-1>,  .2, <.5,0,-1>, 0 pigment{ Green *2} translate x*4.85}
	cone { <0,0,-1>,  .2, <.5,0,-1>, 0 pigment{ Green *2} translate x*5.45}
	translate <0,.5,.1>
	}

// next and previous track
union{
	box { <0,.2,-1.1>, <.2,-.2,1> pigment{ Green *2} translate x*3.35}
	cone { <0,0,-1>,  0, <.5,0,-1>, .2 pigment{ Green *2} translate x*3.75}
	cone { <0,0,-1>,  .2, <.5,0,-1>, 0 pigment{ Green *2} translate x*4.85}
	box { <0,.2,-1.1>,  <.2,-.2,1> pigment{ Green *2} translate x*5.5}
	translate <0,-.5,.1>
	}

//volune control


cylinder { <-1.9,0,1> <-1.9,0,-2>1.4 pigment{ Gray90} finish{ specular .1  metallic reflection{ .2 metallic}}}
sphere {  <-1.9,0,0>1.6 pigment{ Gray90} finish{ specular .5  metallic reflection{ .2 metallic}}}

difference {
sphere {  <-1.9,0,-3>1 pigment{ Gray90} finish{ specular .1 ambient .2 diffuse .6 metallic reflection{ .2 metallic}} scale <1,1,.7> no_shadow}
//box{<-.1,1,-3><.1,.3,3> rotate <0,0,-clock*270+135> translate x*-1.9}
cylinder { <-.1,.65,-2.8><.1,.65,-2.8> .35  rotate <0,0,-clock*270+135> translate x*-1.9}
}





// file
union {
	box { <-.25, .5, .5>, <-1, 1, -1> pigment{ Gray90}}
	box { <-1, -.75, -1>, <1, .5, 1> pigment{ Gray90}}
	scale.3 translate <2,2.6,-1>
	}



// minimize
box { <-1, -.8, -1>, <1, -.3, 1> pigment{ Gray90} 
	scale .3 translate <4,2.6,-1>
	}



//fullscreen
difference {
	box { <-1,-.875,-1>,  < 1,  1, 1> pigment{ Gray90}}
	box { <-.8,-.475,-2>, <.8, .6, 2> pigment{ Gray90}}
	scale.3 translate <3,2.6,-1>
	}


// close
union {
	box { <-1, -.2, -1>, <1, .2, 1> pigment{Gray90} rotate z*45}
	box { <-1, -.2, -1>, <1, .2, 1> pigment{Gray90} rotate z*-45}
	scale .3 translate <5,2.6,-1>
	}


/*
 // dvd symbol
difference {
	cylinder { <0,0,0>  <0,0,1>,  2  pigment{Gray90}}
	cylinder { <0,0,-1> <0,0,1>, .7  pigment{Gray90}}
	scale <.1,.3,.3> translate <6.2,3,-1>
	}
*/






















