! ----------------------------------------------------------------------------
! Strings

Xawtv*font:				7x13bold
TopLevelShell*font:			7x13bold

xawtv.tv.help: \
\n\
Copyright (c) 1997-99 Gerd Knorr <kraxel@goldbach.in-berlin.de>\n\
\n\
If nothing else works, read the manual.  xawtv has a fine\n\
manual page, check it out.  Some text files with additional\n\
documentation and hints for trouble shooting come with the\n\
source code.  If you have installed a binary package, these\n\
files should be somewhere in /usr/doc.\n\
\n\
Here is the most important for a quick start:\n\
\n\
The right mouse button (or the 'O' key) pops up a window,\n\
where you can adjust all important settings.  Becauce you\n\
probably don't want to do this every time you start xawtv,\n\
stick your settings into the config file ($HOME/.xawtv).\n\
\n\
Tuning works with the cursor keys.  Of cource you can put\n\
the TV-Stations into the config file too.  You can either\n\
use your favorite text editor or xawtv's new channel editor.\n\
\n\
Once you have created a config file, this message will no\n\
longer pop up automatically at startup.  You can get it\n\
with the 'H' key then.\n\
\n\
Hit Return to start watching TV...\n\
\n

Options*mute.label:		Audio (un)mute                  A
Options*ptr.label:		Mouse Pointer on/off            M
Options*fs.label:		Full Screen on/off              F
Options*grabppm.label:		Grab Image (ppm)                G
Options*grabjpeg.label:		Grab Image (jpeg)               J
Options*recavi.label:		Record Movie (avi)              R
Options*chanwin.label:		Channel Window                  C
Options*confwin.label:		Channel Editor                  E
Options*zap.label:		Channel Hopping                 Z
Options*top.label:		Stay On Top                     T

Options*cap.label:		Capture            >
Options*norm.label:		TV norm            >
Options*input.label:		Video source       >
Options*freq.label:		Frequency table    >
Options*audio.label:		Audio              >
Options*quit.label:		Quit                            Q

Options*auto.label:		autodetect
Options*mono.label:		mono
Options*stereo.label:		stereo
Options*lang1.label:		Language 1
Options*lang2.label:		Language 2

Options*bright.l.label:		Bright
Options*hue.l.label:		Hue
Options*contrast.l.label:	Contrast
Options*color.l.label:		Color
Options*volume.l.label:		Volume

Config*lchannel.label:		Channel
Config*lname.label:		Station ID
Config*lkey.label:		Hotkey
Config*add.label:		Add
Config*delete.label:		Delete
Config*modify.label:		Update
Config*save.label:		Save
Config*close.label:		Close

*popup_help.title:		Welcome to xawtv!


! ----------------------------------------------------------------------------
! general settings

Xawtv*beNiceToColormap:			false
Xawtv*shadowWidth:			1
Xawtv*highlightThickness:		0

Xawtv*foreground:			black
Xawtv*background:			lightgray
Xawtv*justify:				left

Xawtv*menu.translations:		#override	\n\
	<Motion>:	highlight()

TopLevelShell*beNiceToColormap:		false
TopLevelShell*shadowWidth:		1
TopLevelShell*highlightThickness:	0

TopLevelShell*foreground:		black
TopLevelShell*background:		lightgray
TopLevelShell*justify:			left

TopLevelShell*menu.translations:	#override	\n\
	<Motion>:	highlight()


! ----------------------------------------------------------------------------
! TV Window

xawtv.tv.width:			384
xawtv.tv.height:		288
xawtv.winGravity:		Static
xawtv.translations:		#override			\n\
	<PropertyNotify>:	Remote()			\n\
	<Message>WM_PROTOCOLS:	CloseMain()

