~ubuntu-branches/ubuntu/utopic/tcm/utopic

« back to all changes in this revision

Viewing changes to src/ui/xresources.c

  • Committer: Bazaar Package Importer
  • Author(s): Otavio Salvador
  • Date: 2003-07-03 20:08:21 UTC
  • Revision ID: james.westby@ubuntu.com-20030703200821-se4xtqx25e5miczi
Tags: upstream-2.20
ImportĀ upstreamĀ versionĀ 2.20

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//------------------------------------------------------------------------------
 
2
//
 
3
// This file is part of Toolkit for Conceptual Modeling (TCM).
 
4
// (c) copyright 1995, Vrije Universiteit Amsterdam.
 
5
// Author: Frank Dehne (frank@cs.vu.nl).
 
6
// Author: Henk van de Zandschulp (henkz@cs.utwente.nl)
 
7
//
 
8
// TCM is free software; you can redistribute it and/or modify
 
9
// it under the terms of the GNU General Public License as published by
 
10
// the Free Software Foundation; either version 2 of the License, or
 
11
// (at your option) any later version.
 
12
//
 
13
// TCM is distributed in the hope that it will be useful,
 
14
// but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16
// GNU General Public License for more details.
 
17
//
 
18
// You should have received a copy of the GNU General Public License
 
19
// along with TCM; if not, write to the Free Software Foundation, Inc.,
 
20
// 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
21
//-----------------------------------------------------------------------------
 
22
 
 
23
#include "xresources.h"
 
24
 
 
25
// When there is no applications default file loaded, these resources are used 
 
26
// instead. See the applications default file for the meaning of all 
 
27
// these resources.
 
