# --- General Settings ------------------------------------------------------ #

Variables {
	# flagfiles {
		F_WEATHER	'/var/etc/.lcd-weather'
		F_CLOCK_ANALOG	'/var/etc/.lcd-clock_a'
		F_XCAM		'/var/etc/.lcd-xcam'
		F_DOSCAM	'/var/etc/.doscam'
		F_OSCAM		'/var/etc/.oscam'
		F_OSMOD		'/var/etc/.osmod'
		F_NCAM		'/var/etc/.ncam'
		F_CCCAM		'/var/etc/.cccam'
		F_MGCAMD	'/var/etc/.mgcamd'
		F_GBOX		'/var/etc/.gbox'
	# }

	# debugborder {
		F_DB		'/var/etc/.lcd-debugborder'
		DB_ON		'FFEB3B00' # debugborder on
		DB_OFF		'FFFFFFFF' # debugborder off
	# }

	LCD_ICONS	'/usr/share/lcd/icons/'
	TUXBOX_ICONS	'/usr/share/tuxbox/neutrino/icons/'
	TUXBOX_FONTS	'/usr/share/fonts/'

	LCD4CONFIG	'/etc/lcd4config.conf'

	# colors {
		COL_GREY		'9E9E9E'
		COL_BLACK		'000000'
		COL_WHITE		'FFFFFF'

		COL_SERVICE		'9E9E9E'
		COL_EVENT		'9E9E9E'
		COL_EVENT_START		'9E9E9E'
		COL_EVENT_END		'616161'
		COL_EVENT_NEXT		'616161'
		COL_PROGRESS_FOREGROUND	'9E9E9E'
		COL_PROGRESS_BACKGROUND	'424242'
		COL_DURATION		'9E9E9E'
		COL_TIME		'000000'
		COL_TIME_STANDBY	'9E9E9E'
		COL_SYSTEM_INFO		'9E9E9E'
		COL_TEMPERATUR		'FFFFFF'
		COL_XCAM_HEADER		'EEEEEE'
		COL_XCAM		'9E9E9E'
	# }

	STORM_WARNING	'10.8333'
}

# --------------------------------------------------------------------------- #

# Samsung1024x600_standby
Display file::readline('/tmp/lcd/layout', 1)

# Samsung1024x600
#Display file::readline('/tmp/lcd/layout', 2) . file::readline('/tmp/lcd/layout', 3)

# Samsung1024x600_standby
Layout file::readline('/tmp/lcd/layout', 1)

# 1024x600_standby
#Layout file::readline('/tmp/lcd/layout', 3) . '_' . file::readline('/tmp/lcd/layout', 4)

# --- Displays -------------------------------------------------------------- #

# --- PEARL DPF (PX-1184, 320x240) --- #

Display Pearl_standard {
	driver		'DPF'
	port		'usb0'
	font		'12x16'
	size		'320x240'
	basecolor	COL_BLACK
	foreground	COL_GREY
	background	COL_BLACK
	backlight	file::readline('/tmp/lcd/brightness', 1)
}

Display Pearl_radio {
	driver		'DPF'
	port		'usb0'
	font		'12x16'
	size		'320x240'
	basecolor	COL_BLACK
	foreground	COL_GREY
	background	COL_BLACK
	backlight	file::readline('/tmp/lcd/brightness', 1)
}

Display Pearl_large {
	driver		'DPF'
	port		'usb0'
	font		'12x16'
	size		'320x240'
	basecolor	COL_BLACK
	foreground	COL_GREY
	background	COL_BLACK
	backlight	file::readline('/tmp/lcd/brightness', 1)
}

Display Pearl_small {
	driver		'DPF'
	port		'usb0'
	font		'12x16'
	size		'320x240'
	basecolor	COL_BLACK
	foreground	COL_GREY
	background	COL_BLACK
	backlight	file::readline('/tmp/lcd/brightness', 1)
}

Display Pearl_d-box2 {
	driver		'DPF'
	port		'usb0'
	font		'12x16'
	size		'320x240'
	basecolor	COL_BLACK
	foreground	COL_GREY
	background	COL_BLACK
	backlight	file::readline('/tmp/lcd/brightness', 1)
}

Display Pearl_xcam {
	driver		'DPF'
	port		'usb0'
	font		'6x8'
	size		'320x240'
	basecolor	COL_BLACK
	foreground	COL_GREY
	background	COL_BLACK
	backlight	file::readline('/tmp/lcd/brightness', 1)
}

Display Pearl_standby {
	driver		'DPF'
	port		'usb0'
	font		'12x16'
	size		'320x240'
	basecolor	COL_BLACK
	foreground	COL_GREY
	background	COL_BLACK
	backlight	file::readline('/tmp/lcd/brightness_standby', 1)
}

# --- Samsung SPF --- #

Display Samsung800x480_standard {
	driver		'SamsungSPF'
	model		'SPF-Auto'
	port		'usb0'
	font		'12x16'
	size		'800x480'
	basecolor	COL_BLACK
	foreground	COL_GREY
	background	COL_BLACK
}

Display Samsung800x600_standard {
	driver		'SamsungSPF'
	model		'SPF-Auto'
	port		'usb0'
	font		'12x16'
	size		'800x600'
	basecolor	COL_BLACK
	foreground	COL_GREY
	background	COL_BLACK
}

Display Samsung1024x600_standard {
	driver		'SamsungSPF'
	model		'SPF-Auto'
	port		'usb0'
	font		'12x16'
	size		'1024x600'
	basecolor	COL_BLACK
	foreground	COL_GREY
	background	COL_BLACK
}

Display Samsung800x480_radio {
	driver		'SamsungSPF'
	model		'SPF-Auto'
	port		'usb0'
	font		'12x16'
	size		'800x480'
	basecolor	COL_BLACK
	foreground	COL_GREY
	background	COL_BLACK
}

Display Samsung800x600_radio {
	driver		'SamsungSPF'
	model		'SPF-Auto'
	port		'usb0'
	font		'12x16'
	size		'800x600'
	basecolor	COL_BLACK
	foreground	COL_GREY
	background	COL_BLACK
}

Display Samsung1024x600_radio {
	driver		'SamsungSPF'
	model		'SPF-Auto'
	port		'usb0'
	font		'12x16'
	size		'1024x600'
	basecolor	COL_BLACK
	foreground	COL_GREY
	background	COL_BLACK
}

Display Samsung800x480_xcam {
	driver		'SamsungSPF'
	model		'SPF-Auto'
	port		'usb0'
	font		'12x16'
	size		'800x480'
	basecolor	COL_BLACK
	foreground	COL_GREY
	background	COL_BLACK
}

Display Samsung800x600_xcam {
	driver		'SamsungSPF'
	model		'SPF-Auto'
	port		'usb0'
	font		'15x20'
	size		'800x600'
	basecolor	COL_BLACK
	foreground	COL_GREY
	background	COL_BLACK
}

Display Samsung1024x600_xcam {
	driver		'SamsungSPF'
	model		'SPF-Auto'
	port		'usb0'
	font		'15x20'
	size		'1024x600'
	basecolor	COL_BLACK
	foreground	COL_GREY
	background	COL_BLACK
}

Display Samsung800x480_standby {
	driver		'SamsungSPF'
	model		'SPF-Auto'
	port		'usb0'
	font		'12x16'
	size		'800x480'
	basecolor	COL_BLACK
	foreground	COL_GREY
	background	COL_BLACK
}

Display Samsung800x600_standby {
	driver		'SamsungSPF'
	model		'SPF-Auto'
	port		'usb0'
	font		'12x16'
	size		'800x600'
	basecolor	COL_BLACK
	foreground	COL_GREY
	background	COL_BLACK
}

Display Samsung1024x600_standby {
	driver		'SamsungSPF'
	model		'SPF-Auto'
	port		'usb0'
	font		'12x16'
	size		'1024x600'
	basecolor	COL_BLACK
	foreground	COL_GREY
	background	COL_BLACK
}

# --- General widgets (partly postfixed with _layout) ----------------------- #

Widget 320x240_LOGO {
	class		'Image'
	file		file::exist('/tmp/lcd/menu') == 1 ? LCD_ICONS . 'menu.png' : file::readline('/tmp/lcd/logo', 1)
	update		3300
	visible		file::exist('/tmp/lcd/menu') == 1 ? 1 : file::readline('/tmp/lcd/mode_logo', 1)
	reload		1
	width		320
	height		60
	center		60
	scale		-1
}

Widget 320x240_LOGO_large {
	class		'Image'
	file		file::exist('/tmp/lcd/menu') == 1 ? LCD_ICONS . 'menu.png' : file::readline('/tmp/lcd/logo', 1)
	update		3300
	visible		file::exist('/tmp/lcd/menu') == 1 ? 1 : file::readline('/tmp/lcd/mode_logo', 1)
	reload		1
	width		320
	height		70
	center		70
	scale		-1
}

