!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! TCM: app-defaults file for the TCM editors.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!! Make sure that BackSpace and Delete do what is expected.

TCM*XmText.translations: #override\n\
	<Key>osfDelete: delete-next-character()\n\
	<Key>osfBackSpace: delete-previous-character()\n
TCM*XmTextField.translations: #override\n\
	<Key>osfDelete: delete-next-character()\n\
	<Key>osfBackSpace: delete-previous-character()\n

!! Set the application's colors, modify these if you want to.

#ifdef COLOR

!! Default foreground and background color.
TCM*Foreground:				black
TCM*Background:				light grey

!! Color of the drawing area (canvas).
TCM*DrawingArea*Background:             purple

!! Color of the bubble help.
TCM*LiteClueShell*Background:		light yellow

!! The colors of the menu bar and the menus.
TCM*logo*Background:			light steel blue
TCM*MenuBar*Background:			grey
TCM*MenuBar*Foreground:                 black
TCM*DrawingArea*_pulldown*Background:  	grey
TCM*DrawingArea*_pulldown*Foreround:    black
TCM*DrawingArea*_popup*Background:	grey
TCM*DrawingArea*_popup*Foreround:       black

!! The color of the tiled buttons.
TCM*Tiles*Nodes*XmToggleButton*Background:alice blue
TCM*Tiles*Edges*XmToggleButton*Background:alice blue
TCM*Tiles*DFDiagram.Background:sky blue

!! The colors of the document type and name fields.
TCM*DocumentName.Background:		light steel blue
TCM*DocumentType.Background:		light steel blue
TCM*DocumentLevel.Background:		light steel blue

!! The colors of a selected toggle button.
TCM*XmToggleButtonGadget.SelectColor:	red
TCM*XmToggleButton.SelectColor:		red
TCM*XmToggleButton.HighlightColor:	red


!! The colors used in the TCM startup window.
TCM*StartupWindow*Foreground: 		black
TCM*StartupWindow*TGD.Background:	aquamarine
TCM*StartupWindow*TGT.Background:	aquamarine
TCM*StartupWindow*TGTT.Background:	aquamarine
TCM*StartupWindow*TUCD.Background:	light blue
TCM*StartupWindow*TSSD.Background:	light blue
TCM*StartupWindow*TATD.Background:	light blue
TCM*StartupWindow*TSCD.Background: 	light blue
TCM*StartupWindow*TCBD.Background:	light blue
TCM*StartupWindow*TSQD.Background:	light blue
TCM*StartupWindow*TCPD.Background:	light blue
TCM*StartupWindow*TDPD.Background:	light blue
TCM*StartupWindow*TESD.Background:	light yellow
TCM*StartupWindow*TSTD.Background: 	light yellow
TCM*StartupWindow*TEFD.Background: 	light yellow
TCM*StartupWindow*TFRT.Background:	light yellow
TCM*StartupWindow*TFET.Background:	light yellow
TCM*StartupWindow*TTUT.Background:	light yellow
TCM*StartupWindow*TERD.Background:	light pink
TCM*StartupWindow*TPSD.Background:	light pink
TCM*StartupWindow*TSND.Background:	light pink
TCM*StartupWindow*TDFD.Background: 	light pink
TCM*StartupWindow*TCRD.Background:	light pink
TCM*StartupWindow*TRPG.Background:	light pink
TCM*StartupWindow*TTDT.Background:	light pink

!! The background of the different kinds of popup dialogs.
TCM*XmSelectionBox*Background:		gray85
TCM*XmFileSelectionBox*Background:	gray85
TCM*XmMessageBox*Background:		gray85
TCM*XmMessageBox*XmText*Background:	light steel blue
TCM*XmSelectionBox*XmTextField.background:        white
TCM*XmSelectionBox*XmText.background:             white
TCM*XmSelectionBox*XmList.background:             white
TCM*XmFileSelectionBox*XmTextField.background:        white
TCM*XmFileSelectionBox*XmText.background:             white
TCM*XmFileSelectionBox*XmList.background:             white

#else

!! Monchrome resource. This is used when you have a black
!! and white display.
TCM*Background:				white
#endif

!! default TCM fonts.
TCM*fontList:                   -*-helvetica-bold-r-*--12-*
TCM*XmList.fontList:            -*-courier-medium-r-*--12-*
TCM*XmText.fontList:            -*-courier-medium-r-*--12-*
TCM*XmTextField.fontList:       -*-courier-medium-r-*--12-*

!! Fonts used for document type and - name and status fields.
TCM*DocumentName.fontList:  	-*-helvetica-bold-r-*--12-*
TCM*DocumentType.fontList:  	-*-helvetica-bold-r-*--12-*
TCM*StatusText.fontList: 	-*-helvetica-medium-r-*--11-*

!! Fonts used for TCM startup_window program.
TCM*StartupWindow*fontList: -*-helvetica-bold-r-*--12-*
TCM*StartupWindow*statusBar.fontList: -*-helvetica-medium-r-*--10-*

!! Font of the bubble help.
TCM*LiteClueShell*FontSet: 	-*-helvetica-medium-r-*--10-*