28
 
 
29
const char *XResources::classicColorResources[] = {
 
30
"*XmText.translations: #override \
 
31
        <Key>osfDelete: delete-next-character()\n\
 
32
        <Key>osfBackSpace: delete-previous-character()",
 
33
"*XmTextField.translations: #override \
 
34
        <Key>osfDelete: delete-next-character()\n\
 
35
        <Key>osfBackSpace: delete-previous-character()",
 
36
"*Foreground:black",
 
37
"*Background:light grey",
 
38
"*DrawingArea*Background:linen",
 
39
"*LiteClueShell*Background:light yellow",
 
40
"*LiteClueShell*FontSet: -*-helvetica-medium-r-*--10-*",
 
41
"*logo*Background:light steel blue",
 
42
"*MenuBar*Background:light yellow",
 
43
"*MenuBar*Foreground:navy",
 
44
"*DrawingArea*_popup*Background:light yellow",
 
45
"*DrawingArea*_popup*Foreground:navy",
 
46
"*DrawingArea*_pulldown*Background: light yellow",
 
47
"*DrawingArea*_pulldown*Foreground: navy",
 
48
"*Tiles*Nodes*XmToggleButton*Background:misty rose",
 
49
"*Tiles*Edges*XmToggleButton*Background:misty rose",
 
50
"*Tiles*Layout*XmToggleButton*Background:misty rose",
 
51
"*LineStyleDialog*XmToggleButton*Background:misty rose",
 
52
"*LineStyleDialog*LiteClueShell*Background:light yellow",
 
53
"*LineEndDialog*XmToggleButton*Background:misty rose",
 
54
"*LineEndDialog*LiteClueShell*Background:light yellow",
 
55
"*LineWidthDialog*XmToggleButton*Background:misty rose",
 
56
"*LineWidthDialog*LiteClueShell*Background:light yellow",
 
57
"*NodeAlignmentDialog*XmToggleButton*Background:misty rose",
 
58
"*NodeAlignmentDialog*LiteClueShell*Background:light yellow",
 
59
"*NodeShapeDialog*XmToggleButton*Background:misty rose",
 
60
"*NodeShapeDialog*LiteClueShell*Background:light yellow",
 
61
"*TextAlignmentDialog*XmToggleButton*Background:misty rose",
 
62
"*TextAlignmentDialog*LiteClueShell*Background:light yellow",
 
63
"*DocumentName.Background:gold",
 
64
"*DocumentType.Background:gold",
 
65
"*DocumentLevel.Background:steel blue",
 
66
"*DFDiagram.Background:salmon",
 
67
"*XmToggleButtonGadget.SelectColor:red",
 
68
"*XmToggleButton.SelectColor:red",
 
69
"*XmToggleButton.HighlightColor:red",
 
70
"*StartupWindow*Foreground:black",
 
71
"*StartupWindow*TGD.Background:aquamarine",
 
72
"*StartupWindow*TGT.Background:aquamarine",
 
73
"*StartupWindow*TGTT.Background:aquamarine",
 
74
"*StartupWindow*TESD.Background:light yellow",
 
75
"*StartupWindow*TEFD.Background:light yellow",
 
76
"*StartupWindow*TSTD.Background:light yellow",
 
77
"*StartupWindow*TTUT.Background:light yellow",
 
78
"*StartupWindow*TFET.Background:light yellow",
 
79
"*StartupWindow*TFRT.Background:light yellow",
 
80
"*StartupWindow*TUCD.Background:light blue",
 
81
"*StartupWindow*TSSD.Background:light blue",
 
82
"*StartupWindow*TATD.Background:light blue",
 
83
"*StartupWindow*TSCD.Background:light blue",
 
84
"*StartupWindow*TCBD.Background:light blue",
 
85
"*StartupWindow*TSQD.Background:light gray",
 
86
"*StartupWindow*TCPD.Background:light blue",
 
87
"*StartupWindow*TDPD.Background:light blue",
 
88
"*StartupWindow*TERD.Background:light pink",
 
89
"*StartupWindow*TCRD.Background:light pink",
 
90
"*StartupWindow*TDFD.Background:light pink",
 
91
"*StartupWindow*TPSD.Background:light pink",
 
92
"*StartupWindow*TSND.Background:light pink",
 
93
"*StartupWindow*TRPG.Background:light pink",
 
94
"*StartupWindow*TTDT.Background:light pink",
 
95
"*XmSelectionBox*Background:lavender",
 
96
"*XmFileSelectionBox*Background:lavender",
 
97
"*XmMessageBox*Background:lavender",
 
98
"*fontList:-*-courier-medium-r-*--12-*",
 
99
"*XmList.fontList: -*-courier-medium-r-*--12-*",
 
100
"*XmText.fontList: -*-courier-medium-r-*--12-*",
 
101
"*XmTextField.fontList: -*-courier-medium-r-*--12-*",
 
102
"*XmScale.fontList: -*-new century schoolbook-bold-r-*--12-*",
 
103
"*XmLabel.fontList: -*-new century schoolbook-bold-r-*--12-*",
 
104
"*XmLabelGadget.fontList: -*-new century schoolbook-bold-r-*--12-*",
 
105
"*XmCascadeButton.fontList: -*-new century schoolbook-bold-r-*--12-*",
 
106
"*XmCascadeButtonGadget.fontList: -*-new century schoolbook-bold-r-*--12-*",
 
107
"*XmPushButton.fontList: -*-new century schoolbook-bold-r-*--12-*",
 
108
"*XmPushButtonGadget.fontList: -*-new century schoolbook-bold-r-*--12-*",
 
109
"*XmToggleButton.fontList: -*-new century schoolbook-bold-r-*--12-*",
 
110
"*XmToggleButtonGadget.fontList: -*-new century schoolbook-bold-r-*--12-*",
 
111
"*DocumentName.fontList: -*-courier-bold-r-*--12-*",
 
112
"*DocumentType.fontList: -*-new century schoolbook-bold-r-*--12-*",
 
113
"*StatusText.fontList: -*-helvetica-medium-r-*--12-*",
 
114
"*StartupWindow*frameGEN.XmLabel.fontList: -*-new century schoolbook-bold-r-*--12-*",
 
115
"*StartupWindow*frameUML.XmLabel.fontList: -*-new century schoolbook-bold-r-*--12-*",
 
116
"*StartupWindow*frameSA.XmLabel.fontList: -*-new century schoolbook-bold-r-*--12-*",
 
117
"*StartupWindow*frameMISC.XmLabel.fontList: -*-new century schoolbook-bold-r-*--12-*",
 
118
"*StartupWindow*fontList: -*-new century schoolbook-bold-r-*--10-*",
 
119
"*StartupWindow*statusBar.fontList: -*-helvetica-medium-r-*--10-*",
 
120
0 };
 
