File: TCM

package info (click to toggle)
tcm 2.20%2BTSQD-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 22,932 kB
  • sloc: ansic: 78,547; sh: 3,618; makefile: 1,353; perl: 753; yacc: 595; lex: 257
file content (115 lines) | stat: -rwxr-xr-x 4,402 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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-*