Widget 320x240_LOGO_small {
	class		'Image'
	file		file::exist('/tmp/lcd/menu') == 1 ? LCD_ICONS . 'menu.png' : file::readline('/tmp/lcd/logo', 1)
	update		3300
	visible		file::exist('/tmp/lcd/menu') == 1 ? 1 : file::readline('/tmp/lcd/mode_logo', 1)
	reload		1
	width		320
	height		50
	center		50
	scale		-1
}

Widget 320x240_LOGO_d-box2 {
	class		'Image'
	file		file::exist('/tmp/lcd/menu') == 1 ? LCD_ICONS . 'menu.png' : file::readline('/tmp/lcd/logo', 1)
	update		3300
	visible		file::exist('/tmp/lcd/menu') == 1 ? 1 : file::readline('/tmp/lcd/mode_logo', 1)
	reload		1
	width		320
	height		60
	center		60
	scale		-1
}

Widget 800x480_LOGO {
	class		'Image'
	file		file::exist('/tmp/lcd/menu') == 1 ? LCD_ICONS . 'menu.png' : file::readline('/tmp/lcd/logo', 1)
	update		3300
	visible		file::exist('/tmp/lcd/menu') == 1 ? 1 : file::readline('/tmp/lcd/mode_logo', 1)
	reload		1
	width		740
	height		100
	center		100
	scale		-1
}

Widget 800x600_LOGO {
	class		'Image'
	file		file::exist('/tmp/lcd/menu') == 1 ? LCD_ICONS . 'menu.png' : file::readline('/tmp/lcd/logo', 1)
	update		3300
	visible		file::exist('/tmp/lcd/menu') == 1 ? 1 : file::readline('/tmp/lcd/mode_logo', 1)
	reload		1
	width		740
	height		120
	center		120
	scale		-1
}

Widget 1024x600_LOGO {
	class		'Image'
	file		file::exist('/tmp/lcd/menu') == 1 ? LCD_ICONS . 'menu.png' : file::readline('/tmp/lcd/logo', 1)
	update		3300
	visible		file::exist('/tmp/lcd/menu') == 1 ? 1 : file::readline('/tmp/lcd/mode_logo', 1)
	reload		1
	width		964
	height		120
	center		120
	scale		-1
}