121
 
 
122
const char *XResources::modernColorResources[] = {
 
123
"*XmText.translations: #override \
 
124
        <Key>osfDelete: delete-next-character()\n\
 
125
        <Key>osfBackSpace: delete-previous-character()",
 
126
"*XmTextField.translations: #override \
 
127
        <Key>osfDelete: delete-next-character()\n\
 
128
        <Key>osfBackSpace: delete-previous-character()",
 
129
"*Foreground:black",
 
130
"*Background:light gray",
 
131
"*DrawingArea*Background:white",
 
132
"*LiteClueShell*Background:light yellow",
 
133
"*logo*Background:light steel blue",
 
134
"*MenuBar*Background:gray",
 
135
"*MenuBar*Foreground:black",
 
136
"*DrawingArea*_popup*Background:gray",
 
137
"*DrawingArea*_popup*Foreground:black",
 
138
"*DrawingArea*_pulldown*Background: gray",
 
139
"*DrawingArea*_pulldown*Foreground: black",
 
140
"*Tiles*Nodes*XmToggleButton*Background:alice blue",
 
141
"*Tiles*Edges*XmToggleButton*Background:alice blue",
 
142
"*Tiles*Layout*XmToggleButton*Background:alice blue",
 
143
"*DocumentName.Background:light steel blue",
 
144
"*DocumentType.Background:light steel blue",
 
145
"*DocumentLevel.Background:light steel blue",
 
146
"*DFDiagram.Background:light blue",
 
147
"*XmToggleButtonGadget.SelectColor:blue",
 
148
"*XmToggleButton.SelectColor:blue",
 
149
"*XmToggleButton.HighlightColor:red",
 
150
"*StartupWindow*Foreground:black",
 
151
"*StartupWindow*TGD.Background:aquamarine",
 
152
"*StartupWindow*TGT.Background:aquamarine",
 
153
"*StartupWindow*TGTT.Background:aquamarine",
 
154
"*StartupWindow*TESD.Background:light yellow",
 
155
"*StartupWindow*TEFD.Background:light yellow",
 
156
"*StartupWindow*TSTD.Background:light yellow",
 
157
"*StartupWindow*TTUT.Background:light yellow",
 
158
"*StartupWindow*TFET.Background:light yellow",
 
159
"*StartupWindow*TFRT.Background:light yellow",
 
160
"*StartupWindow*TUCD.Background:light blue",
 
161
"*StartupWindow*TSSD.Background:light blue",
 
162
"*StartupWindow*TATD.Background:light blue",
 
163
"*StartupWindow*TSCD.Background:light blue",
 
164
"*StartupWindow*TCBD.Background:light blue",
 
165
"*StartupWindow*TSQD.Background:light gray",
 
166
"*StartupWindow*TCPD.Background:light blue",
 
167
"*StartupWindow*TDPD.Background:light blue",
 
168
"*StartupWindow*TERD.Background:light pink",
 
169
"*StartupWindow*TCRD.Background:light pink",
 
170
"*StartupWindow*TDFD.Background:light pink",
 
171
"*StartupWindow*TPSD.Background:light pink",
 
172
"*StartupWindow*TSND.Background:light pink",
 
173
"*StartupWindow*TRPG.Background:light pink",
 
174
"*StartupWindow*TTDT.Background:light pink",
 
175
"*XmSelectionBox*Background:gray85",
 
176
"*XmFileSelectionBox*Background:gray85",
 
177
"*XmMessageBox*Background:gray85",
 
178
"*XmMessageBox*XmText*Background:light steel blue",
 
179
"*XmSelectionBox*XmTextField.background:white",
 
180
"*XmSelectionBox*XmText.background:white",
 
181
"*XmSelectionBox*XmList.background:white",
 
182
"*XmFileSelectionBox*XmTextField.background:white",
 
183
"*XmFileSelectionBox*XmText.background:white",
 
184
"*XmFileSelectionBox*XmList.background:white",
 
185
"*TextFieldListDialog*XmTextField.background:white",
 
186
"*LineStyleDialog*XmToggleButton*Background:alice blue",
 
187
"*LineStyleDialog*LiteClueShell*Background:light yellow",
 
188
"*LineEndDialog*XmToggleButton*Background:alice blue",
 
189
"*LineEndDialog*LiteClueShell*Background:light yellow",
 
190
"*LineWidthDialog*XmToggleButton*Background:alice blue",
 
191
"*LineWidthDialog*LiteClueShell*Background:light yellow",
 
192
"*NodeAlignmentDialog*XmToggleButton*Background:alice blue",
 
193
"*NodeAlignmentDialog*LiteClueShell*Background:light yellow",
 
194
"*NodeShapeDialog*XmToggleButton*Background:alice blue",
 
195
"*NodeShapeDialog*LiteClueShell*Background:light yellow",
 
196
"*TextAlignmentDialog*XmToggleButton*Background:alice blue",
 
197
"*TextAlignmentDialog*LiteClueShell*Background:light yellow",
 
198
"*fontList:-*-helvetica-bold-r-*--12-*",
 
199
"*LiteClueShell*FontSet: -*-helvetica-medium-r-*--10-*",
 
200
"*XmList.fontList: -*-courier-medium-r-*--12-*",
 
201
"*XmText.fontList: -*-courier-medium-r-*--12-*",
 
202
"*XmTextField.fontList: -*-courier-medium-r-*--12-*",
 
203
"*DocumentName.fontList: -*-helvetica-bold-r-*--12-*",
 
204
"*DocumentType.fontList: -*-helvetica-bold-r-*--12-*",
 
205
"*StatusText.fontList: -*-helvetica-medium-r-*--10-*",
 
206
"*StartupWindow*fontList: -*-helvetica-bold-r-*--12-*",
 
207
"*StartupWindow*statusBar.fontList: -*-helvetica-medium-r-*--10-*",
 
208
0 };
 
