author | Claus Gittinger <cg@exept.de> |
Sun, 02 Nov 1997 20:49:19 +0100 | |
changeset 1948 | 6a9b754ca6d3 |
parent 1924 | 5d09bd2ff0c7 |
child 1951 | 5290a36652db |
permissions | -rw-r--r-- |
199 | 1 |
; |
309 | 2 |
; common motif stuff (not a style, but included by all motif style variations) |
199 | 3 |
; |
4 |
; |
|
1948 | 5 |
; $Header: /cvs/stx/stx/libview/styles/motif.common,v 1.17 1997-11-02 19:48:57 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 |
||
1924 | 32 |
scrollBar.position #right |
33 |
scrollBar.buttonPositions #around |
|
34 |
scrollBar.level -2 |
|
35 |
scrollBar.elementSpacing 0 |
|
36 |
scrollBar.disableButtons true |
|
37 |
; scrollBar.hiding true |
|
199 | 38 |
|
39 |
#if Display hasGreyscales |
|
1924 | 40 |
scroller.thumbColor =viewGrey |
41 |
scroller.viewBackground =mediumColor |
|
199 | 42 |
#else |
43 |
; grey 50 is too heavy - isn't it ? |
|
1924 | 44 |
; scroller.viewBackground Color grey:50 |
45 |
scroller.viewBackground Color white |
|
46 |
scroller.thumbColor Color white |
|
199 | 47 |
#endif |
1924 | 48 |
scroller.thumbLevel 2 |
49 |
scroller.thumbInset 0 |
|
50 |
scrolled.viewLevel -2 |
|
199 | 51 |
|
1924 | 52 |
scroller.ghostFrameColor Color black |
53 |
scroller.middleButtonJump true |
|
451 | 54 |
|
1924 | 55 |
slider.level -1 |
199 | 56 |
|
1924 | 57 |
variablePanel.trackingStyle #solidLine |
199 | 58 |
|
1924 | 59 |
framedBox.labelPosition #topLeft |
199 | 60 |
|
1948 | 61 |
label.foregroundColor Color black |
199 | 62 |
|
1948 | 63 |
button.activeLevel -2 |
64 |
button.passiveLevel 2 |
|
65 |
button.returnButtonHasBorder true |
|
199 | 66 |
|
1948 | 67 |
button.activeBackgroundColor =mediumColor |
68 |
button.activeForegroundColor Color black |
|
69 |
button.disabledForegroundColor =shadowColor |
|
199 | 70 |
|
71 |
#if Display hasGreyscales not |
|
1948 | 72 |
button.activeBackgroundColor Color grey:80 |
199 | 73 |
#endif |
74 |
||
1948 | 75 |
arrowButton.style #motif |
76 |
arrowButton.activeLevel 0 |
|
77 |
arrowButton.passiveLevel 0 |
|
199 | 78 |
|
1948 | 79 |
arrowButton.foregroundColor =viewGrey |
80 |
arrowButton.backgroundColor =mediumColor |
|
81 |
arrowButton.activeForegroundColor =viewGrey |
|
82 |
arrowButton.activeBackgroundColor =viewGrey |
|
83 |
arrowButton.disabledForegroundColor =viewGrey |
|
199 | 84 |
|
1948 | 85 |
editField.backgroundColor =mediumColor |
199 | 86 |
|
1948 | 87 |
menu.hilightLevel 2 |
88 |
menu.separatingLineInset 0 |
|
89 |
menu.viewBackgroundColor =viewGrey |
|
90 |
menu.disabledForegroundColor =shadowColor |
|
199 | 91 |
|
1948 | 92 |
pullDownMenu.keepMenu true |
93 |
pullDownMenu.level 1 |
|
94 |
pullDownMenu.hilightLevel 2 |
|
199 | 95 |
#if Display hasGreyscales not |
1948 | 96 |
pullDownMenu.hilightForegroundColor Color white |
97 |
pullDownMenu.hilightBackgroundColor Color black |
|
199 | 98 |
#endif |
1948 | 99 |
pullDownMenu.autoselectFirst true |
199 | 100 |
|
1948 | 101 |
#selection.multiSelectionModifier #Control |
102 |
#selection.rightArrowLevel -1 |
|
103 |
selection.rightArrowLevel 2 |
|
104 |
selection.lineSpacing 4 |
|
105 |
selection.foregroundColor Color black |
|
106 |
selection.hilightBackgroundColor Color black |
|
107 |
selection.hilightStyle #motif |
|
108 |
selection.disabledForegroundColor =shadowColor |
|
199 | 109 |
|
1360 | 110 |
#textCursorType #caret |
1948 | 111 |
textCursor.type #ibeam |
112 |
textCursor.noFocusForegroundColor Color grey |
|
199 | 113 |
|
1948 | 114 |
activeHelp.backgroundColor Color yellow lightened |
115 |
activeHelp.borderWidth 2 |
|
199 | 116 |
|
1948 | 117 |
ruler.foregroundColor Color black |
118 |
ruler.backgroundColor =viewGrey |
|
199 | 119 |
|
1620
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1504
diff
changeset
|
120 |
#if Display hasGrayscales not |
1948 | 121 |
html.anchorUnderline true |
122 |
html.anchorForegroundColor Color black |
|
123 |
html.backgroundColor Color white |
|
124 |
html.activeAnchorForegroundColor Color black |
|
125 |
html.activeAnchorBackgroundColor =htmlBackgroundColor |
|
126 |
html.visitedAnchorForegroundColor Color black |
|
127 |
html.exampleAnchorForegroundColor Color black |
|
1620
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1504
diff
changeset
|
128 |
#endif |
199 | 129 |
|
1948 | 130 |
infoBox.separator true |
131 |
infoBox.iconFile 'bitmaps/Information_motif.xbm' |
|
132 |
warningBox.iconFile 'bitmaps/Warning_motif.xbm' |
|
133 |
requestBox.iconFile 'bitmaps/Request_motif.xbm' |
|
199 | 134 |
|
135 |
||
1624 | 136 |
#if Display hasGrayscales |
1948 | 137 |
arrowButton.upForm Image extent:11@12 \ |
199 | 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 |
||
1948 | 153 |
arrowButton.downForm Image extent:11@12 \ |
199 | 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 |
||
1948 | 171 |
arrowButton.leftForm Image extent:12@11 \ |
199 | 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 |
||
1948 | 188 |
arrowButton.rightForm Image extent:12@11 \ |
199 | 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 |
1948 | 205 |
arrowButton.upForm Image extent:11@12 \ |
1624 | 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 |
||
1948 | 221 |
arrowButton.downForm Image extent:11@12 \ |
1624 | 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 |
||
1948 | 237 |
arrowButton.leftForm Image extent:12@11 \ |
1624 | 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 |
||
1948 | 254 |
arrowButton.rightForm Image extent:12@11 \ |
1624 | 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 |