!
! define the main face look & feel
! this is channel selection and sound control
!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! define the overall size of the remote
!
! width = n * 40
! height = 40 + (n * 40)
*XTVR_CHNLS_size.label:		200x620


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! setup the overall layout of the button grid
!
!				X        Y         WIDTH    HEIGHT
*XTVR_CHNLS_b03.location:	0.000+5  0.000+5   1.000-5  0.091-5

*XTVR_CHNLS_b00.location:	0.000+5  0.091+5   0.333-5  0.091-5
*XTVR_CHNLS_b06.location:	0.000+5  0.182+5   0.333-5  0.091-5
*XTVR_CHNLS_b09.location:	0.000+5  0.273+5   0.333-5  0.091-5

*XTVR_CHNLS_b01.location:	0.333+5  0.091+5   0.333-5  0.091-5
*XTVR_CHNLS_b02.location:	0.667+5  0.091+5   0.333-5  0.091-5
*XTVR_CHNLS_b04.location:	0.333+5  0.182+5   0.333-5  0.091-5
*XTVR_CHNLS_b05.location:	0.667+5  0.182+5   0.333-5  0.091-5
*XTVR_CHNLS_b07.location:	0.333+5  0.273+5   0.333-5  0.091-5
*XTVR_CHNLS_b08.location:	0.667+5  0.273+5   0.333-5  0.091-5

*XTVR_CHNLS_b12.location:	0.000+5  0.364+5   0.333-5  0.091-5
*XTVR_CHNLS_b13.location:	0.333+5  0.364+5   0.333-5  0.091-5
*XTVR_CHNLS_b14.location:	0.667+5  0.364+5   0.333-5  0.091-5
*XTVR_CHNLS_b15.location:	0.000+5  0.455+5   0.333-5  0.091-5
*XTVR_CHNLS_b16.location:	0.333+5  0.455+5   0.333-5  0.091-5
*XTVR_CHNLS_b17.location:	0.667+5  0.455+5   0.333-5  0.091-5
*XTVR_CHNLS_b18.location:	0.000+5  0.546+5   0.333-5  0.091-5
*XTVR_CHNLS_b19.location:	0.333+5  0.546+5   0.333-5  0.091-5
*XTVR_CHNLS_b20.location:	0.667+5  0.546+5   0.333-5  0.091-5

*XTVR_CHNLS_b21.location:	0.000+5  0.637+5   0.333-5  0.091-5
*XTVR_CHNLS_b22.location:	0.333+5  0.637+5   0.333-5  0.091-5
*XTVR_CHNLS_b23.location:	0.667+5  0.637+5   0.333-5  0.091-5
*XTVR_CHNLS_b24.location:	0.000+5  0.728+5   0.333-5  0.091-5
*XTVR_CHNLS_b25.location:	0.333+5  0.728+5   0.333-5  0.091-5
*XTVR_CHNLS_b26.location:	0.667+5  0.728+5   0.333-5  0.091-5
*XTVR_CHNLS_b27.location:	0.000+5  0.819+5   0.333-5  0.091-5
*XTVR_CHNLS_b28.location:	0.333+5  0.819+5   0.333-5  0.091-5
*XTVR_CHNLS_b29.location:	0.667+5  0.819+5   0.333-5  0.091-5
*XTVR_CHNLS_b30.location:	0.000+5  0.910+5   0.333-5  0.091-5
*XTVR_CHNLS_b31.location:	0.333+5  0.910+5   0.333-5  0.091-5
*XTVR_CHNLS_b32.location:	0.667+5  0.910+5   0.333-5  0.091-5


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! main control buttons
!
*XTVR_CHNLS_m00.label:		SYSTEM echo On-Off
*XTVR_CHNLS_b00.label:		On\nOff
*XTVR_CHNLS_b00.foreground:	white
*XTVR_CHNLS_b00.background:	firebrick