209
 
 
210
// monochrome X resources.
 
211
const char *XResources::monoResources[] = {
 
212
"*XmText.translations: #override \
 
213
        <Key>osfDelete: delete-next-character()\n\
 
214
        <Key>osfBackSpace: delete-previous-character()",
 
215
"*XmTextField.translations: #override \
 
216
        <Key>osfDelete: delete-next-character()\n\
 
217
        <Key>osfBackSpace: delete-previous-character()",
 
218
"*Background:white",
 
219
"*fontList:-*-helvetica-bold-r-*--12-*",
 
220
"*LiteClueShell*FontSet: -*-helvetica-medium-r-*--10-*",
 
221
"*XmList.fontList: -*-courier-medium-r-*--12-*",
 
222
"*XmText.fontList: -*-courier-medium-r-*--12-*",
 
223
"*XmTextField.fontList: -*-courier-medium-r-*--12-*",
 
224
"*DocumentName.fontList: -*-helvetica-bold-r-*--12-*",
 
225
"*DocumentType.fontList: -*-helvetica-bold-r-*--12-*",
 
226
"*StatusText.fontList: -*-helvetica-medium-r-*--11-*",
 
227
"*StartupWindow*fontList: -*-helvetica-bold-r-*--12-*",
 
228
0 };
 
229
 
 
230
 
 
231