skinname=TiMeBoMb
skinauthor=WiiRadio

// -- general images (required)
bgimg=bg.png
mute=mute.png
volume_over=volume_ol.png
volume_bg=volume_bg.png

// -- cusror (required)
cursor_y_off=57
cursor_x_off=57
cursor=cursor.png

// -- fonts (required)
fontset=FreeSansBold.ttf
fontsize_small=14
fontsize_medium=22
fontsize_large=26

listing_number_of =  4

gui_screen{
	screen  = 	SCREEN_MAIN
	name	= 	"main"
	x		=	0;
	y		=	0;
	w		=	$SCREEN_WIDTH
	h		=	$SCREEN_HEIGHT
	layer	= 	0
	visible = 	1
	bgcolor = 	0x444444
	img		=	"bg.png"

	
	gui_button{
		x=315
		y=50
		layer = 1
		z_order = 1
		img_out			= info_out.png
		img_over		= info_over.png
		img_down		= info_over.png
		action_lclick	= $FN_SHOW_INFO
	}
	
	gui_button{
		x=375
		y=50
		layer = 1
		z_order = 1
		img_out			= browser_out.png
		img_over		= browser_over.png
		img_down		= browser_over.png
		action_lclick	= $FN_SHOWBROWSER
	}

	// logo
	gui_button{
			x = 0
			y = 25
			z_order = 1
			layer = 1
			visible = 1
			img_over		= logo_over.png
			img_down		= logo_out.png
			img_out			= logo_out.png
			action_lclick	= $FN_OPTIONS
			action_rclick	= 0
	}
	
	// back
	gui_button{
		x = 200
		y = 390
		z_order = 1
		visible = 1
		img_over		= left_over.png
		img_out			= left_out.png
		action_lclick	= $FN_BACK
		action_rclick	= 0
	}
	// next
	gui_button{
		x = 344
		y = 390
		z_order = 1
		visible = 1
		img_over		= right_over.png
		img_out			= right_out.png
		action_lclick	= $FN_NEXT
		action_rclick	= 0
	}

	// genres
	gui_button{
		x = 437
		y = 390
		z_order = 1
		layer = 1
		visible = 1
		img_over		= genre_over.png
		img_out			= genre_out.png
		action_lclick	= $FN_SHOWGENRES
	}
	
	// playlists
	gui_button{
		x = 28
		y = 390
		z_order = 1
		layer = 1
		visible = 1
		img_over		= playlists_over.png
		img_out			= playlists_out.png
		action_lclick	= $FN_SHOWPLAYLISTS
	}

	// add to playlist
	gui_button{
		x =544
		y = 50
		z_order = 1
		visible = 1
		img_over		= plus_over.png
		img_out			= plus_out.png
		action_lclick	= $FN_ADD
	}
	
	// search
	gui_button{
		x =287
		y = 390
		z_order = 1
		visible = 1
		img_over		= search_over.png
		img_out			= search_out.png
		action_lclick	= $FN_SHOW_WND("100")
	}


	// -- browser list
	gui_list{
		name 			= "browser_browser"
		listid			= 1
		text			= $BROWSER_LIST_0,$BROWSER_LIST_1,$BROWSER_LIST_2,$BROWSER_LIST_3,$BROWSER_LIST_4
		x 				= 20
		y 				= 115
		z_order 		= 1
		align			= 0
		vspacing		= 0
		items			= 4
		text_pad_x		= 30
		text_pad_y		= 10
		text_size		= 1
		text_color_out 	= #444444
		text_color_over = #444444
		text_color_playing = #444444
		img_pad_x		= 0
		img_pad_y		= 0
		img_out			= listing_out.png
		img_over		= listing_over.png
		img_down		= listing_over.png
		action_lclick 	= $FN_LISTITEM_LCLICK
		limit_text 		= 530
	}

// -- browser list
	gui_list{
		name 			= "genre_browser"
		listid			= 3
		text			= $GENRE_LIST_0,$GENRE_LIST_1,$GENRE_LIST_2,$GENRE_LIST_3,$GENRE_LIST_4
		x 				= 20
		y 				= 115
		z_order 		= 2
		align			= 1
		vspacing		= 0
		items			= 4
		text_pad_x		= 30
		text_pad_y		= 10
		text_size		= 1
		text_color_out 	= #444444
		text_color_over = #444444
		text_color_playing = #444444
		img_pad_x		= 0
		img_pad_y		= 0
		img_out			= listing_out.png
		img_over		= listing_over.png
		img_down		= listing_over.png
		action_lclick 	= $FN_LISTITEM_LCLICK
		limit_text 		= 530
	}	
	
	// -- Delete Buttons
	gui_list{
		name			= "favs_del"
		listid			= 2
		visible			= 0
		x 				= 530
		y 				= 120
		img_pad_x		= 0
		img_pad_y		= 0
		z_order 		= 3
		layer 			= 1
		align			= 0
		vspacing		= 11
		items			= 4
		img_out			= delete_out.png
		img_over		= delete_over.png
		img_down		= delete_out.png
		action_lclick 	= $FN_DELETEITEM
	}
	// -- playlist
	gui_list{
		name			= "favs_browser"
		listid			= 2
		text			= $FAVS_LIST_0,$FAVS_LIST_1,$FAVS_LIST_2,$FAVS_LIST_3,$FAVS_LIST_4
		x 				= 20
		y 				= 115
		z_order 		= 2
		align			= 0
		vspacing		= 0
		items			= 4
		text_pad_x		= 30
		text_pad_y		= 10
		text_size		= 1
		text_color_out 	= #444444
		text_color_over = #444444
		text_color_playing = #444444
		img_pad_x		= 0
		img_pad_y		= 0
		img_out			= listing_out.png
		img_over		= listing_over.png
		img_down		= listing_over.png
		action_lclick 	= $FN_LISTITEM_LCLICK
		limit_text 		= 530
	}
	
	// connecting
	gui_popup{
		show_status		= SYS_CONNECTING
		text 			= $LANG_TXT_CONNECTING
		text_size		= 1
		text_pad_x		= 110
		text_pad_y		= 37
		x				= 20
		y				= 20
		text_color_out  = #222222
		text_color_over = #222222
		text_color_down = #222222
		center_img		= 1
		img				= info.png
		z_order			= 100


		gui_button{
			x 				= 340
			y 				= 30
			z_order			= 101
			visible 		= 1
			img_over		= cancel_over.png
			img_out			= cancel_out.png
			action_lclick	= $FN_CANCEL_CONNECTING
			action_rclick	= 0
		}
		
	}

	// buffering
	gui_popup{
		show_status		= SYS_BUFFERING
		text 			= $LANG_TXT_BUFFERING
		text_size		= 1
		text_pad_x		= 110
		text_pad_y		= 37
		x				= 20
		y				= 20
		text_color_out  = #222222
		text_color_over = #222222
		text_color_down = #222222
		center_img		= 1
		img				= info.png
		z_order			= 100


		gui_button{
			x 				= 340
			y 				= 30
			z_order			= 101
			visible 		= 1
			img_over		= cancel_over.png
			img_out			= cancel_out.png
			action_lclick	= $FN_CANCEL_BUFFERING
			action_rclick	= 0
		}
		
	}

	// Searching
	gui_popup{
		show_status		= WND_SEARCHING
		text 			= $LANG_TXT_SEARCHING
		text_size		= 1
		text_pad_x		= 110
		text_pad_y		= 37
		x				= 20
		y				= 20
		text_color_out  = #222222
		text_color_over = #222222
		text_color_down = #222222
		center_img		= 1
		img				= info.png
		z_order			= 100

		gui_button{
			x 				= 340
			y 				= 30
			z_order			= 101
			visible 		= 1
			img_over		= cancel_over.png
			img_out			= cancel_out.png
			action_lclick	= $FN_CANCEL_SEARCHING
			action_rclick	= 0
		}
	}
	
		// rip id
	gui_imageanim{
		show_on_var		= %ripmusic
		x				= 230
		y				= 40
		layer 			= 2
		z_order 		= 2
		images			= record.png, record-blink.png
		time			= 500
	}

// Select Search
	gui_popup{
		show_status		= WND_PRESEARCH
		text 			= ""
		center_img		= 1
		img				= info.png
		z_order			= 100

		
		gui_button{
			x 				= 455
			y 				= 25
			z_order			= 101
			visible = 1
			img_over		= delete_over.png
			img_out			= delete_out.png
			action_lclick	= $FN_CLOSE_WND
		}
	
		
		
		gui_button{
			text = $LANG_TXT_GENRE
			text_color_out	= #000000
			text_color_over	= #000000
			text_color_down = #000000
			text_pad_y		= 12
			text_pad_x		= 0
			z_order = 2
		    text_size = 2
			x = 110
			y = 27
			visible = 1
			img_over		= button_over.png
			img_out			= button_out.png
			action_lclick	= $FN_SHOWSEARCH
		}
		
		gui_button{
			text = $LANG_CONNECT
			text_color_out	= #000000
			text_color_over	= #000000
			text_color_down = #000000
			text_pad_y		= 12
			text_pad_x		= 0
		    text_size = 2
			x = 270
			y = 27
			z_order = 1
			visible = 1
			img_over		= button_over.png
			img_out			= button_out.png
			action_lclick	= $FN_SHOWCONNECT
		}		


	}	
		
}



