! Some interesting colors for the different parts of xfig
! if you are using a COLOR workstation.


! some sample settings you may want to change

Fig.internalborderwidth:	2
Fig.geometry:			+0+0
Fig.iconX:			+0
Fig.iconY:			-0
! the following should fix the problem that some have had with
! their window manager fighting with xfig over the geometry
Fig*allowShellResize:		False
! pick a nice font for the popup edit window for text objects
Fig*Text_text*font:		-*-times-medium-r-normal--14-*
! filename mask for the file popup browser
Fig*file_panel*mask*string:	*.fig
! filename mask for the export popup browser
Fig*export_panel*mask*string:	*ps
! printer name
! If the following resource is NOT set, xfig will use the PRINTER 
! shell environment variable for the printer name
!Fig*printer*string:		ps

! make the F20 key paste text in the canvas
Fig*translations: #override \n\
			<Key>F20: PasteCanv()\n

! Specify a private Compose key database file.  If this resource contains a "/"
! then the wired-in name of the xfig global directory won't be prefixed to it.
! An initial "~/" is replaced by the value of "$HOME/".
!
!Fig*ComposeKeyDB:	~/.xfig.Compose-key

! let's make these buttons oval in the edit panel
Fig.xfig_edit_panel*done.label:		Done
Fig.xfig_edit_panel*done.ShapeStyle:	oval
Fig.xfig_edit_panel*apply.label:	Apply
Fig.xfig_edit_panel*apply.ShapeStyle:	oval
Fig.xfig_edit_panel*cancel.label:	Cancel
Fig.xfig_edit_panel*cancel.ShapeStyle:	oval

! keyboard accelerators


Fig*quit*accelerators: \
	Meta<Key>q: quit()\n
Fig*delete_all*accelerators: \
	Meta<Key>d: delete_all()\n
Fig*undo*accelerators: \
	Meta<Key>u: undo()\n
Fig*redraw*accelerators: \
	Meta<Key>r: redraw()\n\
	Ctrl<Key>l: redraw()\n
Fig*paste*accelerators: \
	Meta<Key>t: paste()\n
Fig*file*accelerators: \
	Meta<Key>s: SaveFile()\n\
	Meta<Key>l: LoadFile()\n\
	Meta<Key>f: file()\n
Fig*xfig_file_menu*accelerators: \
	Meta<Key>c: cancel()\n\
	Meta<Key>l: load()\n\
	Meta<Key>m: merge()\n\
	Meta<Key>r: rescan()\n\
	Meta<Key>s: save()\n
Fig*export*accelerators: \
	Meta<Key>e: export()\n
Fig*xfig_export_menu*accelerators: \
	Meta<Key>c: cancel()\n\
	Meta<Key>e: export()\n\
	Meta<Key>r: rescan()\n
Fig*print*accelerators: \
	Meta<Key>p: print()\n
Fig*xfig_print_menu*accelerators: \
	Meta<Key>d: dismiss()\n\
	Meta<Key>b: print_batch()\n\
	Meta<Key>x: clear_batch()\n\
	<Key>Return: print()\n\
	Meta<Key>p: print()\n
Fig*xfig_set_unit_panel*accelerators: \
	Meta<Key>c: QuitUnits()\n\
	Meta<Key>s: SetUnits()\n
Fig*mode_panel*accelerators: \
	None<Key>m: ModeMoveObject()\n\
	Ctrl<Key>c: ModeCopyObject()\n\
	None<Key>a: ModeAlign()\n\
	Ctrl<Key>s: ModeScale()\n\
	None<Key>d: ModeDeleteObject()\n\
	Shift<Key>d: ModeDeletePoint()\n\
	Shift<Key>m: ModeMovePoint()\n\
	Ctrl<Key>e: ModeEditObject()\n\
	None<Key>g: ModeCompound()\n\
	Shift<Key>g: ModeBreakCompound()\n\
	Ctrl<Key>r: ModeRotateObjectCW()\n\
	Shift<Key>r: ModeRotateObjectCCW()\n\
	None<Key>f: ModeFlipObjectUD()\n\
	Shift<Key>f: ModeFlipObjectLR()\n\
	Shift<Key>a: ModeArrow()\n\
	Ctrl<Key>A: ModeAddPoint()\n\
	None<Key>l: ModeLine()\n\
	None<Key>t: ModeText()\n\
	None<Key>c: ModeCircleR()\n\
	Shift<Key>c: ModeCircleD()\n\
	None<Key>e: ModeEllipseR()\n\
	Shift<Key>e: ModeEllipseD()\n\
	None<Key>b: ModeBox()\n\
	Shift<Key>b: ModeArcBox()\n\
	None<Key>p: ModePoly()\n\
	Shift<Key>p: ModeRegPoly()\n\
	Ctrl<Key>p: ModeEPS()\n\
	None<Key>r: ModeArc()\n\
	None<Key>s: ModeSpline()\n\
	Shift<Key>s: ModeClSpline()\n\
	None<Key>i: ModeIntSpline()\n\
	Shift<Key>i: ModeClIntSpline()\n\
	None<Key>u: ModeUpdateObject()\n\
	None<Key>v: ModeConvertObject()\n
#ifdef COLOR
! Top Ruler
	Fig*topruler.background:	grey95
	Fig*topruler.foreground:	black
! Side Ruler
	Fig*sideruler.background:	grey95
	Fig*sideruler.foreground:	black
! Message panel
	Fig*file_name.background:	lightskyblue
	Fig*file_name.foreground:	black
	Fig*message*background:		white
	Fig*message*foreground:		black