xawtv.tv.background:		black
xawtv.tv.translations:		#override			\n\
	<Key>0:			SetRes(audio,0)			\n\
	<Key>1:			SetRes(audio,1)			\n\
	<Key>2:			SetRes(audio,2)			\n\
	<Key>3:			SetRes(audio,4)			\n\
	<Key>4:			SetRes(audio,8)			\n\
	<Key>F5:		SetRes(bright,-512)		\n\
	<Key>F6:		SetRes(bright,+512)		\n\
	<Key>F7:		SetRes(hue,-512)		\n\
	<Key>F8:		SetRes(hue,+512)		\n\
	<Key>F9:		SetRes(contrast,-512)		\n\
	<Key>F10:		SetRes(contrast,+512)		\n\
	<Key>F11:		SetRes(color,-512)		\n\
	<Key>F12:		SetRes(color,+512)		\n\
	<Key>C:			Channels()			\n\
	<Key>O:			Options()			\n\
	<Key>H:			Help()				\n\
	<Key>E:			Config()			\n\
	<Key>T:			StayOnTop()			\n\
	<Key>R:			Streamer()			\n\
	<Btn1Up>:		Channel()			\n\
	<Btn2Up>:		SetChannel(next)		\n\
	<Btn3Up>:		Options()			\n\
	<Key>Escape:		CloseMain()			\n\
	\
	<Key>Q:			CloseMain()			\n\
	<Key>KP_Add:		Volume(inc)			\n\
	<Key>KP_Subtract:	Volume(dec)			\n\
	<Key>KP_Enter:		Volume(mute)			\n\
	<Key>A:			Volume(mute)			\n\
	<Key>M:			Pointer()			\n\
	<Key>F:			FullScreen()			\n\
	Ctrl<Key>Z:		Zap(fast)			\n\
	<Key>Z:			Zap()				\n\
	Ctrl<Key>G:		Snap(ppm,win)			\n\
	Ctrl<Key>J:		Snap(jpeg,win)			\n\
	<Key>G:			Snap(ppm,full)			\n\
	<Key>J:			Snap(jpeg,full)			\n\
	Ctrl<Key>Up:		Scan()				\n\
	<Key>Up:		Tune(next)			\n\
	<Key>Down:		Tune(prev)			\n\
	<Key>Right:		Tune(fine_up)			\n\
	<Key>Left:		Tune(fine_down)			\n\
	<Key>Page_Up:		SetChannel(next)		\n\
	<Key>Page_Down:		SetChannel(prev)		\n\
	<Btn4Up>:		SetChannel(next)		\n\
	<Btn5Up>:		SetChannel(prev)		\n\
	<Key>V:			SetRes(capture,toggle)

! ----------------------------------------------------------------------------
! Options window

Options.paned.internalBorderWidth:	0
Options.paned*Scrollbar.orientation:	horizontal
Options.paned*Scrollbar.length:		150
Options.paned*Scrollbar.width:		150
Options.paned*Scrollbar.minimumThumb:	3

Options.translations:		#override			\n\
	<Message>WM_PROTOCOLS:	Options()

Options.paned.translations:	#override\n\
	<Key>Escape:		Options()			\n\
	\
	<Key>Q:			CloseMain()			\n\
	<Key>KP_Add:		Volume(inc)			\n\
	<Key>KP_Subtract:	Volume(dec)			\n\
	<Key>KP_Enter:		Volume(mute)			\n\
	<Key>A:			Volume(mute)			\n\
	<Key>M:			Pointer()			\n\
	<Key>F:			FullScreen()			\n\
	Ctrl<Key>Z:		Zap(fast)			\n\
	<Key>Z:			Zap()				\n\
	Ctrl<Key>G:		Snap(ppm,win)			\n\
	Ctrl<Key>J:		Snap(jpeg,win)			\n\
	<Key>G:			Snap(ppm,full)			\n\
	<Key>J:			Snap(jpeg,full)			\n\
	Ctrl<Key>Up:		Scan()				\n\
	<Key>Up:		Tune(next)			\n\
	<Key>Down:		Tune(prev)			\n\
	<Key>Right:		Tune(fine_up)			\n\
	<Key>Left:		Tune(fine_down)			\n\
	<Key>Page_Up:		SetChannel(next)		\n\
	<Key>Page_Down:		SetChannel(prev)		\n\
	<Btn4Up>:		SetChannel(next)		\n\
	<Btn5Up>:		SetChannel(prev)		\n\
	<Key>V:			SetRes(capture,toggle)

Options*Label.shadowWidth:	0
Options*Command.shadowWidth:	0
Options*Command.translations:	#override			\n\
	<EnterWindow>:		SetShadow(1)			\n\
	<LeaveWindow>:		SetShadow(0)

! ----------------------------------------------------------------------------
! Streamer frontend window

Streamer.title:			record movies (*.avi)
Streamer*flabel.label:		output filename
Streamer*olabel.label:		command output
Streamer*streamer.label:	start/stop recording
Streamer*xanim.label:		playback (start xanim)

