1! Copyright (C) 1990 Regents of the University of California.
2! Permission to use, copy, modify, distribute, and sell this software and
3! its documentation for any purpose is hereby granted without fee,
4! provided that the above copyright notice appear in all copies and that
5! both that copyright notice and this permission notice appear in
6! supporting documentation, and that the name of the University of
7! California not be used in advertising or publicity pertaining to
8! distribution of the software without specific, written prior
9! permission.  the University of California makes no representations
10! about the suitability of this software for any purpose.  It is provided
11! "as is" without express or implied warranty.
12
13XCdplayer*foreground:			Blue
14XCdplayer*background:			LightGrey
15XCdplayer*borderColor:			Black
16XCdplayer*allowShellResize:		True
17XCdplayer*resizable:			True
18XCdplayer*Font:				-misc-fixed-bold-r-normal--13-*
19
20XCdplayer*logoLabel.foreground:		Gold
21XCdplayer*logoLabel.background:		Black
22XCdplayer*icon*foreground:	Gold
23
24XCdplayer*versionLabel.Font:		 -misc-fixed-medium-r-normal--8-*
25XCdplayer*versionLabel.foreground:	Black
26XCdplayer*versionLabel.width:		130
27XCdplayer*versionLabel.fromHoriz:	logoLabel
28
29! replayThreshold is the number of seconds that must be played before the
30! previous track button will take you back to the beginning of the current
31! track, rather than the previous one.
32XCdplayer*replayThreshold:		4
33
34! scanSkipInterval is the number of seconds skipped at each fast-forward or
35! reverse.
36XCdplayer*scanSkipInterval:		3
37! pauseSkipInterval is the number of seconds skipped at each fast-forward or
38! reverse if the CD is paused.
39XCdplayer*pauseSkipInterval:		15
40
41! scanPauseInterval is the number of seconds between each fast_forward or
42! reverse while holding down the buttons. (Sun CDs have a dreadfully long
43! start-up time for the audio to actually become audible, so "hearing the
44! track" while scanning isn't very feasible.)
45XCdplayer*scanPauseInterval:		0.062
46! pausePauseInterval does the same thing when the disc is paused.
47XCdplayer*pausePauseInterval:		0.5
48
49! cdInfoDir is the directory to search for stored data about discs.
50! NOTE: this must currently be a fully specified path (ie no '~'s,
51! environment vars, etc.  This should only be set if you are using a local
52! copy of the application defaults.  The command line option -cdInfoDir <path>
53! is provided for overriding the default path (null (= current dir))
54!XCdplayer*cdInfoDir:			eg:   /usr/staff/yourname/CDs
55
56XCdplayer*Viewport.allowHoriz:		True
57XCdplayer*Viewport.useBottom:		True
58XCdplayer*Viewport.forceBars:		False
59XCdplayer*Viewport.width:		188
60XCdplayer*Viewport.height:		30
61XCdplayer*Viewport*thickness:		8
62XCdplayer*Viewport.resizable:		False
63
64XCdplayer*Form.defaultDistance:		1
65XCdplayer*Form.internalHeight:		0
66XCdplayer*Form.internalWidth:		0
67XCdplayer*Form.borderWidth:		0
68
69XCdplayer*Label.internalHeight:		0
70XCdplayer*Label.internalWidth:		0
71XCdplayer*Label.borderWidth:		0
72XCdplayer*Label.top:			ChainTop
73XCdplayer*Label.bottom:			ChainTop
74XCdplayer*Label.left:			ChainLeft
75XCdplayer*Label.right:			ChainLeft
76
77XCdplayer*Command.background:		Ivory
78XCdplayer*Text.background:		Ivory
79XCdplayer*AsciiSink.background:		Ivory
80XCdplayer*AsciiSink.foreground:		Red
81XCdplayer*Scrollbar.foreground:		White
82XCdplayer*Scrollbar.background:		Gold
83
84XCdplayer*Toggle.borderWidth:		1
85XCdplayer*Toggle.top:			ChainTop
86XCdplayer*Toggle.bottom:		ChainTop
87XCdplayer*Toggle.left:			ChainLeft
88XCdplayer*Toggle.right:			ChainLeft
89XCdplayer*Toggle.background:		Ivory
90
91XCdplayer*ledsLabel.horizDistance:	20
92XCdplayer*ledsLabel.fromVert:		versionLabel
93XCdplayer*ledsLabel.fromHoriz:		logoLabel
94
95XCdplayer*trackButton.horizDistance:	8
96XCdplayer*trackButton.fromVert:		versionLabel
97XCdplayer*trackButton.fromHoriz:	ledsLabel
98XCdplayer*trackButton.borderWidth:	2
99XCdplayer*trackButton.internalHeight:	4
100XCdplayer*trackButton.internalWidth:	4
101
102XCdplayer*timerButton.borderWidth:	2
103XCdplayer*timerButton.internalHeight:	4
104XCdplayer*timerButton.internalWidth:	4
105XCdplayer*timerButton.horizDistance:	2
106XCdplayer*timerButton.fromVert:		versionLabel
107XCdplayer*timerButton.fromHoriz:	trackButton
108XCdplayer*timerButton.left:		ChainRight
109XCdplayer*timerButton.right:		ChainRight
110
111XCdplayer*volumeScrollbar.horizDistance:8
112XCdplayer*volumeScrollbar.fromHoriz:	logoLabel
113XCdplayer*volumeScrollbar.fromVert:	trackButton
114XCdplayer*volumeScrollbar.orientation:	horizontal
115XCdplayer*volumeScrollbar.length:	120
116XCdplayer*volumeScrollbar.right:	ChainRight
117XCdplayer*volumeScrollbar.left:		ChainRight
118XCdplayer*volumeScrollbar.background:	green
119XCdplayer*volumeScrollbar.foreground:	white
120XCdplayer*volumeScrollbar.thumb:	black
121
122XCdplayer*titleBarViewport.fromVert:	volumeScrollbar
123XCdplayer*titleBarViewport.forceBars:	true
124XCdplayer*titleBar.borderwidth:		0
125XCdplayer*titleBar.highlightThickness:	1
126XCdplayer*titleBar.foreground:		Red
127XCdplayer*titleBar.background:		Ivory
128
129XCdplayer*titleDialog.Text.translations:#override\
130	<Key>Return:	done()
131
132XCdplayer*buttonsForm.fromVert:		logoForm
133XCdplayer*buttonsForm.borderWidth:	1
134
135XCdplayer*pauseButton.fromHoriz:	playButton
136XCdplayer*stopButton.fromHoriz:		pauseButton
137XCdplayer*prevButton.fromHoriz:		stopButton
138XCdplayer*nextButton.fromHoriz:		prevButton
139XCdplayer*ejectButton.fromHoriz:	nextButton
140XCdplayer*audioButton.fromHoriz:	ejectButton
141
142XCdplayer*quitButton.fromVert:		playButton
143XCdplayer*cycleButton.fromVert:		playButton
144XCdplayer*cycleButton.fromHoriz:	quitButton
145XCdplayer*shuffleButton.fromVert:	playButton
146XCdplayer*shuffleButton.fromHoriz:	cycleButton
147XCdplayer*rewButton.fromVert:		playButton
148XCdplayer*rewButton.fromHoriz:		shuffleButton
149XCdplayer*ffButton.fromVert:		playButton
150XCdplayer*ffButton.fromHoriz:		rewButton
151XCdplayer*pgmButton.fromVert:		playButton
152XCdplayer*pgmButton.fromHoriz:		ffButton
153
154XCdplayer*stopButton.radioGroup:	playButton
155XCdplayer*ejectButton.radioGroup:	playButton
156XCdplayer*programForm.fromVert:		buttonsForm
157XCdplayer*programForm.borderWidth:	1
158
159XCdplayer*programDisplayViewport.forceBars:	True
160
161XCdplayer*programDisplayForm.background:		Black
162XCdplayer*programDisplayForm*Toggle.background:		Black
163XCdplayer*programDisplayForm*Toggle.foreground:		White
164XCdplayer*programDisplayForm*Toggle.borderWidth:	0
165XCdplayer*programDisplayForm*Toggle.highlightThickness:	0
166XCdplayer*programDisplayForm*Toggle.internalWidth:	0
167XCdplayer*programDisplayForm*Toggle.defaultDistance:	0
168
169XCdplayer*programDisplayForm*Toggle.translations: <EnterWindow>:  highlight(Always) \n\
170					<LeaveWindow>:  unhighlight() \n\
171					<Btn1Down>,<Btn1Up>:    set() notify()
172
173
174XCdplayer*trackButton.translations:	#override \
175					<EnterWindow>:	highlight(Always) \n\
176					<LeaveWindow>:	unhighlight() \n\
177					<Btn1Down>:	set() notify() \n\
178					<Btn1Up>:	reset() notify()
179
180XCdplayer*playButton.translations:	<EnterWindow>:	highlight(Always) \n\
181					<LeaveWindow>:	unhighlight() \n\
182					<Btn1Down>:	set() notify()
183
184XCdplayer*stopButton.translations:	<EnterWindow>:	highlight(Always) \n\
185					<LeaveWindow>:	unhighlight() \n\
186					<Btn1Down>:	set() notify()
187
188XCdplayer*ejectButton.translations:	<EnterWindow>:	highlight(Always) \n\
189					<LeaveWindow>:	unhighlight() \n\
190					<Btn1Down>:	set() notify()
191
192XCdplayer*audioButton.translations:	<EnterWindow>:	highlight(Always) \n\
193					<LeaveWindow>:	unhighlight() \n\
194					<Btn1Down>:	set() notify()
195
196XCdplayer*prevButton.translations:	<EnterWindow>:	highlight(Always) \n\
197					<LeaveWindow>:	unhighlight() \n\
198					<Btn1Down>:	set() notify() \n\
199					<Btn1Up>:	unset()
200
201XCdplayer*nextButton.translations:	<EnterWindow>:	highlight(Always) \n\
202					<LeaveWindow>:	unhighlight() \n\
203					<Btn1Down>:	set() notify() \n\
204					<Btn1Up>:	unset()
205
206XCdplayer*rewButton.translations:	<EnterWindow>:	highlight(Always) \n\
207					<LeaveWindow>:	unhighlight() \n\
208					<Btn1Down>:	set() notify() \n\
209					<Btn1Up>:	unset()
210
211XCdplayer*ffButton.translations:	<EnterWindow>:	highlight(Always) \n\
212					<LeaveWindow>:	unhighlight() \n\
213					<Btn1Down>:	set() notify() \n\
214					<Btn1Up>:	unset()
215
216XCdplayer*pgmButton.translations:	#override \
217					<EnterWindow>:	highlight(Always) \n\
218					<LeaveWindow>:	unhighlight() \n\
219					<Btn1Down>:	set() notify() \n
220					<Btn1Up>:	reset notify
221