! Command (top) panel
	Fig*commands*background:	grey85
	Fig*commands*foreground:	black
! Indicator (lower) panel
	Fig*ind_panel.background: dodgerblue
	Fig*ind_panel.foreground: black
	Fig*ind_panel.button_form.button.background: dodgerblue
	Fig*ind_panel.button_form.button.foreground: black
	Fig*ind_panel.button_form.update.foreground: red
	Fig*ind_panel.button_form.update.background: white
! Mode (left-hand) panel
	Fig*mode_panel.background: lightskyblue
	Fig*mode_panel.foreground: black
	Fig*mode_panel.label.background: lavender
	Fig*mode_panel.label.foreground: black
	Fig*mode_panel.button.background: lightskyblue
	Fig*mode_panel.button.foreground: black
! Mouse indicator panel
	Fig*mouse_panel.background: lavender
	Fig*mouse_panel.foreground: black
! Edit popup
	Fig*xfig_edit_panel.form.done.background: green
	Fig*xfig_edit_panel.form.apply.background: yellow
	Fig*xfig_edit_panel.form.cancel.background: red
! make a light grey background so you can see the color "white" in the edit menu
	Fig*xfig_edit_panel.form.colors.menu.background: grey90
! File popup
	Fig*file_panel*background:		orchid
	Fig*file_panel*Text*background:		white
	Fig*file_panel*Text*foreground:		black
	Fig*file_panel*List*background:		white
	Fig*file_panel*List*foreground:		black
	Fig*file_panel*Scrollbar*background:	cornflowerblue
	Fig*file_panel*Scrollbar*foreground:	red
	Fig*file_panel*home.foreground:		black
	Fig*file_panel*home.background:		cornflowerblue
	Fig*file_panel.rescan.foreground:	black
	Fig*file_panel.rescan.background:	cornflowerblue
	Fig*file_panel.cancel.foreground:	black
	Fig*file_panel.cancel.background:	red
	Fig*file_panel.save.foreground:		black
	Fig*file_panel.save.background:		yellow
	Fig*file_panel.load.foreground:		black
	Fig*file_panel.load.background:		green
	Fig*file_panel.merge.foreground:	black
	Fig*file_panel.merge.background:	cornflowerblue
! Export popup
	Fig*export_panel*background:		orchid
	Fig*export_panel*Text*background:	white
	Fig*export_panel*Text*foreground:	black
	Fig*export_panel*List*background:	white
	Fig*export_panel*List*foreground:	black
	Fig*export_panel*Scrollbar*background:	cornflowerblue
	Fig*export_panel*Scrollbar*foreground:	red
	Fig*export_panel*MenuButton*background:	white
	Fig*export_panel*MenuButton*foreground:	black
	Fig*export_panel*landscape.menu.background: yellow
	Fig*export_panel*landscape.menu.foreground: black
	Fig*export_panel*home.foreground:	black
	Fig*export_panel*home.background:	cornflowerblue
	Fig*export_panel.rescan.foreground:	black
	Fig*export_panel.rescan.background:	cornflowerblue
	Fig*export_panel.cancel.foreground:	black
	Fig*export_panel.cancel.background:	red
	Fig*export_panel.export.foreground:	black
	Fig*export_panel.export.background:	green
! Print popup
	Fig*print_panel*Background:		orchid
	Fig*print_panel*Text*background:	white
	Fig*print_panel*Text*foreground:	black
	Fig*print_panel*MenuButton*background:	white
	Fig*print_panel*MenuButton*foreground:	black
	Fig*print_panel*printer_image*foreground: white
	Fig*print_panel*landscape.menu.background: yellow
	Fig*print_panel*landscape.menu.foreground: black
	Fig*print_panel*flush left.menu.background: orange
	Fig*print_panel*flush left.menu.foreground: black
	Fig*print_panel.dismiss.background:	red
	Fig*print_panel.dismiss.foreground:	black
	Fig*print_panel.print_batch.background:	cornflowerblue
	Fig*print_panel.print_batch.foreground:	black
	Fig*print_panel.clear_batch.background:	orange
	Fig*print_panel.clear_batch.foreground:	black
	Fig*print_panel.print.background:	green
	Fig*print_panel.print.foreground:	black
	Fig*print_panel.output_printer.background: yellow
	Fig*print_panel.output_printer.foreground: black
	Fig*print_panel.output_file.background:	yellow
	Fig*print_panel.output_file.foreground:	black
! File message popup
	Fig*file_msg_panel.background:		orchid
	Fig*file_msg_panel.file_msg_win*background: cornflowerblue
	Fig*file_msg_panel.file_msg_win*foreground: yellow
	Fig*file_msg_panel.dismiss.background:	green
	Fig*file_msg_panel.dismiss.foreground:	black
	Fig*file_msg_panel.clear.background:	red
	Fig*file_msg_panel.clear.foreground:	black
! Query popup
	Fig*query_popup.query_form.background: lightslateblue
	Fig*query_popup.query_form.foreground: black
	Fig*query_popup.query_form.message.background: lightgrey
	Fig*query_popup.query_form.message.foreground: black
	Fig*query_popup.query_form.yes.background: red
	Fig*query_popup.query_form.yes.foreground: black
	Fig*query_popup.query_form.no.background: orange
	Fig*query_popup.query_form.no.foreground: black
	Fig*query_popup.query_form.cancel.background: green
	Fig*query_popup.query_form.cancel.foreground: black
#endif