Streamer*Label.width:		320
Streamer*Label.resize:		false
Streamer*Label.borderWidth:	0
Streamer*Label.shadowWidth:	0
Streamer*Text.width:		320
Streamer*Text*background:	white
Streamer*Text*Scrollbar.background: lightgray
Streamer*Text*autoFill:		false
Streamer*Text*editType:		edit
Streamer*Text*type:		string
Streamer*Text*useStringInPlace:	false

Streamer*format.vertDistance:	0
Streamer*fps.vertDistance:	0
Streamer*size.vertDistance:	0
Streamer*status.vertDistance:	0
Streamer*audio.vertDistance:	15
Streamer*streamer.vertDistance:	15
Streamer*olabel.vertDistance:	15

Streamer*output.height:		80
Streamer*output.scrollVertical:	always
!Streamer*output.sensitive:	false

Streamer*fname.translations:	#override			\n\
	<Key>Tab:		Complete()			\n\
	<EnterWindow>:		SetBg(lightyellow)		\n\
	<LeaveWindow>:		SetBg(white)

Streamer*Command.width:		320
Streamer*Command.resize:	false
Streamer*Command.justify:	left
Streamer*Command.shadowWidth:	0
Streamer*Command.translations:	#override			\n\
	<EnterWindow>:		SetShadow(1)			\n\
	<LeaveWindow>:		SetShadow(0)