Widget 320x240_SERVICE {
	class		'Truetype'
	expression	file::exist('/tmp/lcd/menu') == 1 ? '' : (file::readline('/tmp/lcd/mode_logo', 1) == 1 ? '' : file::readline('/tmp/lcd/service', 1))
	font		file::readline('/tmp/lcd/font', 1)
	fcolor		file::readconf(LCD4CONFIG, 'col_service=', COL_SERVICE)
	align		'C'
	width		300
	height		60
	size		30
	mheight		'F'
	update		3300
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 320x240_SERVICE_large {
	class		'Truetype'
	expression	file::exist('/tmp/lcd/menu') == 1 ? '' : (file::readline('/tmp/lcd/mode_logo', 1) == 1 ? '' : file::readline('/tmp/lcd/service', 1))
	font		file::readline('/tmp/lcd/font', 1)
	fcolor		file::readconf(LCD4CONFIG, 'col_service=', COL_SERVICE)
	align		'C'
	width		300
	height		70
	size		35
	mheight		'F'
	update		3300
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 320x240_SERVICE_small {
	class		'Truetype'
	expression	file::exist('/tmp/lcd/menu') == 1 ? '' : (file::readline('/tmp/lcd/mode_logo', 1) == 1 ? '' : file::readline('/tmp/lcd/service', 1))
	font		file::readline('/tmp/lcd/font', 1)
	fcolor		file::readconf(LCD4CONFIG, 'col_service=', COL_SERVICE)
	align		'C'
	width		300
	height		50
	size		20
	mheight		'F'
	update		3300
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 320x240_SERVICE_d-box2 {
	class		'Truetype'
	expression	file::exist('/tmp/lcd/menu') == 1 ? '' : (file::readline('/tmp/lcd/mode_logo', 1) == 1 ? '' : file::readline('/tmp/lcd/service', 1))
	font		file::readline('/tmp/lcd/font', 2)
	fcolor		COL_GREY
	align		'C'
	width		300
	height		60
	size		30
	mheight		'F'
	update		3300
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 800x480_SERVICE {
	class		'Truetype'
	expression	file::exist('/tmp/lcd/menu') == 1 ? '' : (file::readline('/tmp/lcd/mode_logo', 1) == 1 ? '' : file::readline('/tmp/lcd/service', 1))
	font		file::readline('/tmp/lcd/font', 1)
	fcolor		file::readconf(LCD4CONFIG, 'col_service=', COL_SERVICE)
	align		'C'
	width		770
	height		100
	size		50
	mheight		'F'
	update		3300
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 800x600_SERVICE {
	class		'Truetype'
	expression	file::exist('/tmp/lcd/menu') == 1 ? '' : (file::readline('/tmp/lcd/mode_logo', 1) == 1 ? '' : file::readline('/tmp/lcd/service', 1))
	font		file::readline('/tmp/lcd/font', 1)
	fcolor		file::readconf(LCD4CONFIG, 'col_service=', COL_SERVICE)
	align		'C'
	width		770
	height		120
	size		60
	mheight		'F'
	update		3300
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 1024x600_SERVICE {
	class		'Truetype'
	expression	file::exist('/tmp/lcd/menu') == 1 ? '' : (file::readline('/tmp/lcd/mode_logo', 1) == 1 ? '' : file::readline('/tmp/lcd/service', 1))
	font		file::readline('/tmp/lcd/font', 1)
	fcolor		file::readconf(LCD4CONFIG, 'col_service=', COL_SERVICE)
	align		'C'
	width		994
	height		120
	size		60
	mheight		'F'
	update		3300
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 320x240_EVENT {
	class		'Truetype'
	expression	file::exist('/tmp/lcd/menu') == 1 ? file::readline('/tmp/lcd/menu', 1) : file::readline('/tmp/lcd/event', 1)
	font		file::readline('/tmp/lcd/font', 1)
	fcolor		file::readconf(LCD4CONFIG, 'col_event=', COL_EVENT)
	align		'C'
	width		300
	height		60
	size		30
	mheight		'F'
	update		1000
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 320x240_EVENT_large {
	class		'Truetype'
	expression	file::exist('/tmp/lcd/menu') == 1 ? file::readline('/tmp/lcd/menu', 1) : file::readline('/tmp/lcd/event', 1)
	font		file::readline('/tmp/lcd/font', 1)
	fcolor		file::readconf(LCD4CONFIG, 'col_event=', COL_EVENT)
	align		'C'
	width		300
	height		70
	size		35
	mheight		'F'
	update		1000
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 320x240_EVENT_small {
	class		'Truetype'
	expression	file::exist('/tmp/lcd/menu') == 1 ? file::readline('/tmp/lcd/menu', 1) : file::readline('/tmp/lcd/event', 1)
	font		file::readline('/tmp/lcd/font', 1)
	fcolor		file::readconf(LCD4CONFIG, 'col_event=', COL_EVENT)
	align		'C'
	width		300
	height		50
	size		20
	mheight		'F'
	update		1000
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 320x240_EVENT_d-box2 {
	class		'Truetype'
	expression	file::exist('/tmp/lcd/menu') == 1 ? file::readline('/tmp/lcd/menu', 1) : file::readline('/tmp/lcd/event', 1)
	font		file::readline('/tmp/lcd/font', 2)
	fcolor		COL_GREY
	align		'C'
	width		300
	height		60
	size		30
	mheight		'F'
	update		1000
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 800x480_EVENT {
	class		'Truetype'
	expression	file::exist('/tmp/lcd/menu') == 1 ? file::readline('/tmp/lcd/menu', 1) : file::readline('/tmp/lcd/event', 1)
	font		file::readline('/tmp/lcd/font', 1)
	fcolor		file::readconf(LCD4CONFIG, 'col_event=', COL_EVENT)
	align		'C'
	width		770
	height		100
	size		50
	mheight		'F'
	update		1000
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 800x600_EVENT {
	class		'Truetype'
	expression	file::exist('/tmp/lcd/menu') == 1 ? file::readline('/tmp/lcd/menu', 1) : file::readline('/tmp/lcd/event', 1)
	font		file::readline('/tmp/lcd/font', 1)
	fcolor		file::readconf(LCD4CONFIG, 'col_event=', COL_EVENT)
	align		'C'
	width		770
	height		120
	size		60
	mheight		'F'
	update		1000
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 1024x600_EVENT {
	class		'Truetype'
	expression	file::exist('/tmp/lcd/menu') == 1 ? file::readline('/tmp/lcd/menu', 1) : file::readline('/tmp/lcd/event', 1)
	font		file::readline('/tmp/lcd/font', 1)
	fcolor		file::readconf(LCD4CONFIG, 'col_event=', COL_EVENT)
	align		'C'
	width		994
	height		120
	size		60
	mheight		'F'
	update		1000
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 1024x600_EVENT_START {
	class		'Truetype'
	expression	file::exist('/tmp/lcd/menu') == 1 ? '' : file::readline('/tmp/lcd/start', 1)
	font		file::readline('/tmp/lcd/font', 2)
	fcolor		file::readconf(LCD4CONFIG, 'col_event_start=', COL_EVENT_START)
	align		'L'
	width		200
	height		60
	size		45
	mheight		'N'
	update		1000
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 1024x600_EVENT_END {
	class		'Truetype'
	expression	file::exist('/tmp/lcd/menu') == 1 ? '' : file::readline('/tmp/lcd/end', 1)
	font		file::readline('/tmp/lcd/font', 2)
	fcolor		file::readconf(LCD4CONFIG, 'col_event_end=', COL_EVENT_END)
	align		'R'
	width		200
	height		60
	size		45
	mheight		'N'
	update		1000
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 800x600_EVENT_NEXT {
	class		'Truetype'
	expression	file::exist('/tmp/lcd/menu') == 1 ? '' : file::readline('/tmp/lcd/event', 2)
	font		file::readline('/tmp/lcd/font', 1)
	fcolor		file::readconf(LCD4CONFIG, 'col_event_next=', COL_EVENT_NEXT)
	align		'C'
	width		770
	height		80
	size		40
	mheight		'F'
	update		1000
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 1024x600_EVENT_NEXT {
	class		'Truetype'
	expression	file::exist('/tmp/lcd/menu') == 1 ? '' : file::readline('/tmp/lcd/event', 2)
	font		file::readline('/tmp/lcd/font', 1)
	fcolor		file::readconf(LCD4CONFIG, 'col_event_next=', COL_EVENT_NEXT)
	align		'C'
	width		994
	height		80
	size		40
	mheight		'F'
	update		1000
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 320x240_PROGRESS {
	class		'Bar'
	expression	file::exist('/tmp/lcd/menu') == 1 ? 0 : file::readline('/tmp/lcd/progress', 1)
	min		0
	max		100
	length		25
	update		2600
	foreground	file::readconf(LCD4CONFIG, 'col_progress_foreground=', COL_PROGRESS_FOREGROUND)
	background	file::readconf(LCD4CONFIG, 'col_progress_background=', COL_PROGRESS_BACKGROUND)
}

Widget 320x240_PROGRESS_large {
	class		'Bar'
	expression	file::exist('/tmp/lcd/menu') == 1 ? 0 : file::readline('/tmp/lcd/progress', 1)
	min		0
	max		100
	length		25
	update		2600
	foreground	file::readconf(LCD4CONFIG, 'col_progress_foreground=', COL_PROGRESS_FOREGROUND)
	background	file::readconf(LCD4CONFIG, 'col_progress_background=', COL_PROGRESS_BACKGROUND)
}

Widget 320x240_PROGRESS_small {
	class		'Bar'
	expression	file::exist('/tmp/lcd/menu') == 1 ? 0 : file::readline('/tmp/lcd/progress', 1)
	expression2	100
	min		0
	max		100
	length		25
	update		2600
	foreground	file::readconf(LCD4CONFIG, 'col_progress_foreground=', COL_PROGRESS_FOREGROUND)
	barcolor0	file::readconf(LCD4CONFIG, 'col_progress_foreground=', COL_PROGRESS_FOREGROUND)
	barcolor1	COL_BLACK
	background	file::readconf(LCD4CONFIG, 'col_progress_background=', COL_PROGRESS_BACKGROUND)
}

Widget 320x240_PROGRESS_d-box2 {
	class		'Bar'
	expression	file::exist('/tmp/lcd/menu') == 1 ? 0 : file::readline('/tmp/lcd/progress', 1)
	min		0
	max		100
	length		13
	update		2600
	foreground	COL_GREY
	background	COL_BLACK
}

Widget 320x240_PROGRESS_FRAME_d-box2 {
	class		'Image'
	file		LCD_ICONS . '320x240/d-box2_frame_progress.png'
}

Widget 800x600_PROGRESS {
	class		'Bar'
	expression	file::exist('/tmp/lcd/menu') == 1 ? 0 : file::readline('/tmp/lcd/progress', 1)
	min		0
	max		100
	length		29
	update		2600
	foreground	file::readconf(LCD4CONFIG, 'col_progress_foreground=', COL_PROGRESS_FOREGROUND)
	background	file::readconf(LCD4CONFIG, 'col_progress_background=', COL_PROGRESS_BACKGROUND)
}

Widget 1024x600_PROGRESS {
	class		'Bar'
	expression	file::exist('/tmp/lcd/menu') == 1 ? 0 : file::readline('/tmp/lcd/progress', 1)
	min		0
	max		100
	length		47
	update		2600
	foreground	file::readconf(LCD4CONFIG, 'col_progress_foreground=', COL_PROGRESS_FOREGROUND)
	background	file::readconf(LCD4CONFIG, 'col_progress_background=', COL_PROGRESS_BACKGROUND)
}

Widget 320x240_VOLUME_d-box2 {
	class		'Bar'
	expression	file::readline('/tmp/lcd/volume', 1)
	min		0
	max		100
	length		13
	update		1000
	foreground	COL_GREY
	background	COL_BLACK
}

Widget 320x240_VOLUME_FRAME_d-box2 {
	class		'Image'
	file		LCD_ICONS . '320x240/d-box2_frame_volume.png'
}

Widget 320x240_DURATION {
	class		'Truetype'
	expression	file::exist('/tmp/lcd/menu') == 1 ? '' : file::readline('/tmp/lcd/duration', 1)
	font		file::readline('/tmp/lcd/font', 2)
	fcolor		file::readconf(LCD4CONFIG, 'col_duration=', COL_DURATION)
	align		'R'
	width		190
	height		40
	size		25
	mheight		'N'
	update		1000
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 320x240_TIME {
	class		'Truetype'
	expression	strftime('%H:%M', time())
	font		file::readline('/tmp/lcd/font', 2)
	fcolor		file::readconf(LCD4CONFIG, 'col_time=', COL_TIME)
	align		'L'
	width		110
	height		40
	size		25
	mheight		'N'
	update		1000
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 320x240_TIME_small {
	class		'Truetype'
	expression	strftime('%H:%M', time())
	font		file::readline('/tmp/lcd/font', 2)
	fcolor		file::readconf(LCD4CONFIG, 'col_time=', COL_TIME)
	align		'R'
	width		90
	height		18
	size		18
	mheight		'N'
	update		5000
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 320x240_TIME_d-box2 {
	class		'Truetype'
	expression	strftime('%H:%M', time())
	font		file::readline('/tmp/lcd/font', 2)
	fcolor		COL_GREY
	align		'R'
	width		100
	height		28
	size		24
	mheight		'N'
	update		5000
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 800x600_TIME {
	class		'Truetype'
	expression	strftime('%H:%M', time())
	font		file::readline('/tmp/lcd/font', 2)
	fcolor		file::readconf(LCD4CONFIG, 'col_time=', COL_TIME)
	align		'C'
	width		240
	height		128
	size		55
	mheight		'N'
	update		1000
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 1024x600_TIME {
	class		'Truetype'
	expression	strftime('%H:%M', time())
	font		file::readline('/tmp/lcd/font', 2)
	fcolor		file::readconf(LCD4CONFIG, 'col_time=', COL_TIME)
	align		'C'
	width		400
	height		128
	size		85
	mheight		'N'
	update		1000
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 320x240_TIME_STANDBY {
	class		'Truetype'
	expression	file::exist(F_CLOCK_ANALOG) == 1 ? '' : strftime('%H:%M', time())
	font		file::readline('/tmp/lcd/font', 2)
	fcolor		file::readconf(LCD4CONFIG, 'col_time_standby=', COL_TIME_STANDBY)
	align		'C'
	width		300
	height		148
	size		70
	mheight		'N'
	update		1000
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 800x480_TIME_STANDBY {
	class		'Truetype'
	expression	file::exist(F_CLOCK_ANALOG) == 1 ? '' : strftime('%H:%M', time())
	font		file::readline('/tmp/lcd/font', 2)
	fcolor		file::readconf(LCD4CONFIG, 'col_time_standby=', COL_TIME_STANDBY)
	align		'C'
	width		770
	height		300
	size		180
	mheight		'N'
	update		1000
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 800x600_TIME_STANDBY {
	class		'Truetype'
	expression	file::exist(F_CLOCK_ANALOG) == 1 ? '' : strftime('%H:%M', time())
	font		file::readline('/tmp/lcd/font', 2)
	fcolor		file::readconf(LCD4CONFIG, 'col_time_standby=', COL_TIME_STANDBY)
	align		'C'
	width		770
	height		360
	size		180
	mheight		'N'
	update		1000
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget 1024x600_TIME_STANDBY {
	class		'Truetype'
	expression	file::exist(F_CLOCK_ANALOG) == 1 ? '' : strftime('%H:%M', time())
	font		file::readline('/tmp/lcd/font', 2)
	fcolor		file::readconf(LCD4CONFIG, 'col_time_standby=', COL_TIME_STANDBY)
	align		'C'
	width		994
	height		360
	size		220
	mheight		'N'
	update		1000
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

# --- System info --- #

Widget 320x240_CPU {
	class		'Text'
	prefix		'CPU: '
	expression	proc_stat::cpu('busy', 500)
	postfix		'%'
	precision	1
	align		'R'
	width		11
	update		1000
	foreground	file::readconf(LCD4CONFIG, 'col_system_info=', COL_SYSTEM_INFO)
}

Widget 320x240_CPU_BAR {
	class		'Bar'
	expression	proc_stat::cpu('busy', 500)
	min		0
	max		100
	length		12
	style		'H'
	update		500
	foreground	file::readconf(LCD4CONFIG, 'col_system_info=', COL_SYSTEM_INFO)
}

Widget 320x240_RAM {
	class		'Text'
	prefix		'RAM: '
	expression	100 - ((meminfo('MemFree') * 100) / meminfo('MemTotal'))
	postfix		'%'
	precision	1
	align		'R'
	width		11
	update		1000
	foreground	file::readconf(LCD4CONFIG, 'col_system_info=', COL_SYSTEM_INFO)
}

Widget 320x240_MTD {
	class		'Text'
	prefix		'MTD: '
	expression	100 - (statfs('/', 'bfree') * 100) / statfs('/', 'blocks')
	postfix		'%'
	precision	1
	align		'R'
	width		11
	update		1000
	foreground	file::readconf(LCD4CONFIG, 'col_system_info=', COL_SYSTEM_INFO)
}

# --- Mode icons --- #

Widget ICON_CAMD {
	class		'Image'
	file		file::exist(F_DOSCAM) == 1 ? LCD_ICONS . 'mode/camd_doscam.png' : ( file::exist(F_OSCAM) == 1 ? LCD_ICONS . 'mode/camd_oscam.png' :  ( file::exist(F_OSMOD) == 1 ? LCD_ICONS . 'mode/camd_osmod.png' :  ( file::exist(F_GBOX) == 1 ? LCD_ICONS . 'mode/camd_gbox.png' :  ( file::exist(F_CCCAM) == 1 ? LCD_ICONS . 'mode/camd_cccam.png' :  ( file::exist(F_MGCAMD) == 1 ? LCD_ICONS . 'mode/camd_mgcamd.png' :  ( file::exist(F_NCAM) == 1 ? LCD_ICONS . 'mode/camd_ncam.png' : LCD_ICONS . 'mode/camd_off.png' ))))))
	update		4000
	reload		1
}

Widget ICON_CAMD_SCALE300 {
	class		'Image'
	file		file::exist(F_DOSCAM) == 1 ? LCD_ICONS . 'mode/camd_doscam.png' : ( file::exist(F_OSCAM) == 1 ? LCD_ICONS . 'mode/camd_oscam.png' :  ( file::exist(F_OSMOD) == 1 ? LCD_ICONS . 'mode/camd_osmod.png' :  ( file::exist(F_GBOX) == 1 ? LCD_ICONS . 'mode/camd_gbox.png' :  ( file::exist(F_CCCAM) == 1 ? LCD_ICONS . 'mode/camd_cccam.png' :  ( file::exist(F_MGCAMD) == 1 ? LCD_ICONS . 'mode/camd_mgcamd.png' :  ( file::exist(F_NCAM) == 1 ? LCD_ICONS . 'mode/camd_ncam.png' : LCD_ICONS . 'mode/camd_off.png' ))))))
	update		4000
	reload		1
	scale		300
}

Widget ICON_ECM {
	class		'Image'
	file		LCD_ICONS . 'mode/ecm_' . file::readline('/tmp/lcd/mode_ecm', 1) . '.png'
	update		4000
	reload		1
}

Widget ICON_ECM_SCALE300 {
	class		'Image'
	file		LCD_ICONS . 'mode/ecm_' . file::readline('/tmp/lcd/mode_ecm', 1) . '.png'
	update		4000
	reload		1
	scale		300
}

Widget ICON_CAM {
	class		'Image'
	file		LCD_ICONS . 'mode/ci_' . file::readline('/tmp/lcd/mode_cam', 1) . '.png'
	update		4000
	reload		1
}

Widget ICON_CAM_SCALE300 {
	class		'Image'
	file		LCD_ICONS . 'mode/ci_' . file::readline('/tmp/lcd/mode_cam', 1) . '.png'
	update		4000
	reload		1
	scale		300
}

Widget ICON_TIMER {
	class		'Image'
	file		LCD_ICONS . 'mode/timer_' . file::readline('/tmp/lcd/mode_timer', 1) . '.png'
	update		4000
	reload		1
}

Widget ICON_TIMER_SCALE300 {
	class		'Image'
	file		LCD_ICONS . 'mode/timer_' . file::readline('/tmp/lcd/mode_timer', 1) . '.png'
	update		4000
	reload		1
	scale		300
}

Widget ICON_REC {
	class		'Image'
	file		LCD_ICONS . 'mode/rec_' . file::readline('/tmp/lcd/mode_rec', 1) . '.png'
	update		4000
	reload		1
}

Widget ICON_REC_SCALE300 {
	class		'Image'
	file		LCD_ICONS . 'mode/rec_' . file::readline('/tmp/lcd/mode_rec', 1) . '.png'
	update		4000
	reload		1
	scale		300
}

Widget ICON_TS {
	class		'Image'
	file		LCD_ICONS . 'mode/ts_' . file::readline('/tmp/lcd/mode_tshift', 1) . '.png'
	update		4000
	reload		1
}

Widget ICON_TS_SCALE300 {
	class		'Image'
	file		LCD_ICONS . 'mode/ts_' . file::readline('/tmp/lcd/mode_tshift', 1) . '.png'
	update		4000
	reload		1
	scale		300
}

Widget ICON_TV {
	class		'Image'
	file		LCD_ICONS . 'mode/tv.png'
	update		4000
	reload		1
}

Widget ICON_TV_SCALE300 {
	class		'Image'
	file		LCD_ICONS . 'mode/tv.png'
	update		4000
	reload		1
	scale		300
}

Widget ICON_RADIO {
	class		'Image'
	file		LCD_ICONS . 'mode/radio.png'
	update		4000
	reload		1
}

Widget ICON_RADIO_SCALE300 {
	class		'Image'
	file		LCD_ICONS . 'mode/radio.png'
	update		4000
	reload		1
	scale		300
}

# --- Background --- #

Widget LINE {
	class		'Image'
	file		LCD_ICONS . file::readline('/tmp/lcd/layout', 3) . '/line.png'
	update		0
}

Widget BACKGROUND {
	class		'Image'
	file		LCD_ICONS . file::readline('/tmp/lcd/layout', 3) . '/background.png'
	update		0
}

# --- SPF brightness --- #

Widget BRIGHTNESS_SPF {
	class		'Image'
	file		LCD_ICONS . file::readline('/tmp/lcd/layout', 3) . '/brightness' . file::readline('/tmp/lcd/brightness', 1) . '.png'
	update		0
}

Widget BRIGHTNESS_STANDBY_SPF {
	class		'Image'
	file		LCD_ICONS . file::readline('/tmp/lcd/layout', 3) . '/brightness' . file::readline('/tmp/lcd/brightness_standby', 1) . '.png'
	update		0
}

# --- NI lettering --- #

Widget IMAGE_NI_STANDBY {
	class		'Image'
	file		file::exist(F_CLOCK_ANALOG) == 1 ? LCD_ICONS . 'blank.png' : LCD_ICONS . 'neutrino-images_dark.png'
	update		0
}

Widget IMAGE_NI_STANDBY_SCALE200 {
	class		'Image'
	file		LCD_ICONS . 'neutrino-images_light.png'
	update		0
	scale		200
}

# --- Analog clock --- #

Widget IMAGE_CLOCK_ANALOG_FACE {
	class		'image'
	file		file::exist(F_CLOCK_ANALOG) == 0 ? LCD_ICONS . 'blank.png' : LCD_ICONS . 'clock/analog-150x150/clockface.png'
	update		0
}

Widget IMAGE_CLOCK_ANALOG_FACE_SCALE50 {
	class		'image'
	file		file::exist(F_CLOCK_ANALOG) == 0 ? LCD_ICONS . 'blank.png' : LCD_ICONS . 'clock/analog-600x600/clockface.png'
	update		10000
	reload		1
	scale		50
}

Widget IMAGE_CLOCK_ANALOG_FACE_SCALE60 {
	class		'image'
	file		file::exist(F_CLOCK_ANALOG) == 0 ? LCD_ICONS . 'blank.png' : LCD_ICONS . 'clock/analog-600x600/clockface.png'
	update		10000
	reload		1
	scale		60
}

Widget IMAGE_CLOCK_ANALOG_HOUR {
	class		'image'
	file		file::exist(F_CLOCK_ANALOG) == 0 ? LCD_ICONS . 'blank.png' : LCD_ICONS . 'clock/analog-150x150/h' . ( ( (strftime('%I', time()) == 12 ? 0 : strftime('%I', time())) *5) + substr((strftime('%M', time()) / 12), 0, 1) ). '.png'
	update		10000
	reload		1
}

Widget IMAGE_CLOCK_ANALOG_HOUR_SCALE50 {
	class		'image'
	file		file::exist(F_CLOCK_ANALOG) == 0 ? LCD_ICONS . 'blank.png' : LCD_ICONS . 'clock/analog-600x600/h' . ( ( (strftime('%I', time()) == 12 ? 0 : strftime('%I', time())) *5) + substr((strftime('%M', time()) / 12), 0, 1) ). '.png'
	update		10000
	reload		1
	scale		50
}

Widget IMAGE_CLOCK_ANALOG_HOUR_SCALE60 {
	class		'image'
	file		file::exist(F_CLOCK_ANALOG) == 0 ? LCD_ICONS . 'blank.png' : LCD_ICONS . 'clock/analog-600x600/h' . ( ( (strftime('%I', time()) == 12 ? 0 : strftime('%I', time())) *5) + substr((strftime('%M', time()) / 12), 0, 1) ). '.png'
	update		10000
	reload		1
	scale		60
}

Widget IMAGE_CLOCK_ANALOG_MINUTE {
	class		'image'
	file		file::exist(F_CLOCK_ANALOG) == 0 ? LCD_ICONS . 'blank.png' : LCD_ICONS . 'clock/analog-150x150/m' . strftime('%M', time()) . '.png'
	update		10000
	reload		1
}

Widget IMAGE_CLOCK_ANALOG_MINUTE_SCALE50 {
	class		'image'
	file		file::exist(F_CLOCK_ANALOG) == 0 ? LCD_ICONS . 'blank.png' : LCD_ICONS . 'clock/analog-600x600/m' . strftime('%M', time()) . '.png'
	update		10000
	reload		1
	scale		50
}

Widget IMAGE_CLOCK_ANALOG_MINUTE_SCALE60 {
	class		'image'
	file		file::exist(F_CLOCK_ANALOG) == 0 ? LCD_ICONS . 'blank.png' : LCD_ICONS . 'clock/analog-600x600/m' . strftime('%M', time()) . '.png'
	update		10000
	reload		1
	scale		60
}

# --- Weather --- #

Widget ICON_WEATHER {
	class		'Image'
	file		file::exist(F_WEATHER) == 0 ? LCD_ICONS . 'mode/weather_off.png' : LCD_ICONS . 'mode/weather_on.png'
	update		10000
	reload		1
}

Widget ICON_WEATHER_SCALE300 {
	class		'Image'
	file		file::exist(F_WEATHER) == 0 ? LCD_ICONS . 'mode/weather_off.png' : LCD_ICONS . 'mode/weather_on.png'
	update		10000
	reload		1
	scale		300
}

Widget ICON_WEATHER_CURRENT {
	class		'image'
	file		file::exist(F_WEATHER) == 0 ? LCD_ICONS . 'blank.png' : file::readline('/tmp/lcd/weather_icon', 1)
	update		10000
	reload		1
}

Widget ICON_WEATHER_CURRENT_SCALE200 {
	class		'image'
	file		file::exist(F_WEATHER) == 0 ? LCD_ICONS . 'blank.png' : file::readline('/tmp/lcd/weather_icon', 1)
	update		10000
	reload		1
	scale		200
}

Widget ICON_WEATHER_CURRENT_SCALE300 {
	class		'image'
	file		file::exist(F_WEATHER) == 0 ? LCD_ICONS . 'blank.png' : file::readline('/tmp/lcd/weather_icon', 1)
	update		10000
	reload		1
	scale		300
}

Widget ICON_WEATHER_LATER {
	class		'image'
	file		file::exist(F_WEATHER) == 0 ? LCD_ICONS . 'blank.png' : file::readline('/tmp/lcd/weather_icon', strftime('%H', time()) < 16 ? 2 : 3)
	update		10000
	reload		1
}

Widget ICON_WEATHER_LATER_SCALE200 {
	class		'image'
	file		file::exist(F_WEATHER) == 0 ? LCD_ICONS . 'blank.png' : file::readline('/tmp/lcd/weather_icon', strftime('%H', time()) < 16 ? 2 : 3)
	update		10000
	reload		1
	scale		200
}

Widget ICON_WEATHER_LATER_SCALE300 {
	class		'image'
	file		file::exist(F_WEATHER) == 0 ? LCD_ICONS . 'blank.png' : file::readline('/tmp/lcd/weather_icon', strftime('%H', time()) < 16 ? 2 : 3)
	update		10000
	reload		1
	scale		300
}

Widget TEMPERATURE_CURRENT {
	class		'Truetype'
	expression	file::exist(F_WEATHER) == 0 ? '' : file::readline('/tmp/lcd/weather_temp', 1)
	font		file::readline('/tmp/lcd/font', 2)
	fcolor		file::readconf(LCD4CONFIG, 'col_temperatur=', COL_TEMPERATUR)
	align		'L'
	width		75
	height		64
	size		30
	mheight		'N'
	update		5000
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget TEMPERATURE_CURRENT_SCALE200 {
	class		'Truetype'
	expression	file::exist(F_WEATHER) == 0 ? '' : file::readline('/tmp/lcd/weather_temp', 1)
	font		file::readline('/tmp/lcd/font', 2)
	fcolor		file::readconf(LCD4CONFIG, 'col_temperatur=', COL_TEMPERATUR)
	align		'L'
	width		120
	height		128
	size		50
	mheight		'N'
	update		5000
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget TEMPERATURE_LATER {
	class		'Truetype'
	expression	file::exist(F_WEATHER) == 0 ? '' : (TEMP=file::readline('/tmp/lcd/weather_temp', strftime('%H', time()) < 16 ? 2 : 3); substr(TEMP, (strstr(TEMP, '|') + 1)))
	font		file::readline('/tmp/lcd/font', 2)
	fcolor		file::readconf(LCD4CONFIG, 'col_temperatur=', COL_TEMPERATUR)
	align		'R'
	width		75
	height		64
	size		30
	mheight		'N'
	update		5000
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget TEMPERATURE_LATER_SCALE200 {
	class		'Truetype'
	expression	file::exist(F_WEATHER) == 0 ? '' : (TEMP=file::readline('/tmp/lcd/weather_temp', strftime('%H', time()) < 16 ? 2 : 3); substr(TEMP, (strstr(TEMP, '|') + 1)))
	font		file::readline('/tmp/lcd/font', 2)
	fcolor		file::readconf(LCD4CONFIG, 'col_temperatur=', COL_TEMPERATUR)
	align		'R'
	width		120
	height		128
	size		50
	mheight		'N'
	update		5000
	reload		1
	#debugborder	file::exist(F_DB) == 1 ? DB_ON : DB_OFF
}

Widget ICON_STORM_WARNING_CURRENT_SCALE30 {
	class		'image'
	file		file::exist(F_WEATHER) == 0 ? LCD_ICONS . 'blank.png' : ((WIND=file::readline('/tmp/lcd/weather_wind', 1); substr(WIND, 0, strstr(WIND, '|'))) > STORM_WARNING ? LCD_ICONS . 'storm-warning.png' : LCD_ICONS . 'blank.png')
	update		10000
	reload		1
	scale		30
}

Widget ICON_STORM_WARNING_LATER_SCALE30 {
	class		'image'
	file		file::exist(F_WEATHER) == 0 ? LCD_ICONS . 'blank.png' : ((WIND=file::readline('/tmp/lcd/weather_wind', strftime('%H', time()) < 16 ? 2 : 3); substr(WIND, 0, strstr(WIND, '|'))) > STORM_WARNING ? LCD_ICONS . 'storm-warning.png' : LCD_ICONS . 'blank.png')
	update		10000
	reload		1
	scale		30
}

Widget ICON_STORM_WARNING_CURRENT_SCALE50 {
	class		'image'
	file		file::exist(F_WEATHER) == 0 ? LCD_ICONS . 'blank.png' : ((WIND=file::readline('/tmp/lcd/weather_wind', 1); substr(WIND, 0, strstr(WIND, '|'))) > STORM_WARNING ? LCD_ICONS . 'storm-warning.png' : LCD_ICONS . 'blank.png')
	update		10000
	reload		1
	scale		50
}

Widget ICON_STORM_WARNING_LATER_SCALE50 {
	class		'image'
	file		file::exist(F_WEATHER) == 0 ? LCD_ICONS . 'blank.png' : ((WIND=file::readline('/tmp/lcd/weather_wind', strftime('%H', time()) < 16 ? 2 : 3); substr(WIND, 0, strstr(WIND, '|'))) > STORM_WARNING ? LCD_ICONS . 'storm-warning.png' : LCD_ICONS . 'blank.png')
	update		10000
	reload		1
	scale		50
}

# --- Xcam --- #

Widget XCAMLINE01 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 1) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam_header=', COL_XCAM_HEADER)
}

Widget XCAMLINE02 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 2) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam_header=', COL_XCAM_HEADER)
}

Widget XCAMLINE03 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 3) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam_header=', COL_XCAM_HEADER)
}

Widget XCAMLINE04 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 4) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam_header=', COL_XCAM_HEADER)
}

Widget XCAMLINE05 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 5) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam_header=', COL_XCAM_HEADER)
}

Widget XCAMLINE06 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 6) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM)
}

Widget XCAMLINE07 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 7) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM)
}

Widget XCAMLINE08 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 8) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM)
}

Widget XCAMLINE09 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 9) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM)
}

Widget XCAMLINE10 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 10) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM)
}

Widget XCAMLINE11 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 11) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM)
}

Widget XCAMLINE12 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 12) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM)
}

