author | Claus Gittinger <cg@exept.de> |
Wed, 20 Aug 1997 19:26:30 +0200 | |
changeset 1879 | b8e2fd41d466 |
parent 1624 | 46064adf74a0 |
child 1924 | 5d09bd2ff0c7 |
permissions | -rw-r--r-- |
199 | 1 |
; |
309 | 2 |
; common motif stuff (not a style, but included by all motif style variations) |
199 | 3 |
; |
4 |
; |
|
1879 | 5 |
; $Header: /cvs/stx/stx/libview/styles/motif.common,v 1.15 1997-08-20 17:26:30 cg Exp $ |
199 | 6 |
|
7 |
; |
|
8 |
; this is to be included from the real style, |
|
9 |
; with (at least) viewGrey, shadowColor, lightColor and mediumColor |
|
10 |
; being predefined |
|
11 |
; |
|
12 |
||
13 |
is3D true |
|
14 |
name #motif |
|
15 |
||
16 |
fatFont Font family:'helvetica' face:'bold' style:'roman' size:12 |
|
17 |
||
18 |
selectionFont =fatFont |
|
19 |
labelFont =fatFont |
|
20 |
menuFont =fatFont |
|
468 | 21 |
textFont Font family:'courier' size:12 |
199 | 22 |
|
23 |
viewBackground =viewGrey |
|
24 |
borderWidth 0 |
|
25 |
||
26 |
popupBorderWidth 1 |
|
27 |
popupHideOnRelease false |
|
28 |
||
29 |
focusColor Color black |
|
30 |
; focusColor Color yellow |
|
31 |
||
32 |
scrollBarPosition #right |
|
33 |
scrollBarButtonPositions #around |
|
34 |
scrollBarLevel -2 |
|
35 |
scrollBarElementSpacing 0 |
|
36 |
scrollBarDisableButtons true |
|
1447 | 37 |
; scrollBarHiding true |
199 | 38 |
|
39 |
#if Display hasGreyscales |
|
40 |
scrollerThumbColor =viewGrey |
|
41 |
scrollerViewBackground =mediumColor |
|
42 |
#else |
|
43 |
; grey 50 is too heavy - isn't it ? |
|
44 |
; scrollerViewBackground Color grey:50 |
|
45 |
scrollerViewBackground Color white |
|
46 |
scrollerThumbColor Color white |
|
47 |
#endif |
|
48 |
scrollerThumbLevel 2 |
|
49 |
scrollerThumbInset 0 |
|
50 |
scrolledViewLevel -2 |
|
51 |
||
451 | 52 |
scrollerGhostFrameColor Color black |
1879 | 53 |
scrollerMiddleButtonJump true |
451 | 54 |
|
199 | 55 |
sliderLevel -1 |
56 |
||
1450 | 57 |
variablePanelTrackingStyle #solidLine |
199 | 58 |
|
59 |
framedBoxLabelPosition #topLeft |
|
60 |
||
61 |
labelForegroundColor Color black |
|
62 |
||
63 |
buttonActiveLevel -2 |
|
64 |
buttonPassiveLevel 2 |
|
65 |
buttonReturnButtonHasBorder true |
|
66 |
||
67 |
buttonActiveBackgroundColor =mediumColor |
|
68 |
buttonActiveForegroundColor Color black |
|
69 |
buttonDisabledForegroundColor =shadowColor |
|
70 |
||
71 |
#if Display hasGreyscales not |
|
72 |
buttonActiveBackgroundColor Color grey:80 |
|
73 |
#endif |
|
74 |
||
75 |
arrowButtonStyle #motif |
|
76 |
arrowButtonActiveLevel 0 |
|
77 |
arrowButtonPassiveLevel 0 |
|
78 |
||
79 |
arrowButtonForegroundColor =viewGrey |
|
80 |
arrowButtonBackgroundColor =mediumColor |
|
81 |
arrowButtonActiveForegroundColor =viewGrey |
|
82 |
arrowButtonActiveBackgroundColor =viewGrey |
|
83 |
arrowButtonDisabledForegroundColor =viewGrey |
|
84 |
||
85 |
editFieldBackgroundColor =mediumColor |
|
86 |
||
87 |
menuHilightLevel 2 |
|
88 |
menuSeparatingLineInset 0 |
|
89 |
menuViewBackgroundColor =viewGrey |
|
90 |
menuDisabledForegroundColor =shadowColor |
|
91 |
||
534
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
92 |
pullDownMenuKeepMenu true |
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
93 |
pullDownMenuLevel 1 |
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
94 |
pullDownMenuHilightLevel 2 |
199 | 95 |
#if Display hasGreyscales not |
534
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
96 |
pullDownMenuHilightForegroundColor Color white |
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
97 |
pullDownMenuHilightBackgroundColor Color black |
199 | 98 |
#endif |
669 | 99 |
pullDownMenuAutoselectFirst true |
199 | 100 |
|
1107 | 101 |
#selectionMultiSelectionModifier #Control |
534
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
102 |
selectionRightArrowLevel -1 |
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
103 |
selectionRightArrowLevel 2 |
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
104 |
selectionLineSpacing 4 |
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
105 |
selectionForegroundColor Color black |
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
106 |
selectionHilightBackgroundColor Color black |
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
107 |
selectionHilightStyle #motif |
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
108 |
selectionDisabledForegroundColor =shadowColor |
199 | 109 |
|
1360 | 110 |
#textCursorType #caret |
111 |
textCursorType #ibeam |
|
112 |
textCursorNoFocusForegroundColor Color grey |
|
199 | 113 |
|
534
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
114 |
activeHelpBackgroundColor Color yellow lightened |
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
115 |
activeHelpBorderWidth 2 |
199 | 116 |
|
117 |
rulerForegroundColor Color black |
|
118 |
rulerBackgroundColor =viewGrey |
|
119 |
||
1620
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1504
diff
changeset
|
120 |
#if Display hasGrayscales not |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1504
diff
changeset
|
121 |
htmlAnchorUnderline true |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1504
diff
changeset
|
122 |
htmlAnchorForegroundColor Color black |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1504
diff
changeset
|
123 |
htmlBackgroundColor Color white |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1504
diff
changeset
|
124 |
htmlActiveAnchorForegroundColor Color black |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1504
diff
changeset
|
125 |
htmlActiveAnchorBackgroundColor =htmlBackgroundColor |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1504
diff
changeset
|
126 |
htmlVisitedAnchorForegroundColor Color black |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1504
diff
changeset
|
127 |
htmlExampleAnchorForegroundColor Color black |
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1504
diff
changeset
|
128 |
#endif |
199 | 129 |
|
1504 | 130 |
infoBoxSeparator true |
131 |
infoBoxIconFile 'bitmaps/Information_motif.xbm' |
|
132 |
warningBoxIconFile 'bitmaps/Warning_motif.xbm' |
|
133 |
requestBoxIconFile 'bitmaps/Request_motif.xbm' |
|
199 | 134 |
|
135 |
||
1624 | 136 |
#if Display hasGrayscales |
199 | 137 |
arrowButtonUpForm Image extent:11@12 \ |
138 |
depth:2 \ |
|
139 |
bits:#[4r0000 4r0100 4r0000 \ |
|
140 |
4r0000 4r1120 4r0000 \ |
|
141 |
4r0000 4r1120 4r0000 \ |
|
142 |
4r0001 4r1322 4r0000 \ |
|
143 |
4r0001 4r1322 4r0000 \ |
|
144 |
4r0011 4r3332 4r2000 \ |
|
145 |
4r0011 4r3332 4r2000 \ |
|
146 |
4r0113 4r3333 4r2200 \ |
|
147 |
4r0113 4r3333 4r2200 \ |
|
148 |
4r1122 4r2222 4r2220 \ |
|
149 |
4r1222 4r2222 4r2220 \ |
|
150 |
4r0000 4r0000 4r0000] \ |
|
151 |
pad:8 |
|
152 |
||
153 |
arrowButtonDownForm Image extent:11@12 \ |
|
154 |
depth:2 \ |
|
155 |
bits:#[ \ |
|
156 |
4r0000 4r0000 4r0000 \ |
|
157 |
4r1111 4r1111 4r1110 \ |
|
158 |
4r1111 4r1111 4r1220 \ |
|
159 |
4r0113 4r3333 4r2200 \ |
|
160 |
4r0113 4r3333 4r2200 \ |
|
161 |
4r0011 4r3332 4r2000 \ |
|
162 |
4r0011 4r3332 4r2000 \ |
|
163 |
4r0001 4r1322 4r0000 \ |
|
164 |
4r0001 4r1322 4r0000 \ |
|
165 |
4r0000 4r1220 4r0000 \ |
|
166 |
4r0000 4r1220 4r0000 \ |
|
167 |
4r0000 4r0200 4r0000 \ |
|
168 |
] \ |
|
169 |
pad:8 |
|
170 |
||
171 |
arrowButtonLeftForm Image extent:12@11 \ |
|
172 |
depth:2 \ |
|
173 |
bits:#[ \ |
|
174 |
4r0000 4r0000 4r0110 \ |
|
175 |
4r0000 4r0001 4r1120 \ |
|
176 |
4r0000 4r0111 4r1220 \ |
|
177 |
4r0001 4r1113 4r3220 \ |
|
178 |
4r0111 4r1333 4r3220 \ |
|
179 |
4r1113 4r3333 4r3220 \ |
|
180 |
4r0222 4r2333 4r3220 \ |
|
181 |
4r0002 4r2223 4r3220 \ |
|
182 |
4r0000 4r0222 4r2220 \ |
|
183 |
4r0000 4r0002 4r2220 \ |
|
184 |
4r0000 4r0000 4r0220 \ |
|
185 |
] \ |
|
186 |
pad:8 |
|
187 |
||
188 |
arrowButtonRightForm Image extent:12@11 \ |
|
189 |
depth:2 \ |
|
190 |
bits:#[ \ |
|
191 |
4r0110 4r0000 4r0000 \ |
|
192 |
4r0111 4r1000 4r0000 \ |
|
193 |
4r0111 4r1110 4r0000 \ |
|
194 |
4r0113 4r3111 4r1000 \ |
|
195 |
4r0113 4r3331 4r1110 \ |
|
196 |
4r0113 4r3333 4r3222 \ |
|
197 |
4r0113 4r3332 4r2220 \ |
|
198 |
4r0113 4r3222 4r2000 \ |
|
199 |
4r0112 4r2220 4r0000 \ |
|
200 |
4r0122 4r2000 4r0000 \ |
|
201 |
4r0120 4r0000 4r0000 \ |
|
202 |
] \ |
|
203 |
pad:8 |
|
1624 | 204 |
#else |
205 |
arrowButtonUpForm Image extent:11@12 \ |
|
206 |
depth:1 \ |
|
207 |
bits:#[2r00000000 2r00000000 \ |
|
208 |
2r00000100 2r00000000 \ |
|
209 |
2r00000100 2r00000000 \ |
|
210 |
2r00001110 2r00000000 \ |
|
211 |
2r00001110 2r00000000 \ |
|
212 |
2r00011111 2r00000000 \ |
|
213 |
2r00011111 2r00000000 \ |
|
214 |
2r00111111 2r10000000 \ |
|
215 |
2r00111111 2r10000000 \ |
|
216 |
2r01111111 2r11000000 \ |
|
217 |
2r00000000 2r00000000 \ |
|
218 |
2r00000000 2r00000000] \ |
|
219 |
pad:8 |
|
220 |
||
221 |
arrowButtonDownForm Image extent:11@12 \ |
|
222 |
depth:1 \ |
|
223 |
bits:#[2r00000000 2r00000000 \ |
|
224 |
2r00000000 2r00000000 \ |
|
225 |
2r01111111 2r11000000 \ |
|
226 |
2r00111111 2r10000000 \ |
|
227 |
2r00111111 2r10000000 \ |
|
228 |
2r00011111 2r00000000 \ |
|
229 |
2r00011111 2r00000000 \ |
|
230 |
2r00001110 2r00000000 \ |
|
231 |
2r00001110 2r00000000 \ |
|
232 |
2r00000100 2r00000000 \ |
|
233 |
2r00000100 2r00000000 \ |
|
234 |
2r00000000 2r00000000] \ |
|
235 |
pad:8 |
|
236 |
||
237 |
arrowButtonLeftForm Image extent:12@11 \ |
|
238 |
depth:1 \ |
|
239 |
bits:#[ \ |
|
240 |
2r00000000 2r00000000 \ |
|
241 |
2r00000000 2r01000000 \ |
|
242 |
2r00000001 2r11000000 \ |
|
243 |
2r00000111 2r11000000 \ |
|
244 |
2r00011111 2r11000000 \ |
|
245 |
2r01111111 2r11000000 \ |
|
246 |
2r00011111 2r11000000 \ |
|
247 |
2r00000111 2r11000000 \ |
|
248 |
2r00000001 2r11000000 \ |
|
249 |
2r00000000 2r11000000 \ |
|
250 |
2r00000000 2r00000000 \ |
|
251 |
] \ |
|
252 |
pad:8 |
|
253 |
||
254 |
arrowButtonRightForm Image extent:12@11 \ |
|
255 |
depth:1 \ |
|
256 |
bits:#[ \ |
|
257 |
2r00000000 2r00000000 \ |
|
258 |
2r00100000 2r00000000 \ |
|
259 |
2r00111000 2r00000000 \ |
|
260 |
2r00111110 2r00000000 \ |
|
261 |
2r00111111 2r10000000 \ |
|
262 |
2r00111111 2r11100000 \ |
|
263 |
2r00111111 2r10000000 \ |
|
264 |
2r00111110 2r00000000 \ |
|
265 |
2r00111000 2r00000000 \ |
|
266 |
2r00100000 2r00000000 \ |
|
267 |
2r00000000 2r00000000 \ |
|
268 |
] \ |
|
269 |
pad:8 |
|
270 |
#endif |