require( "scripts/style.lua" );

-- Create the profiles window

MakeDialog
{

	name="options",
		
	Bitmap {
		
		name="backgroundimage",
		image="screens/title/options/bg.jpg",
		

		OptionsWindow {
			
			name="OptionsWindow",
				
			x=kCenter,
			y=kCenter,
			w = 1024,
			h = 768,
		
			Bitmap {
				name="music_off",
				image="screens/title/options/music_off.png",
				x=295,
				y=127,
			},
			
			Bitmap {
				name="music_full",
				image="screens/title/options/music_on_17.png",
				x=322,
				y=136,
			},
			
			Bitmap {
				name="sound_off",
				image="screens/title/options/sound_off.png",
				x=303,
				y=272,
			},
			
			Bitmap {
				name="sound_full",
				image="screens/title/options/sound_on_17.png",
				x=431,
				y=286,
			},
		
			Bitmap {
				name="ambient_off",
				image="screens/title/options/ambient_off.png",
				x=295,
				y=408,
			},
		
			Bitmap {
				name="ambient_full",
				image="screens/title/options/ambient_on_16.png",
				x=401,
				y=419,
			},
		
			Button
			{
				x=287,
				y=520,
				name="fullScreen",
				type = kToggle,
				graphics = {
					"screens/title/options/fullscreen_off.png",
					"screens/title/options/fullscreen_on.png",
					"screens/title/options/fullscreen_off.png",
					"screens/title/options/fullscreen_on.png",
				},
			},
			
			-- MUSIC
			
			Slider
			{
				x=427,
				y=200,
				w=195,
				h=20,
				name="musicSlider",
				railtop="screens/title/options/music_slider_barre.png",
				railmid="screens/title/options/music_slider_barre.png",
				railbot="screens/title/options/music_slider_barre.png",
				sliderimage="screens/title/options/music_slider_off.png",
				sliderrollimage="screens/title/options/music_slider_on.png",
			},
			
			-- SOUND 
			
			SoundSlider
			{
				x=427,
				y=345,
				w=195,
				h=20,
				name="soundSlider",
				railtop="screens/title/options/sound_slider_barre.png",
				railmid="screens/title/options/sound_slider_barre.png",
				railbot="screens/title/options/sound_slider_barre.png",
				sliderimage="screens/title/options/sound_slider_off.png",
				sliderrollimage="screens/title/options/sound_slider_on.png",
			},
			
			-- AMBIENT 
			
			AmbientSlider
			{
				x=427,
				y=481,
				w=195,
				h=20,
				name="ambientSlider",
				railtop="screens/title/options/ambient_slider_barre.png",
				railmid="screens/title/options/ambient_slider_barre.png",
				railbot="screens/title/options/ambient_slider_barre.png",
				sliderimage="screens/title/options/ambient_slider_off.png",
				sliderrollimage="screens/title/options/ambient_slider_on.png",
			},
			
			SetStyle( MenuButtonStyle ),
			
			Button
			{
				x=584,
				y=687,
				name="back",
				MenuButtonLabel("validate"),
				type = kPush,
				close = true,
				mask = "screens/title/options/valid_mask.png",
				graphics = {
					"screens/title/options/valid_off.png",
					"screens/title/options/valid_on.png",
					"screens/title/options/valid_off.png",
				}
			},
		},
		
	},
		
} -- MakeDialog