// -- Connect
gui_screen{
	screen  = 	SCREEN_CONNECT
	name	= 	"connectto"
	x		=	0
	y		=	0
	w 		= 	SCREEN_WIDTH
	h 		= 	SCREEN_HEIGHT
	z_order	= 	0
	visible = 	0
	bgcolor = 	#3a2501
	img		=	"bg.png"

	gui_shape{
		z_order = 	11
		x =	0
		y =	0
		w = 640
		h = 50
		bgcolor = #222222
	}
	gui_shape{
		z_order = 	11
		x =	0
		y =	430
		w = 640
		h = 50
		bgcolor = #222222
	}

	gui_label{
		z_order = 	2
		x = 20
		y = 64
		align = 0
		text_color_out = #eeeeee
		text_size = 1
		text = $LANG_CONNECT
	}
	
	gui_label{
		z_order = 	2
		limit_text		=	600
		x = 20
		y = 100
		align = 0
		text_color_out = #dddddd
		text_size = 2
		text = %KB_OUTPUT
	}
	
	gui_shape{
		z_order = 	1
		x =	18
		y =	100
		w = 604
		h = 30
		bgcolor = #111111
	}
	
	gui_keyboard{
		z_order 		= 	2
		x				=	30
		y				=	60
		text			=	%KB_OUTPUT
		img_key_over		= keyboard_key_over.png
		img_key_out 		= keyboard_key.png
		img_key_med_out		= keyboard_mediumkey.png
		img_key_med_over	= keyboard_mediumkey_over.png
		img_key_space_out	= space_out.png
		img_key_space_over	= space_over.png
		text_color_out		= #111111
		text_color_over		= #444444
	}
	
	gui_button{
		text = $LANG_CONNECT
		x = 470
		y = 360
		text_color_out = #000000
		text_color_over = #000000
		text_color_down = #000000
		text_pad_y		= 12
		text_pad_x		= 0
		z_order = 1
		layer = 1
		text_size = 3
		visible = 1
		img_over		= button_over.png
		img_out			= button_out.png
		action_lclick	= $FN_DIRECT_CONNECT
	}
	
	gui_button{
		text = $LANG_CLOSE
		x = 290
		y = 360
		text_color_out = #000000
		text_color_over = #000000
		text_color_down = #000000
		text_pad_y		= 12
		text_pad_x		= 0
		z_order = 1
		layer = 1
		text_size = 3
		visible = 1
		img_over		= button_over.png
		img_out			= button_out.png
		action_lclick	= $FN_CLOSE_SCREEN
	}
}

