author | Claus Gittinger <cg@exept.de> |
Wed, 24 Feb 1999 18:06:34 +0100 | |
changeset 2468 | 1a93026b436f |
parent 2155 | 27862eea4474 |
child 2486 | a310c1c75516 |
permissions | -rw-r--r-- |
199 | 1 |
; |
309 | 2 |
; common motif stuff (not a style, but included by all motif style variations) |
199 | 3 |
; |
4 |
; |
|
2468
1a93026b436f
slightly increased miniScroller sizes
Claus Gittinger <cg@exept.de>
parents:
2155
diff
changeset
|
5 |
; $Header: /cvs/stx/stx/libview/styles/motif.common,v 1.20 1999-02-24 17:06: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 |
||
2155 | 16 |
fatFont ? Font family:'helvetica' face:'bold' style:'roman' size:12 |
199 | 17 |
|
2155 | 18 |
selectionFont ? =fatFont |
19 |
labelFont ? =fatFont |
|
20 |
menuFont ? =fatFont |
|
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 |
|
2468
1a93026b436f
slightly increased miniScroller sizes
Claus Gittinger <cg@exept.de>
parents:
2155
diff
changeset
|
55 |
miniScroller.size 2.5 "/ millimeters |
1a93026b436f
slightly increased miniScroller sizes
Claus Gittinger <cg@exept.de>
parents:
2155
diff
changeset
|
56 |
|
1924 | 57 |
slider.level -1 |
199 | 58 |
|
1924 | 59 |
variablePanel.trackingStyle #solidLine |
199 | 60 |
|
1924 | 61 |
framedBox.labelPosition #topLeft |
199 | 62 |
|
1948 | 63 |
label.foregroundColor Color black |
199 | 64 |
|
1948 | 65 |
button.activeLevel -2 |
66 |
button.passiveLevel 2 |
|
67 |
button.returnButtonHasBorder true |
|
199 | 68 |
|
1948 | 69 |
button.activeBackgroundColor =mediumColor |
70 |
button.activeForegroundColor Color black |
|
71 |
button.disabledForegroundColor =shadowColor |
|
199 | 72 |
|
73 |
#if Display hasGreyscales not |
|
1948 | 74 |
button.activeBackgroundColor Color grey:80 |
199 | 75 |
#endif |
76 |
||
1948 | 77 |
arrowButton.style #motif |
78 |
arrowButton.activeLevel 0 |
|
79 |
arrowButton.passiveLevel 0 |
|
199 | 80 |
|
1948 | 81 |
arrowButton.foregroundColor =viewGrey |
82 |
arrowButton.backgroundColor =mediumColor |
|
83 |
arrowButton.activeForegroundColor =viewGrey |
|
84 |
arrowButton.activeBackgroundColor =viewGrey |
|
85 |
arrowButton.disabledForegroundColor =viewGrey |
|
199 | 86 |
|
1951 | 87 |
radioButton.style #motif |
88 |
||
1948 | 89 |
editField.backgroundColor =mediumColor |
199 | 90 |
|
1948 | 91 |
menu.hilightLevel 2 |
92 |
menu.separatingLineInset 0 |
|
93 |
menu.viewBackgroundColor =viewGrey |
|
94 |
menu.disabledForegroundColor =shadowColor |
|
199 | 95 |
|
1948 | 96 |
pullDownMenu.keepMenu true |
97 |
pullDownMenu.level 1 |
|
98 |
pullDownMenu.hilightLevel 2 |
|
199 | 99 |
#if Display hasGreyscales not |
1948 | 100 |
pullDownMenu.hilightForegroundColor Color white |
101 |
pullDownMenu.hilightBackgroundColor Color black |
|
199 | 102 |
#endif |
1948 | 103 |
pullDownMenu.autoselectFirst true |
199 | 104 |
|
1948 | 105 |
#selection.multiSelectionModifier #Control |
106 |
#selection.rightArrowLevel -1 |
|
107 |
selection.rightArrowLevel 2 |
|
108 |
selection.lineSpacing 4 |
|
109 |
selection.foregroundColor Color black |
|
110 |
selection.hilightBackgroundColor Color black |
|
111 |
selection.hilightStyle #motif |
|
112 |
selection.disabledForegroundColor =shadowColor |
|
199 | 113 |
|
1360 | 114 |
#textCursorType #caret |
1948 | 115 |
textCursor.type #ibeam |
116 |
textCursor.noFocusForegroundColor Color grey |
|
199 | 117 |
|
1948 | 118 |
activeHelp.backgroundColor Color yellow lightened |
119 |
activeHelp.borderWidth 2 |
|
199 | 120 |
|
1948 | 121 |
ruler.foregroundColor Color black |
122 |
ruler.backgroundColor =viewGrey |
|
199 | 123 |
|
1620
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1504
diff
changeset
|
124 |
#if Display hasGrayscales not |
1948 | 125 |
html.anchorUnderline true |
126 |
html.anchorForegroundColor Color black |
|
127 |
html.backgroundColor Color white |
|
128 |
html.activeAnchorForegroundColor Color black |
|
129 |
html.activeAnchorBackgroundColor =htmlBackgroundColor |
|
130 |
html.visitedAnchorForegroundColor Color black |
|
131 |
html.exampleAnchorForegroundColor Color black |
|
1620
49812898bfe2
html defs for monochrome displays
Claus Gittinger <cg@exept.de>
parents:
1504
diff
changeset
|
132 |
#endif |
199 | 133 |
|
1948 | 134 |
infoBox.separator true |
135 |
infoBox.iconFile 'bitmaps/Information_motif.xbm' |
|
136 |
warningBox.iconFile 'bitmaps/Warning_motif.xbm' |
|
137 |
requestBox.iconFile 'bitmaps/Request_motif.xbm' |
|
199 | 138 |
|
139 |
||
1624 | 140 |
#if Display hasGrayscales |
1948 | 141 |
arrowButton.upForm Image extent:11@12 \ |
199 | 142 |
depth:2 \ |
143 |
bits:#[4r0000 4r0100 4r0000 \ |
|
144 |
4r0000 4r1120 4r0000 \ |
|
145 |
4r0000 4r1120 4r0000 \ |
|
146 |
4r0001 4r1322 4r0000 \ |
|
147 |
4r0001 4r1322 4r0000 \ |
|
148 |
4r0011 4r3332 4r2000 \ |
|
149 |
4r0011 4r3332 4r2000 \ |
|
150 |
4r0113 4r3333 4r2200 \ |
|
151 |
4r0113 4r3333 4r2200 \ |
|
152 |
4r1122 4r2222 4r2220 \ |
|
153 |
4r1222 4r2222 4r2220 \ |
|
154 |
4r0000 4r0000 4r0000] \ |
|
155 |
pad:8 |
|
156 |
||
1948 | 157 |
arrowButton.downForm Image extent:11@12 \ |
199 | 158 |
depth:2 \ |
159 |
bits:#[ \ |
|
160 |
4r0000 4r0000 4r0000 \ |
|
161 |
4r1111 4r1111 4r1110 \ |
|
162 |
4r1111 4r1111 4r1220 \ |
|
163 |
4r0113 4r3333 4r2200 \ |
|
164 |
4r0113 4r3333 4r2200 \ |
|
165 |
4r0011 4r3332 4r2000 \ |
|
166 |
4r0011 4r3332 4r2000 \ |
|
167 |
4r0001 4r1322 4r0000 \ |
|
168 |
4r0001 4r1322 4r0000 \ |
|
169 |
4r0000 4r1220 4r0000 \ |
|
170 |
4r0000 4r1220 4r0000 \ |
|
171 |
4r0000 4r0200 4r0000 \ |
|
172 |
] \ |
|
173 |
pad:8 |
|
174 |
||
1948 | 175 |
arrowButton.leftForm Image extent:12@11 \ |
199 | 176 |
depth:2 \ |
177 |
bits:#[ \ |
|
178 |
4r0000 4r0000 4r0110 \ |
|
179 |
4r0000 4r0001 4r1120 \ |
|
180 |
4r0000 4r0111 4r1220 \ |
|
181 |
4r0001 4r1113 4r3220 \ |
|
182 |
4r0111 4r1333 4r3220 \ |
|
183 |
4r1113 4r3333 4r3220 \ |
|
184 |
4r0222 4r2333 4r3220 \ |
|
185 |
4r0002 4r2223 4r3220 \ |
|
186 |
4r0000 4r0222 4r2220 \ |
|
187 |
4r0000 4r0002 4r2220 \ |
|
188 |
4r0000 4r0000 4r0220 \ |
|
189 |
] \ |
|
190 |
pad:8 |
|
191 |
||
1948 | 192 |
arrowButton.rightForm Image extent:12@11 \ |
199 | 193 |
depth:2 \ |
194 |
bits:#[ \ |
|
195 |
4r0110 4r0000 4r0000 \ |
|
196 |
4r0111 4r1000 4r0000 \ |
|
197 |
4r0111 4r1110 4r0000 \ |
|
198 |
4r0113 4r3111 4r1000 \ |
|
199 |
4r0113 4r3331 4r1110 \ |
|
200 |
4r0113 4r3333 4r3222 \ |
|
201 |
4r0113 4r3332 4r2220 \ |
|
202 |
4r0113 4r3222 4r2000 \ |
|
203 |
4r0112 4r2220 4r0000 \ |
|
204 |
4r0122 4r2000 4r0000 \ |
|
205 |
4r0120 4r0000 4r0000 \ |
|
206 |
] \ |
|
207 |
pad:8 |
|
1624 | 208 |
#else |
1948 | 209 |
arrowButton.upForm Image extent:11@12 \ |
1624 | 210 |
depth:1 \ |
211 |
bits:#[2r00000000 2r00000000 \ |
|
212 |
2r00000100 2r00000000 \ |
|
213 |
2r00000100 2r00000000 \ |
|
214 |
2r00001110 2r00000000 \ |
|
215 |
2r00001110 2r00000000 \ |
|
216 |
2r00011111 2r00000000 \ |
|
217 |
2r00011111 2r00000000 \ |
|
218 |
2r00111111 2r10000000 \ |
|
219 |
2r00111111 2r10000000 \ |
|
220 |
2r01111111 2r11000000 \ |
|
221 |
2r00000000 2r00000000 \ |
|
222 |
2r00000000 2r00000000] \ |
|
223 |
pad:8 |
|
224 |
||
1948 | 225 |
arrowButton.downForm Image extent:11@12 \ |
1624 | 226 |
depth:1 \ |
227 |
bits:#[2r00000000 2r00000000 \ |
|
228 |
2r00000000 2r00000000 \ |
|
229 |
2r01111111 2r11000000 \ |
|
230 |
2r00111111 2r10000000 \ |
|
231 |
2r00111111 2r10000000 \ |
|
232 |
2r00011111 2r00000000 \ |
|
233 |
2r00011111 2r00000000 \ |
|
234 |
2r00001110 2r00000000 \ |
|
235 |
2r00001110 2r00000000 \ |
|
236 |
2r00000100 2r00000000 \ |
|
237 |
2r00000100 2r00000000 \ |
|
238 |
2r00000000 2r00000000] \ |
|
239 |
pad:8 |
|
240 |
||
1948 | 241 |
arrowButton.leftForm Image extent:12@11 \ |
1624 | 242 |
depth:1 \ |
243 |
bits:#[ \ |
|
244 |
2r00000000 2r00000000 \ |
|
245 |
2r00000000 2r01000000 \ |
|
246 |
2r00000001 2r11000000 \ |
|
247 |
2r00000111 2r11000000 \ |
|
248 |
2r00011111 2r11000000 \ |
|
249 |
2r01111111 2r11000000 \ |
|
250 |
2r00011111 2r11000000 \ |
|
251 |
2r00000111 2r11000000 \ |
|
252 |
2r00000001 2r11000000 \ |
|
253 |
2r00000000 2r11000000 \ |
|
254 |
2r00000000 2r00000000 \ |
|
255 |
] \ |
|
256 |
pad:8 |
|
257 |
||
1948 | 258 |
arrowButton.rightForm Image extent:12@11 \ |
1624 | 259 |
depth:1 \ |
260 |
bits:#[ \ |
|
261 |
2r00000000 2r00000000 \ |
|
262 |
2r00100000 2r00000000 \ |
|
263 |
2r00111000 2r00000000 \ |
|
264 |
2r00111110 2r00000000 \ |
|
265 |
2r00111111 2r10000000 \ |
|
266 |
2r00111111 2r11100000 \ |
|
267 |
2r00111111 2r10000000 \ |
|
268 |
2r00111110 2r00000000 \ |
|
269 |
2r00111000 2r00000000 \ |
|
270 |
2r00100000 2r00000000 \ |
|
271 |
2r00000000 2r00000000 \ |
|
272 |
] \ |
|
273 |
pad:8 |
|
274 |
#endif |