!----------------------------------------------------------------------------
! for now, while hacking

xpcd.geometry:				x100

!----------------------------------------------------------------------------
! general (colors)

*font:			-*-new century schoolbook-bold-r-normal-*-12-*
*beNiceToColormap:                      False

Xpcd-2*Form.background:                 #e0e0e0
Xpcd-2*Box.background:                  #e0e0e0
Xpcd-2*Label.background:                #e0e0e0
Xpcd-2*Dialog.background:               #e0e0e0

Xpcd-2*Scrollbar.background:            gray
Xpcd-2*Toggle.background:		gray
Xpcd-2*Command.background:              gray
Xpcd-2*Viewport.background:             gray
Xpcd-2*MenuButton.background:           gray
Xpcd-2*SimpleMenu.background:           gray
Xpcd-2*SmeBSB.background:               gray
Xpcd-2*Label.borderWidth:               0
Xpcd-2*Command.width:			100

! icon pixmap size
Xpcd-2.ix:				48
Xpcd-2.iy:				48

!----------------------------------------------------------------------------
! cool 3D-Buttons on mouseover, works with Xaw3d only

Xpcd-2*MenuButton.translations:	#override			\n\
	<EnterWindow>:		SetShadowWidth(1)		\n\
	<LeaveWindow>:		SetShadowWidth(0) reset()
Xpcd-2*MenuButton.shadowWidth:		0
Xpcd-2*MenuButton.internalWidth:	4
Xpcd-2*MenuButton.internalHeight:	3

! not for the thumbnail buttons
Xpcd-2*Dialog*Command.translations:	#override\n\
	<EnterWindow>:		SetShadowWidth(1)\n\
	<LeaveWindow>:		SetShadowWidth(0) reset()
Xpcd-2*Dialog*Command.borderWidth:	1
Xpcd-2*Dialog*Command.shadowWidth:	0
Xpcd-2*Dialog*Command.internalWidth:	4
Xpcd-2*Dialog*Command.internalHeight:	3
Xpcd-2*Form*Command.translations:	#override\n\
	<EnterWindow>:		SetShadowWidth(1)\n\
	<LeaveWindow>:		SetShadowWidth(0) reset()
Xpcd-2*Form*Command.borderWidth:	1
Xpcd-2*Form*Command.shadowWidth:	0
Xpcd-2*Form*Command.internalWidth:	4
Xpcd-2*Form*Command.internalHeight:	3

Xpcd-2*Toggle.translations:		#override\n\
	<EnterWindow>:		SetShadowWidth(1)\n\
	<LeaveWindow>:		SetShadowWidth(0)
Xpcd-2*Toggle.borderWidth:		1
Xpcd-2*Toggle.shadowWidth:		0
Xpcd-2*Toggle.internalWidth:		4
Xpcd-2*Toggle.internalHeight:		3

Xpcd-2*SimpleMenu*shadowWidth:		1

!----------------------------------------------------------------------------
! main window

xpcd.main.body.background:		lightyellow
*main.menu.hSpace:			0
*main.menu.vSpace:			0
*main.menu*view*leftMargin:		10
*main.menu*opt*leftMargin:		10

xpcd.translations:		#override	\n\
	<PropertyNotify>:	Ipc()		\n\
	<Message>WM_PROTOCOLS:	CloseAll()


Xpcd-2.str_about_title:		About
Xpcd-2.str_about_label:							\
This is xpcd 2.07, a program for reading PhotoCD images.		\n\
Copyright (C) 1997 Gerd Knorr <kraxel@goldbach.in-berlin.de>			\n\
									\n\
This program is free software; you can redistribute it and/or modify	\n\
it under the terms of the GNU General Public License as published by	\n\
the Free Software Foundation; either version 2 of the License, or	\n\
(at your option) any later version.					\n\
									\n\
This program is distributed in the hope that it will be useful,		\n\
but WITHOUT ANY WARRANTY; without even the implied warranty of		\n\
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the		\n\
GNU General Public License for more details.				\n\
									\n\
You should have received a copy of the GNU General Public License	\n\
along with this program; if not, write to the Free Software		\n\
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

!----------------------------------------------------------------------------
! thumbnails

thumbnails.geometry:				570x400
thumbnails.viewport.useRight:			True
thumbnails*Box.background:			gray
thumbnails*Box.Command.background:		gray
thumbnails*Box.Command.foreground:		red
thumbnails*Box.Command.highlightThickness:	3
thumbnails*Box.Command.shadowWidth:		0

thumbnails.viewport.Box*translations:	#override	\n\
	<Btn2Down>:	DragScroll()			\n\
	<Btn2Motion>:	DragScroll()

!----------------------------------------------------------------------------
! image