Widget XCAMLINE13 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 13) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM)
}

Widget XCAMLINE14 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 14) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM)
}

Widget XCAMLINE15 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 15) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM)
}

Widget XCAMLINE16 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 16) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM)
}

Widget XCAMLINE17 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 17) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM)
}

Widget XCAMLINE18 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 18) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM)
}

Widget XCAMLINE19 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 19) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM)
}

Widget XCAMLINE20 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 20) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM)
}

Widget XCAMLINE21 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 21) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM)
}

Widget XCAMLINE22 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 22) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM)
}

Widget XCAMLINE23 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 23) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM)
}

Widget XCAMLINE24 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 24) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM)
}

Widget XCAMLINE25 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 25) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM)
}

Widget XCAMLINE26 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 26) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM)
}

Widget XCAMLINE27 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 27) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM)
}

Widget XCAMLINE28 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 28) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM)
}

Widget XCAMLINE29 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 29) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM)
}

Widget XCAMLINE30 {
	class		'Text'
	width		53
	align		'L'
	expression	file::exist(F_XCAM) == 1 ? file::readline(file::readline(F_XCAM, 1), 30) : 'Noob! :)'
	update		10000
	foreground	file::readconf(LCD4CONFIG, 'col_xcam=', COL_XCAM)
}

# --- Layouts --------------------------------------------------------------- #