*XTVR_CHNLS_m01.label:		TOGGLE_MUTE
*XTVR_CHNLS_b01.label:		Mute
*XTVR_CHNLS_b01.foreground:	black
*XTVR_CHNLS_b01.background:	pink

*XTVR_CHNLS_m02.label:		PREVIOUS
*XTVR_CHNLS_b02.label:		Prev
*XTVR_CHNLS_b02.foreground:	black
*XTVR_CHNLS_b02.background:	pink

!!! not quite right yet...
*XTVR_CHNLS_m04.label:		BUMP_VOLUME +5
*XTVR_CHNLS_b04.label:		Vol\n+
*XTVR_CHNLS_b04.foreground:	black
*XTVR_CHNLS_b04.background:	tan

*XTVR_CHNLS_m05.label:		UP_CHNL
*XTVR_CHNLS_b05.label:		Ch\n+
*XTVR_CHNLS_b05.foreground:	black
*XTVR_CHNLS_b05.background:	tan

!!! not quite right yet...
*XTVR_CHNLS_m07.label:		BUMP_VOLUME -5
*XTVR_CHNLS_b07.label:		Vol\n-
*XTVR_CHNLS_b07.foreground:	black
*XTVR_CHNLS_b07.background:	tan

*XTVR_CHNLS_m08.label:		DN_CHNL
*XTVR_CHNLS_b08.label:		Ch\n-
*XTVR_CHNLS_b08.foreground:	black
*XTVR_CHNLS_b08.background:	tan

*XTVR_CHNLS_m03.label:		DISPLAY_CHNL
*XTVR_CHNLS_b03.label:		Channel ???
*XTVR_CHNLS_b03.foreground:	red
*XTVR_CHNLS_b03.background:	white

*XTVR_CHNLS_m06.label:		TOGGLE_SOURCE
*XTVR_CHNLS_b06.label:		Source
*XTVR_CHNLS_b06.foreground:	black
*XTVR_CHNLS_b06.background:	tan

*XTVR_CHNLS_m09.label:		TOGGLE_TUNERTYPE
*XTVR_CHNLS_b09.label:		Tuner\nBand
*XTVR_CHNLS_b09.foreground:	black
*XTVR_CHNLS_b09.background:	tan


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! direct channel selection buttons
!  modify these for your local stations
!
*XTVR_CHNLS_m12.label:		SET_CHNL 2
*XTVR_CHNLS_b12.label:		WB\n2\nKWGN
*XTVR_CHNLS_b12.foreground:	black
*XTVR_CHNLS_b12.background:	grey

*XTVR_CHNLS_m13.label:		SET_CHNL 3
*XTVR_CHNLS_b13.label:		VCR\n3\n
*XTVR_CHNLS_b13.foreground:	black
*XTVR_CHNLS_b13.background:	grey

*XTVR_CHNLS_m14.label:		SET_CHNL 4
*XTVR_CHNLS_b14.label:		CBS\n4\nKCNC
*XTVR_CHNLS_b14.foreground:	black
*XTVR_CHNLS_b14.background:	grey

*XTVR_CHNLS_m15.label:		SET_CHNL 6
*XTVR_CHNLS_b15.label:		PBS\n6\nKRMA
*XTVR_CHNLS_b15.foreground:	black
*XTVR_CHNLS_b15.background:	grey

*XTVR_CHNLS_m16.label:		SET_CHNL 7
*XTVR_CHNLS_b16.label:		ABC\n7\nKMGH
*XTVR_CHNLS_b16.foreground:	black
*XTVR_CHNLS_b16.background:	grey

*XTVR_CHNLS_m17.label:		SET_CHNL 9
*XTVR_CHNLS_b17.label:		NBC\n9\nKUSA
*XTVR_CHNLS_b17.foreground:	black
*XTVR_CHNLS_b17.background:	grey

*XTVR_CHNLS_m18.label:		SET_CHNL 12
*XTVR_CHNLS_b18.label:		PBS\n12\nKBDI
*XTVR_CHNLS_b18.foreground:	black
*XTVR_CHNLS_b18.background:	grey