// Search for a genre
gui_screen{
	screen  = 	SCREEN_SEARCHGENRE
	name	= 	"genresearchscreen"
	x		=	0
	y		=	0
	w 		= 	SCREEN_WIDTH
	h 		= 	SCREEN_HEIGHT
	z_order	= 	0
	visible = 	0
	bgcolor = 	#3a2501
	img		=	"bg.png"

	gui_shape{
		z_order = 	11
		x =	0
		y =	0
		w = 640
		h = 50
		bgcolor = #222222
	}
	gui_shape{
		z_order = 	11
		x =	0
		y =	430
		w = 640
		h = 50
		bgcolor = #222222
	}
	
	gui_label{
		z_order = 	2
		x = 20
		y = 64
		align = 0
		text_color_out = #eeeeee
		text_size = 1
		text = "Genre Search"
	}
	
	gui_label{
		z_order = 	2
		limit_text		=	600
		x = 20
		y = 100
		align = 0
		text_color_out = #dddddd
		text_size = 2
		text = %KB_OUTPUT
	}
	
	gui_shape{
		z_order = 	1
		x =	18
		y =	100
		w = 604
		h = 30
		bgcolor = #121519
	}
	
	gui_keyboard{
		z_order 		= 	2
		x				=	30
		y				=	60
		text			=	%KB_OUTPUT
		img_key_over		= keyboard_key_over.png
		img_key_out 		= keyboard_key.png
		img_key_med_out		= keyboard_mediumkey.png
		img_key_med_over	= keyboard_mediumkey_over.png
		img_key_space_out	= space_out.png
		img_key_space_over	= space_over.png
		text_color_out		= #111111
		text_color_over		= #444444
	}
	
	gui_button{
		text = $LANG_ADDGENRE
		x = 260
		y = 360
		text_color_out = #000000
		text_color_over = #000000
		text_color_down = #000000
		text_pad_y		= 12
		text_pad_x		= 0
		z_order = 1
		layer = 1
		text_size = 3
		visible = 1
		img_over		= button_over.png
		img_out			= button_out.png
		action_lclick	= $FN_ADDGENRE
	}
	
	gui_button{
		text = $LANG_SEARCH
		x = 440
		y = 360
		text_color_out = #000000
		text_color_over = #000000
		text_color_down = #000000
		text_pad_y		= 12
		text_pad_x		= 0
		z_order = 1
		layer = 1
		text_size = 3
		visible = 1
		img_over		= button_over.png
		img_out			= button_out.png
		action_lclick	= $FN_SEARCH_ON_GENRE
	}
	
	gui_button{
		text = $LANG_CLOSE
		x = 80
		y = 360
		text_color_out = #000000
		text_color_over = #000000
		text_color_down = #000000
		text_pad_y		= 12
		text_pad_x		= 0
		z_order = 1
		layer = 1
		text_size = 3
		visible = 1
		img_over		= button_over.png
		img_out			= button_out.png
		action_lclick	= $FN_CLOSE_SCREEN
	}
}