# --- PEARL DPF (PX-1184, 320x240) --- #

Layout Pearl_standard {
	layer 0 {
	}
	layer 1 {
		x030.y010	'320x240_SERVICE'
		x095.y010	'320x240_EVENT'

		row11.col02	'320x240_PROGRESS'

		x195 {
			y125	'320x240_DURATION'
			y010	'320x240_TIME'
		}
	}
	layer 2 {
		x008 {
			y012	'ICON_CAMD'
			y067	'ICON_ECM'
			y098	'ICON_CAM'
			y221	'ICON_TIMER'
			y262	'ICON_REC'
			y293	'ICON_TS'
		}

		x030.y001	'320x240_LOGO'
	}
	layer 3 {
		x022.y001	'LINE'
		x187.y001	'LINE'
	}
	layer 4 {
	}
	layer 5 {
	}
}

Layout Pearl_radio {
	layer 0 {
	}
	layer 1 {
		x030.y010	'320x240_SERVICE'
		x095.y010	'320x240_EVENT'

		row11.col02	'320x240_PROGRESS'

		x200 {
			y135	'320x240_DURATION'
			y010	'320x240_TIME'
		}
	}
	layer 2 {
		x008 {
			y012	'ICON_CAMD'
			y067	'ICON_ECM'
			y098	'ICON_CAM'
			y221	'ICON_TIMER'
			y262	'ICON_REC'
			y293	'ICON_TS'
		}

		x008.y144	'ICON_RADIO'

		x030.y001	'320x240_LOGO'
	}
	layer 3 {
		x022.y001	'LINE'
		x187.y001	'LINE'
	}
	layer 4 {
	}
	layer 5 {
	}
}