Streamer*streamer.shadowWidth:	1
Streamer*streamer.justify:	center
Streamer*streamer.translations:	#override			\n\
	<EnterWindow>:		SetBg(#fff)			\n\
	<LeaveWindow>:		SetBg(lightgray)
Streamer*xanim.shadowWidth:	1
Streamer*xanim.justify:		center
Streamer*xanim.translations:	#override			\n\
	<EnterWindow>:		SetBg(#fff)			\n\
	<LeaveWindow>:		SetBg(lightgray)

Streamer.translations:		#override			\n\
	<Message>WM_PROTOCOLS:	Streamer()
Streamer.form.translations:	#override\n\
	<Key>Escape:		Streamer()

! ----------------------------------------------------------------------------
! Channel window

Channels.viewport.useRight:				true
Channels.viewport.channelbox.hSpace:			0
Channels.viewport.channelbox.vSpace:			0
Channels.viewport.channelbox.background:		black
Channels.viewport.channelbox.Command.shadowWidth:	0
Channels.viewport.channelbox.Command.justify:		center
Channels.viewport.channelbox.Command.foreground:	yellow
Channels.viewport.channelbox.Command.background:	black

Channels.viewport.translations:	#override\n\
	<Key>Escape:		Channels()			\n\
								\
	<Key>Q:			CloseMain()			\n\
	<Key>KP_Add:		Volume(inc)			\n\
	<Key>KP_Subtract:	Volume(dec)			\n\
	<Key>KP_Enter:		Volume(mute)			\n\
	<Key>A:			Volume(mute)			\n\
	<Key>M:			Pointer()			\n\
	<Key>F:			FullScreen()			\n\
	Ctrl<Key>Z:		Zap(fast)			\n\
	<Key>Z:			Zap()				\n\
	Ctrl<Key>G:		Snap(ppm,win)			\n\
	Ctrl<Key>J:		Snap(jpeg,win)			\n\
	<Key>G:			Snap(ppm,full)			\n\
	<Key>J:			Snap(jpeg,full)			\n\
	Ctrl<Key>Up:		Scan()				\n\
	<Key>Up:		Tune(next)			\n\
	<Key>Down:		Tune(prev)			\n\
	<Key>Right:		Tune(fine_up)			\n\
	<Key>Left:		Tune(fine_down)			\n\
	<Key>Page_Up:		SetChannel(next)		\n\
	<Key>Page_Down:		SetChannel(prev)		\n\
	<Btn4Up>:		SetChannel(next)		\n\
	<Btn5Up>:		SetChannel(prev)		\n\
	<Key>V:			SetRes(capture,toggle)

! ----------------------------------------------------------------------------
! Onscreen window

xawtv.onscreen.allowShellResize:	true
xawtv.onscreen.label.resize:		true

xawtv.onscreen*background:		black
xawtv.onscreen*borderColor:		black
xawtv.onscreen*foreground:		lightgreen
xawtv.onscreen*shadowWidth:		0
xawtv.onscreen.label.justify:		left
xawtv.onscreen.label.font: -*-ledfixed-medium-r-semicondensed--39-*


! ----------------------------------------------------------------------------
! Config window

Config.translations:		#override			\n\
	<Message>WM_PROTOCOLS:	Config()

Config*Label.width:		120
Config*Label.resize:		false
Config*Label.borderWidth:	0
Config*Label.shadowWidth:	0
Config*Command.width:		120
Config*Command.justify:		center
Config*Text*width:		120
!Config*Text*resize:		false
Config*Text*autoFill:		false
Config*Text*editType:		edit
Config*Text*type:		string
Config*Text*useStringInPlace:	false
Config*Text*background:		white

Config*channel.borderWidth:	1
Config*channel.background:	white
Config*lname.vertDistance:	15
Config*lkey.vertDistance:	15
Config*key.borderWidth:		1
Config*key.background:		white
Config*add.vertDistance:	15

Config*viewport.width:		120
Config*viewport.height:		300
Config*viewport.allowVert:	true
Config*viewport.allowHoriz:	false
Config*viewport.resize:		false

Config*list.defaultColumns:	1
Config*list.forceColumns:	true
Config*list.background:		white

Config.form.translations:	#override			\n\
	<Key>Escape:		Config()

Config*modify.accelerators:	#override			\n\
	<Key>Return:		set()notify()unset()		\n\

Config*Command.shadowWidth:	1
Config*Command.translations:	#override			\n\
	<EnterWindow>:		SetBg(#fff)			\n\
	<LeaveWindow>:		SetBg(lightgray)

Config*channel.translations:	#override			\n\
	Ctrl<Key>Up:		Scan()				\n\
	<Key>Up:		Tune(next)			\n\
	<Key>Down:		Tune(prev)			\n\
	<Key>Right:		Tune(fine_up)			\n\
	<Key>Left:		Tune(fine_down)			\n\
	<EnterWindow>:		SetBg(lightyellow)		\n\
	<LeaveWindow>:		SetBg(white)
Config*name.translations:	#override			\n\
	<EnterWindow>:		SetBg(lightyellow)		\n\
	<LeaveWindow>:		SetBg(white)
Config*key.translations:	#override			\n\
	<EnterWindow>:		SetBg(lightyellow)		\n\
	<LeaveWindow>:		SetBg(white)
Config*list.translations:	#override			\n\
	<EnterWindow>:		SetBg(lightyellow)		\n\
	<LeaveWindow>:		SetBg(white)			\n\
	<Key>Up:		SetChannel(prev)		\n\
	<Key>Down:		SetChannel(next)


!--------------------------------------------------------------------------
! help window

Xawtv*popup_help.help.label.shadowWidth:	0
Xawtv*popup_help.help.ok.justify:		center

*popup_help.help.ok.shadowWidth:	1
*popup_help.help.ok.width:		100
*popup_help.help.ok.label:		OK
*popup_help.help.ok.accelerators:	#override		\n\
	<Key>Q:			set()notify()unset()		\n\
	<Key>Return:		set()notify()unset()		\n\
	<Key>Escape:		set()notify()unset()
*popup_help.help.ok.translations:	#override		\n\
	<EnterWindow>:		SetBg(#fff)			\n\
	<LeaveWindow>:		SetBg(lightgray)

! ----------------------------------------------------------------------------
! File dialog

Xawtv*Dialog.label.shadowWidth:	0
Xawtv*Dialog.value.background:	white
Xawtv*Dialog.Command.justify:	center
Xawtv*Dialog.Command.width:	100
Xawtv*Dialog.label.justify:	left

*Dialog.ok.label:		OK
*Dialog.cancel.label:		Cancel

!*Dialog.label.width:		300
*Dialog.value.width:		300
*Dialog*resizable:		True
*Dialog.Command.translations:	#override			\n\
	<EnterWindow>:		SetBg(#fff)			\n\
	<LeaveWindow>:		SetBg(lightgray)
*Dialog.ok.accelerators:	#override \n\
	<Key>Return: set()notify()unset()
*Dialog.cancel.accelerators:	#override \n\
	<Key>Escape: set()notify()unset()
*Dialog.value.translations:	#override \n\
	<Key>Tab: Complete()