*XTVR_CHNLS_m19.label:		SET_CHNL 20
*XTVR_CHNLS_b19.label:		UPN\n20\nKTVD
*XTVR_CHNLS_b19.foreground:	black
*XTVR_CHNLS_b19.background:	grey

*XTVR_CHNLS_m20.label:		SET_CHNL 31
*XTVR_CHNLS_b20.label:		FOX\n31\nKDVR
*XTVR_CHNLS_b20.foreground:	black
*XTVR_CHNLS_b20.background:	grey


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! these buttons (0 thru 9) add digits to the 'Enter' field
!  where the 'Enter' button is pressed the current value sets
!  the channel.
!
*XTVR_CHNLS_m21.label:		ADD_INPUT 1
*XTVR_CHNLS_b21.label:		1
*XTVR_CHNLS_b21.foreground:	black
*XTVR_CHNLS_b21.background:	lightgrey

*XTVR_CHNLS_m22.label:		ADD_INPUT 2
*XTVR_CHNLS_b22.label:		2
*XTVR_CHNLS_b22.foreground:	black
*XTVR_CHNLS_b22.background:	lightgrey

*XTVR_CHNLS_m23.label:		ADD_INPUT 3
*XTVR_CHNLS_b23.label:		3
*XTVR_CHNLS_b23.foreground:	black
*XTVR_CHNLS_b23.background:	lightgrey

*XTVR_CHNLS_m24.label:		ADD_INPUT 4
*XTVR_CHNLS_b24.label:		4
*XTVR_CHNLS_b24.foreground:	black
*XTVR_CHNLS_b24.background:	lightgrey

*XTVR_CHNLS_m25.label:		ADD_INPUT 5
*XTVR_CHNLS_b25.label:		5
*XTVR_CHNLS_b25.foreground:	black
*XTVR_CHNLS_b25.background:	lightgrey

*XTVR_CHNLS_m26.label:		ADD_INPUT 6
*XTVR_CHNLS_b26.label:		6
*XTVR_CHNLS_b26.foreground:	black
*XTVR_CHNLS_b26.background:	lightgrey

*XTVR_CHNLS_m27.label:		ADD_INPUT 7
*XTVR_CHNLS_b27.label:		7
*XTVR_CHNLS_b27.foreground:	black
*XTVR_CHNLS_b27.background:	lightgrey

*XTVR_CHNLS_m28.label:		ADD_INPUT 8
*XTVR_CHNLS_b28.label:		8
*XTVR_CHNLS_b28.foreground:	black
*XTVR_CHNLS_b28.background:	lightgrey

*XTVR_CHNLS_m29.label:		ADD_INPUT 9
*XTVR_CHNLS_b29.label:		9
*XTVR_CHNLS_b29.foreground:	black
*XTVR_CHNLS_b29.background:	lightgrey

*XTVR_CHNLS_m31.label:		ADD_INPUT 0
*XTVR_CHNLS_b31.label:		0
*XTVR_CHNLS_b31.foreground:	black
*XTVR_CHNLS_b31.background:	lightgrey


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! this button selects the channel entered via buttons 0-9
!  the channel to be selected is shown on the button as
!  buttons 0-9 are pressed.  the field is cleared is more
!  than 3 successive buttons are pressed
!
*XTVR_CHNLS_m30.label:		ENTER_INPUT
*XTVR_CHNLS_b30.label:		Enter
*XTVR_CHNLS_b30.foreground:	black
*XTVR_CHNLS_b30.background:	darkgrey

!
! this button clears the value being built in the 'Enter' button
!
*XTVR_CHNLS_m32.label:		CLEAR_INPUT
*XTVR_CHNLS_b32.label:		Clear
*XTVR_CHNLS_b32.foreground:	black
*XTVR_CHNLS_b32.background:	darkgrey


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! this marks the end of the button list (optional, but speeds startup)
!  it MUST be numerically higher than any button number
!
*XTVR_CHNLS_m33.label:		MSG_END no more buttons defined