Layout Pearl_large {
	layer 0 {
	}
	layer 1 {
		x035.y010	'320x240_SERVICE_large'
		x125.y010	'320x240_EVENT_large'

		row14.col02	'320x240_PROGRESS_large'
	}
	layer 2 {
		x008 {
			y012	'ICON_CAMD'
			y067	'ICON_ECM'
			y098	'ICON_CAM'
			y221	'ICON_TIMER'
			y262	'ICON_REC'
			y293	'ICON_TS'
		}

		x035.y001	'320x240_LOGO_large'
	}
	layer 3 {
		x022.y001	'LINE'
	}
	layer 4 {
	}
	layer 5 {
	}
}

Layout Pearl_small {
	layer 0 {
	}
	layer 1 {
		x030.y010	'320x240_SERVICE_small'
		x090.y010	'320x240_EVENT_small'

		row10.col02	'320x240_PROGRESS_small'

		row12 {
			col02	'320x240_CPU'
			col15	'320x240_CPU_BAR'
		}
		row13.col02	'320x240_RAM'
		row14.col02	'320x240_MTD'

		x208.y225	'320x240_TIME_small'
	}
	layer 2 {
		x008 {
			y012	'ICON_CAMD'
			y067	'ICON_ECM'
			y098	'ICON_CAM'
			y221	'ICON_TIMER'
			y262	'ICON_REC'
			y293	'ICON_TS'
		}

		x030.y001	'320x240_LOGO_small'
	}
	layer 3 {
		x022.y001	'LINE'
		x165.y001	'LINE'
	}
	layer 4 {
	}
	layer 5 {
	}
}

Layout Pearl_d-box2 {
	layer 0 {
	}
	layer 1 {
		row03.col05	'320x240_PROGRESS_d-box2'

		x070.y010	'320x240_SERVICE_d-box2'
		x135.y010	'320x240_EVENT_d-box2'

		row14.col05	'320x240_VOLUME_d-box2'

		x203.y212	'320x240_TIME_d-box2'
	}
	layer 2 {
		x008 {
			y012	'ICON_CAMD'
			y067	'ICON_ECM'
			y098	'ICON_CAM'
			y221	'ICON_TIMER'
			y262	'ICON_REC'
			y293	'ICON_TS'
		}

		x070.y001	'320x240_LOGO_d-box2'
	}
	layer 3 {
		x027.y001	'320x240_PROGRESS_FRAME_d-box2'
		x203.y001	'320x240_VOLUME_FRAME_d-box2'
	}
	layer 4 {
	}
	layer 5 {
	}
}

Layout Pearl_xcam {
	layer 0 {
	}
	layer 1 {
		row01.col01	'XCAMLINE01'
		row02.col01	'XCAMLINE02'
		row03.col01	'XCAMLINE03'
		row04.col01	'XCAMLINE04'
		row05.col01	'XCAMLINE05'
		row06.col01	'XCAMLINE06'
		row07.col01	'XCAMLINE07'
		row08.col01	'XCAMLINE08'
		row09.col01	'XCAMLINE09'
		row10.col01	'XCAMLINE10'
		row11.col01	'XCAMLINE11'
		row12.col01	'XCAMLINE12'
		row13.col01	'XCAMLINE13'
		row14.col01	'XCAMLINE14'
		row15.col01	'XCAMLINE15'
		row16.col01	'XCAMLINE16'
		row17.col01	'XCAMLINE17'
		row18.col01	'XCAMLINE18'
		row19.col01	'XCAMLINE19'
		row20.col01	'XCAMLINE20'
		row21.col01	'XCAMLINE21'
		row22.col01	'XCAMLINE22'
		row23.col01	'XCAMLINE23'
		row24.col01	'XCAMLINE24'
		row25.col01	'XCAMLINE25'
		row26.col01	'XCAMLINE26'
		row27.col01	'XCAMLINE27'
		row28.col01	'XCAMLINE28'
		row29.col01	'XCAMLINE29'
		row30.col01	'XCAMLINE30'
	}
	layer 2 {
	}
	layer 3 {
	}
	layer 4 {
	}
	layer 5 {
	}
}

Layout Pearl_standby {
	layer 0 {
	}
	layer 1 {
		x020.y085	'IMAGE_CLOCK_ANALOG_MINUTE'
	}
	layer 2 {
		x008 {
			y012	'ICON_CAMD'
			y067	'ICON_ECM'
			y098	'ICON_CAM'
			y221	'ICON_TIMER'
			y262	'ICON_REC'
			y293	'ICON_TS'
		}

		x020.y085	'IMAGE_CLOCK_ANALOG_HOUR'

		x168 {
			y010	'ICON_WEATHER_CURRENT'
			y085	'TEMPERATURE_CURRENT'

			y160	'TEMPERATURE_LATER'
			y245	'ICON_WEATHER_LATER'
		}
	}
	layer 3 {
		x020.y001	'IMAGE_CLOCK_ANALOG_FACE'

		x168 {
			y085	'ICON_STORM_WARNING_CURRENT_SCALE30'
			y210	'ICON_STORM_WARNING_LATER_SCALE30'
		}
	}
	layer 4 {
		x020.y010	'320x240_TIME_STANDBY'

		X140.Y040	'IMAGE_NI_STANDBY'
	}
	layer 5 {
	}
}

# --- Samsung SPF --- #