// -- Stream info screen
gui_screen{
	screen  = 	SCREEN_STREAM_INFO
	name	= 	"streaminfo"
	z_order = 	10
	x		=	0
	y		=	0
	w 		= 	SCREEN_WIDTH
	h 		= 	SCREEN_HEIGHT
	z_order	= 	0
	visible = 	0
	bgcolor = 	#E6E6E6
	img		=	"bg.png"

	gui_shape{
		z_order = 	11
		x =	0
		y =	0
		w = 640
		h = 50
		bgcolor = #222222
	}
	gui_shape{
		z_order = 	11
		x =	0
		y =	430
		w = 640
		h = 50
		bgcolor = #222222
	}
	//Close
	gui_button{
		z_order 		= 	11
		x = 460
		y = 370
		img_over		= close_over.png
		img_out			= close_out.png
		action_lclick	= $FN_CLOSE_SCREEN
		action_rclick	= 0
	}
	gui_label{
		z_order = 	11
		x = 20
		y = 67
		align = 0
		text_color_out = #EEEEEE
		text_size = 1
		text = "CURRENTLY PLAYING"
	}


	// Visual - Album art
	gui_visual{
		z_order = 	11
		changable = 0
		x=20
		y=150
		h=200
		w=200
		vis_type = 1
	}

	//Artist
	gui_label{
		x = 250
		y = 155
		z_order = 	11
		align = 0
		text_color_out = #EEEEEE
		text_size = 3
		text = $ARTIST
	}
	//Song Title
	gui_label{
		x = 250
		y = 175
		z_order = 	11
		align = 0
		text_color_out = #EEEEEE
		text_size = 3
		text = $TITLE
	}
	//ALBUM
	gui_label{
		x = 250
		y = 195
		z_order = 	11
		align = 0
		text_color_out = #EEEEEE
		text_size = 3
		text = $ALBUM
	}
	//GENRE
	gui_label{
		x = 250
		y = 215
		z_order = 	11
		align = 0
		text_color_out = #EEEEEE
		text_size = 3
		text = $GENRE
	}
	//YEAR
	gui_label{
		x = 250
		y = 235
		z_order = 	11
		align = 0
		text_color_out = #EEEEEE
		text_size = 3
		text = $YEAR
	}
	//YEAR
	gui_label{
		x = 250
		y = 255
		z_order = 	11
		align = 0
		text_color_out = #EEEEEE
		text_size = 3
		text = $BITRATE
	}
}