*menu.s1.label:				192 x 128
*menu.s2.label:				384 x 256
*menu.s3.label:				768 x 512
*menu.s4.label:				1536 x 1024
*menu.s5.label:				3072 x 2048

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

!----------------------------------------------------------------------------
! internal viewer

viewer.viewport.useRight:		True
viewer.viewport.useBottom:		True

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

viewer.viewport.label.translations:	#override	\n\
	<Btn1Down>:	DragScroll()			\n\
	<Btn1Motion>:	DragScroll()			\n\
	<Btn2Down>:	DragScroll()			\n\
	<Btn2Motion>:	DragScroll()

viewer.geometry:			800x650

!--------------------------------------------------------------------------
! histogramm dialog box

*hist.form.label.justify:	left

*hist.form.red.foreground:	red
*hist.form.green.foreground:	green
*hist.form.blue.foreground:	blue
*hist.form.red2.foreground:	red
*hist.form.green2.foreground:	green
*hist.form.blue2.foreground:	blue

*hist.form.Toggle.vertDistance: 10
*hist.form.Command.vertDistance: 10
*hist.form.Label.vertDistance:	10

*hist.form.red.accelerators:	#override\n\
	<Key>r:	toggle()notify()
*hist.form.green.accelerators:	#override\n\
	<Key>g:	toggle()notify()
*hist.form.blue.accelerators:	#override\n\
	<Key>b:	toggle()notify()
*hist.form.ok.accelerators:	#override\n\
	<Key>Return:	set()notify()unset()
*hist.form.cancel.accelerators:	#override\n\
	<Key>q:		set()notify()unset()	\n\
	<Key>Escape:	set()notify()unset()

*hist.accelerators:		#override\n\
	<Key>F1:	Help()			\n\
	<Key>h:		Help()

!--------------------------------------------------------------------------
! toolbox.c dialogs. 

*Dialog.label.justify:		left
!*Dialog.label.width:		300
*Dialog.value.width:		300
*Dialog*resizable:		True

!--------------------------------------------------------------------------
! help window
*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*label.background:	white
!*popup_help*label.borderWidth:	1
!*popup_help*label.borderColor:	black

!--------------------------------------------------------------------------
! keyboard handling

*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()

*Viewport.horizontal.translations:	#override \n\
    Ctrl<Key>Left:	KbdScroll(left,50) EndScroll()\n\
    Ctrl<Key>Right:	KbdScroll(right,50) EndScroll()\n\
    <Key>Left:		KbdScroll(left,10) EndScroll()\n\
    <Key>Right:		KbdScroll(right,10) EndScroll()
*Viewport.vertical.translations:	#override \n\
    Ctrl<Key>Up:	KbdScroll(up,50) EndScroll()\n\
    Ctrl<Key>Down:	KbdScroll(down,50) EndScroll()\n\
    <Key>Up:		KbdScroll(up,10) EndScroll()\n\
    <Key>Down:		KbdScroll(down,10) EndScroll()\n\
    <Key>Page_Up:	KbdScroll(up,90) EndScroll()\n\
    <Key>Page_Down:	KbdScroll(down,90) EndScroll()

*Viewport.horizontal.accelerators:	#override \n\
    Ctrl<Key>Left:	KbdScroll(left,50) EndScroll()\n\
    Ctrl<Key>Right:	KbdScroll(right,50) EndScroll()\n\
    <Key>Left:		KbdScroll(left,10) EndScroll()\n\
    <Key>Right:		KbdScroll(right,10) EndScroll()
*Viewport.vertical.accelerators:	#override \n\
    Ctrl<Key>Up:	KbdScroll(up,50) EndScroll()\n\
    Ctrl<Key>Down:	KbdScroll(down,50) EndScroll()\n\
    <Key>Up:		KbdScroll(up,10) EndScroll()\n\
    <Key>Down:		KbdScroll(down,10) EndScroll()\n\
    <Key>Page_Up:	KbdScroll(up,90) EndScroll()\n\
    <Key>Page_Down:	KbdScroll(down,90) EndScroll()


xpcd.accelerators:			#override\n\
	<Key>q:		CloseAll()	\n\
	<Key>F1:	Help()		\n\
	<Key>h:		Help()

thumbnails.accelerators:		#override\n\
	<Key>q:		CloseFile()	\n\
	<Key>F1:	Help()		\n\
	<Key>h:		Help()

image.accelerators:			#override\n\
	<Key>q:		CloseFile()	\n\
	<Key>F1:	Help()		\n\
	<Key>h:		Help()

viewer.accelerators:			#override\n\
	<Key>q:		CloseFile()	\n\
	<Key>F1:	Help()		\n\
	<Key>h:		Help()


! that's all
!--------------------------------------------------------------------------