Layout Samsung800x480_standard {
	layer 0 {
		X001.Y001	'BRIGHTNESS_SPF'
	}
	layer 1 {
		x060.y015	'800x480_SERVICE'
		x160.y015	'800x480_EVENT'
		x260.y015	'1024x600_EVENT_START'

		row18.col20	'800x600_PROGRESS'

		x260.y585	'1024x600_EVENT_END'
	}
	layer 2 {
		x015 {
			y015	'ICON_CAMD_SCALE300'
			y177	'ICON_ECM_SCALE300'
			y267	'ICON_CAM_SCALE300'
			y524	'ICON_TIMER_SCALE300'
			y644	'ICON_REC_SCALE300'
			y734	'ICON_TS_SCALE300'
		}

		x060.y001	'800x480_LOGO'

		x050.y001	'LINE'
		x330.y001	'LINE'

		x345 {
			y015	'ICON_WEATHER_CURRENT_SCALE200'
			y158	'TEMPERATURE_CURRENT_SCALE200'

			y280	'800x600_TIME'

			y522	'TEMPERATURE_LATER_SCALE200'
			y657	'ICON_WEATHER_LATER_SCALE200'
		}
	}
	layer 3 {
		x345 {
			y158	'ICON_STORM_WARNING_CURRENT_SCALE50'
			y601	'ICON_STORM_WARNING_LATER_SCALE50'
		}
	}
	layer 4 {
	}
	layer 5 {
		X001.Y001	'BACKGROUND'
	}
}

Layout Samsung800x600_standard {
	layer 0 {
		X001.Y001	'BRIGHTNESS_SPF'
	}
	layer 1 {
		x060.y015	'800x600_SERVICE'
		x180.y015	'800x600_EVENT'
		x300.y015	'1024x600_EVENT_START'

		row21.col20	'800x600_PROGRESS'

		x300.y585	'1024x600_EVENT_END'
		x360.y015	'800x600_EVENT_NEXT'
	}
	layer 2 {
		x015 {
			y015	'ICON_CAMD_SCALE300'
			y177	'ICON_ECM_SCALE300'
			y267	'ICON_CAM_SCALE300'
			y524	'ICON_TIMER_SCALE300'
			y644	'ICON_REC_SCALE300'
			y734	'ICON_TS_SCALE300'
		}

		x060.y001	'800x600_LOGO'

		x050.y001	'LINE'
		x450.y001	'LINE'

		x465 {
			y015	'ICON_WEATHER_CURRENT_SCALE200'
			y158	'TEMPERATURE_CURRENT_SCALE200'

			y280	'800x600_TIME'

			y522	'TEMPERATURE_LATER_SCALE200'
			y657	'ICON_WEATHER_LATER_SCALE200'
		}
	}
	layer 3 {
		x465 {
			y158	'ICON_STORM_WARNING_CURRENT_SCALE50'
			y601	'ICON_STORM_WARNING_LATER_SCALE50'
		}
	}
	layer 4 {
	}
	layer 5 {
		X001.Y001	'BACKGROUND'
	}
}

Layout Samsung1024x600_standard {
	layer 0 {
		X001.Y001	'BRIGHTNESS_SPF'
	}
	layer 1 {
		x060.y015	'1024x600_SERVICE'
		x180.y015	'1024x600_EVENT'
		x300.y015	'1024x600_EVENT_START'

		row21.col20	'1024x600_PROGRESS'

		x300.y809	'1024x600_EVENT_END'
		x360.y015	'1024x600_EVENT_NEXT'
	}
	layer 2 {
		x015 {
			y015	'ICON_CAMD_SCALE300'
			y177	'ICON_ECM_SCALE300'
			y267	'ICON_CAM_SCALE300'
			y748	'ICON_TIMER_SCALE300'
			y868	'ICON_REC_SCALE300'
			y958	'ICON_TS_SCALE300'
		}

		x060.y001	'1024x600_LOGO'

		x050.y001	'LINE'
		x450.y001	'LINE'

		x465 {
			y015	'ICON_WEATHER_CURRENT_SCALE200'
			y158	'TEMPERATURE_CURRENT_SCALE200'

			y312	'1024x600_TIME'

			y746	'TEMPERATURE_LATER_SCALE200'
			y881	'ICON_WEATHER_LATER_SCALE200'
		}
	}
	layer 3 {
		x465 {
			y158	'ICON_STORM_WARNING_CURRENT_SCALE50'
			y825	'ICON_STORM_WARNING_LATER_SCALE50'
		}
	}
	layer 4 {
	}
	layer 5 {
		X001.Y001	'BACKGROUND'
	}
}

Layout Samsung800x480_radio {
	layer 0 {
		X001.Y001	'BRIGHTNESS_SPF'
	}
	layer 1 {
		x060.y015	'800x480_SERVICE'
		x160.y015	'800x480_EVENT'
		x260.y015	'1024x600_EVENT_START'

		row18.col20	'800x600_PROGRESS'

		x260.y585	'1024x600_EVENT_END'
	}
	layer 2 {
		x015 {
			y015	'ICON_CAMD_SCALE300'
			y177	'ICON_ECM_SCALE300'
			y267	'ICON_CAM_SCALE300'
			y524	'ICON_TIMER_SCALE300'
			y644	'ICON_REC_SCALE300'
			y734	'ICON_TS_SCALE300'
		}

		x015.y348	'ICON_RADIO_SCALE300'

		x060.y001	'800x480_LOGO'

		x050.y001	'LINE'
		x330.y001	'LINE'

		x345 {
			y015	'ICON_WEATHER_CURRENT_SCALE200'
			y158	'TEMPERATURE_CURRENT_SCALE200'

			y280	'800x600_TIME'

			y522	'TEMPERATURE_LATER_SCALE200'
			y657	'ICON_WEATHER_LATER_SCALE200'
		}
	}
	layer 3 {
		x345 {
			y158	'ICON_STORM_WARNING_CURRENT_SCALE50'
			y601	'ICON_STORM_WARNING_LATER_SCALE50'
		}
	}
	layer 4 {
	}
	layer 5 {
		X001.Y001	'BACKGROUND'
	}
}

Layout Samsung800x600_radio {
	layer 0 {
		X001.Y001	'BRIGHTNESS_SPF'
	}
	layer 1 {
		x060.y015	'800x600_SERVICE'
		x180.y015	'800x600_EVENT'
		x300.y015	'1024x600_EVENT_START'

		row21.col20	'800x600_PROGRESS'

		x300.y585	'1024x600_EVENT_END'
		x360.y015	'800x600_EVENT_NEXT'
	}
	layer 2 {
		x015 {
			y015	'ICON_CAMD_SCALE300'
			y177	'ICON_ECM_SCALE300'
			y267	'ICON_CAM_SCALE300'
			y524	'ICON_TIMER_SCALE300'
			y644	'ICON_REC_SCALE300'
			y734	'ICON_TS_SCALE300'
		}

		x015.y348	'ICON_RADIO_SCALE300'

		x060.y001	'800x600_LOGO'

		x050.y001	'LINE'
		x450.y001	'LINE'

		x465 {
			y015	'ICON_WEATHER_CURRENT_SCALE200'
			y158	'TEMPERATURE_CURRENT_SCALE200'

			y280	'800x600_TIME'

			y522	'TEMPERATURE_LATER_SCALE200'
			y657	'ICON_WEATHER_LATER_SCALE200'
		}
	}
	layer 3 {
		x465 {
			y158	'ICON_STORM_WARNING_CURRENT_SCALE50'
			y601	'ICON_STORM_WARNING_LATER_SCALE50'
		}
	}
	layer 4 {
	}
	layer 5 {
		X001.Y001	'BACKGROUND'
	}
}

Layout Samsung1024x600_radio {
	layer 0 {
		X001.Y001	'BRIGHTNESS_SPF'
	}
	layer 1 {
		x060.y015	'1024x600_SERVICE'
		x180.y015	'1024x600_EVENT'
		x300.y015	'1024x600_EVENT_START'

		row21.col20	'1024x600_PROGRESS'

		x300.y809	'1024x600_EVENT_END'
		x360.y015	'1024x600_EVENT_NEXT'
	}
	layer 2 {
		x015 {
			y015	'ICON_CAMD_SCALE300'
			y177	'ICON_ECM_SCALE300'
			y267	'ICON_CAM_SCALE300'
			y748	'ICON_TIMER_SCALE300'
			y868	'ICON_REC_SCALE300'
			y958	'ICON_TS_SCALE300'
		}

		x015.y460	'ICON_RADIO_SCALE300'

		x060.y001	'1024x600_LOGO'

		x050.y001	'LINE'
		x450.y001	'LINE'

		x465 {
			y015	'ICON_WEATHER_CURRENT_SCALE200'
			y158	'TEMPERATURE_CURRENT_SCALE200'

			y312	'1024x600_TIME'

			y746	'TEMPERATURE_LATER_SCALE200'
			y881	'ICON_WEATHER_LATER_SCALE200'
		}
	}
	layer 3 {
		x465 {
			y158	'ICON_STORM_WARNING_CURRENT_SCALE50'
			y825	'ICON_STORM_WARNING_LATER_SCALE50'
		}
	}
	layer 4 {
	}
	layer 5 {
		X001.Y001	'BACKGROUND'
	}
}

Layout Samsung800x480_xcam {
	layer 0 {
		X001.Y001	'BRIGHTNESS_SPF'
	}
	layer 1 {
		row01.col01	'XCAMLINE01'
		row02.col01	'XCAMLINE02'
		row03.col01	'XCAMLINE03'
		row04.col01	'XCAMLINE04'
		row05.col01	'XCAMLINE05'
		row06.col01	'XCAMLINE06'
		row07.col01	'XCAMLINE07'
		row08.col01	'XCAMLINE08'
		row09.col01	'XCAMLINE09'
		row10.col01	'XCAMLINE10'
		row11.col01	'XCAMLINE11'
		row12.col01	'XCAMLINE12'
		row13.col01	'XCAMLINE13'
		row14.col01	'XCAMLINE14'
		row15.col01	'XCAMLINE15'
		row16.col01	'XCAMLINE16'
		row17.col01	'XCAMLINE17'
		row18.col01	'XCAMLINE18'
		row19.col01	'XCAMLINE19'
		row20.col01	'XCAMLINE20'
		row21.col01	'XCAMLINE21'
		row22.col01	'XCAMLINE22'
		row23.col01	'XCAMLINE23'
		row24.col01	'XCAMLINE24'
		row25.col01	'XCAMLINE25'
		row26.col01	'XCAMLINE26'
		row27.col01	'XCAMLINE27'
		row28.col01	'XCAMLINE28'
		row29.col01	'XCAMLINE29'
		row30.col01	'XCAMLINE30'
	}
	layer 2 {
	}
	layer 3 {
	}
	layer 4 {
	}
	layer 5 {
	}
}

Layout Samsung800x600_xcam {
	layer 0 {
		X001.Y001	'BRIGHTNESS_SPF'
	}
	layer 1 {
		row01.col01	'XCAMLINE01'
		row02.col01	'XCAMLINE02'
		row03.col01	'XCAMLINE03'
		row04.col01	'XCAMLINE04'
		row05.col01	'XCAMLINE05'
		row06.col01	'XCAMLINE06'
		row07.col01	'XCAMLINE07'
		row08.col01	'XCAMLINE08'
		row09.col01	'XCAMLINE09'
		row10.col01	'XCAMLINE10'
		row11.col01	'XCAMLINE11'
		row12.col01	'XCAMLINE12'
		row13.col01	'XCAMLINE13'
		row14.col01	'XCAMLINE14'
		row15.col01	'XCAMLINE15'
		row16.col01	'XCAMLINE16'
		row17.col01	'XCAMLINE17'
		row18.col01	'XCAMLINE18'
		row19.col01	'XCAMLINE19'
		row20.col01	'XCAMLINE20'
		row21.col01	'XCAMLINE21'
		row22.col01	'XCAMLINE22'
		row23.col01	'XCAMLINE23'
		row24.col01	'XCAMLINE24'
		row25.col01	'XCAMLINE25'
		row26.col01	'XCAMLINE26'
		row27.col01	'XCAMLINE27'
		row28.col01	'XCAMLINE28'
		row29.col01	'XCAMLINE29'
		row30.col01	'XCAMLINE30'
	}
	layer 2 {
	}
	layer 3 {
	}
	layer 4 {
	}
	layer 5 {
	}
}

Layout Samsung1024x600_xcam {
	layer 0 {
		X001.Y001	'BRIGHTNESS_SPF'
	}
	layer 1 {
		row01.col01	'XCAMLINE01'
		row02.col01	'XCAMLINE02'
		row03.col01	'XCAMLINE03'
		row04.col01	'XCAMLINE04'
		row05.col01	'XCAMLINE05'
		row06.col01	'XCAMLINE06'
		row07.col01	'XCAMLINE07'
		row08.col01	'XCAMLINE08'
		row09.col01	'XCAMLINE09'
		row10.col01	'XCAMLINE10'
		row11.col01	'XCAMLINE11'
		row12.col01	'XCAMLINE12'
		row13.col01	'XCAMLINE13'
		row14.col01	'XCAMLINE14'
		row15.col01	'XCAMLINE15'
		row16.col01	'XCAMLINE16'
		row17.col01	'XCAMLINE17'
		row18.col01	'XCAMLINE18'
		row19.col01	'XCAMLINE19'
		row20.col01	'XCAMLINE20'
		row21.col01	'XCAMLINE21'
		row22.col01	'XCAMLINE22'
		row23.col01	'XCAMLINE23'
		row24.col01	'XCAMLINE24'
		row25.col01	'XCAMLINE25'
		row26.col01	'XCAMLINE26'
		row27.col01	'XCAMLINE27'
		row28.col01	'XCAMLINE28'
		row29.col01	'XCAMLINE29'
		row30.col01	'XCAMLINE30'
	}
	layer 2 {
	}
	layer 3 {
	}
	layer 4 {
	}
	layer 5 {
	}
}

Layout Samsung800x480_standby {
	layer 0 {
		X001.Y001	'BRIGHTNESS_STANDBY_SPF'
	}
	layer 1 {
		x040.y250	'IMAGE_CLOCK_ANALOG_MINUTE_SCALE50'
	}
	layer 2 {
		x015 {
			y015	'ICON_CAMD_SCALE300'
			y177	'ICON_ECM_SCALE300'
			y267	'ICON_CAM_SCALE300'
			y524	'ICON_TIMER_SCALE300'
			y644	'ICON_REC_SCALE300'
			y734	'ICON_TS_SCALE300'
		}

		x040.y250	'IMAGE_CLOCK_ANALOG_HOUR_SCALE50'

		x345 {
			y015	'ICON_WEATHER_CURRENT_SCALE200'
			y158	'TEMPERATURE_CURRENT_SCALE200'

			y522	'TEMPERATURE_LATER_SCALE200'
			y657	'ICON_WEATHER_LATER_SCALE200'
		}
	}
	layer 3 {
		x040.y250	'IMAGE_CLOCK_ANALOG_FACE_SCALE50'

		x345 {
			y158	'ICON_STORM_WARNING_CURRENT_SCALE50'
			y601	'ICON_STORM_WARNING_LATER_SCALE50'
		}
	}
	layer 4 {
		x040.y015	'800x480_TIME_STANDBY'
	}
	layer 5 {
		X001.Y001	'BACKGROUND'
	}
}

Layout Samsung800x600_standby {
	layer 0 {
		X001.Y001	'BRIGHTNESS_STANDBY_SPF'
	}
	layer 1 {
		x040.y220	'IMAGE_CLOCK_ANALOG_MINUTE_SCALE60'
	}
	layer 2 {
		x015 {
			y015	'ICON_CAMD_SCALE300'
			y177	'ICON_ECM_SCALE300'
			y267	'ICON_CAM_SCALE300'
			y524	'ICON_TIMER_SCALE300'
			y644	'ICON_REC_SCALE300'
			y734	'ICON_TS_SCALE300'
		}

		x040.y220	'IMAGE_CLOCK_ANALOG_HOUR_SCALE60'

		x465 {
			y015	'ICON_WEATHER_CURRENT_SCALE200'
			y158	'TEMPERATURE_CURRENT_SCALE200'

			y522	'TEMPERATURE_LATER_SCALE200'
			y657	'ICON_WEATHER_LATER_SCALE200'
		}
	}
	layer 3 {
		x040.y220	'IMAGE_CLOCK_ANALOG_FACE_SCALE60'

		X420.Y156	'IMAGE_NI_STANDBY_SCALE200'

		x465 {
			y158	'ICON_STORM_WARNING_CURRENT_SCALE50'
			y601	'ICON_STORM_WARNING_LATER_SCALE50'
		}
	}
	layer 4 {
		x040.y015	'800x600_TIME_STANDBY'
	}
	layer 5 {
		X001.Y001	'BACKGROUND'
	}
}

Layout Samsung1024x600_standby {
	layer 0 {
		X001.Y001	'BRIGHTNESS_STANDBY_SPF'
	}
	layer 1 {
		x040.y332	'IMAGE_CLOCK_ANALOG_MINUTE_SCALE60'
	}
	layer 2 {
		x015 {
			y015	'ICON_CAMD_SCALE300'
			y177	'ICON_ECM_SCALE300'
			y267	'ICON_CAM_SCALE300'
			y748	'ICON_TIMER_SCALE300'
			y868	'ICON_REC_SCALE300'
			y958	'ICON_TS_SCALE300'
		}

		x040.y332	'IMAGE_CLOCK_ANALOG_HOUR_SCALE60'

		x465 {
			y015	'ICON_WEATHER_CURRENT_SCALE200'
			y158	'TEMPERATURE_CURRENT_SCALE200'

			y746	'TEMPERATURE_LATER_SCALE200'
			y881	'ICON_WEATHER_LATER_SCALE200'
		}
	}
	layer 3 {
		x040.y332	'IMAGE_CLOCK_ANALOG_FACE_SCALE60'

		X420.Y268	'IMAGE_NI_STANDBY_SCALE200'

		x465 {
			y158	'ICON_STORM_WARNING_CURRENT_SCALE50'
			y825	'ICON_STORM_WARNING_LATER_SCALE50'
		}
	}
	layer 4 {
		x040.y015	'1024x600_TIME_STANDBY'
	}
	layer 5 {
		X001.Y001	'BACKGROUND'
	}
}
