author | Claus Gittinger <cg@exept.de> |
Wed, 06 Nov 1996 18:52:31 +0100 | |
changeset 1107 | 41d3f6dee022 |
parent 1106 | 03bbc02a9806 |
child 1360 | 574d47019176 |
permissions | -rw-r--r-- |
199 | 1 |
; |
309 | 2 |
; common motif stuff (not a style, but included by all motif style variations) |
199 | 3 |
; |
4 |
; |
|
1107 | 5 |
; $Header: /cvs/stx/stx/libview/styles/motif.common,v 1.8 1996-11-06 17:52:31 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 |
|
37 |
||
38 |
#if Display hasGreyscales |
|
39 |
scrollerThumbColor =viewGrey |
|
40 |
scrollerViewBackground =mediumColor |
|
41 |
#else |
|
42 |
; grey 50 is too heavy - isn't it ? |
|
43 |
; scrollerViewBackground Color grey:50 |
|
44 |
scrollerViewBackground Color white |
|
45 |
scrollerThumbColor Color white |
|
46 |
#endif |
|
47 |
scrollerThumbLevel 2 |
|
48 |
scrollerThumbInset 0 |
|
49 |
scrolledViewLevel -2 |
|
50 |
||
451 | 51 |
scrollerGhostFrameColor Color black |
52 |
||
199 | 53 |
sliderLevel -1 |
54 |
||
55 |
variablePanelTrackingLine true |
|
56 |
||
57 |
framedBoxLabelPosition #topLeft |
|
58 |
||
59 |
labelForegroundColor Color black |
|
60 |
||
61 |
buttonActiveLevel -2 |
|
62 |
buttonPassiveLevel 2 |
|
63 |
buttonReturnButtonHasBorder true |
|
64 |
||
65 |
buttonActiveBackgroundColor =mediumColor |
|
66 |
buttonActiveForegroundColor Color black |
|
67 |
buttonDisabledForegroundColor =shadowColor |
|
68 |
||
69 |
#if Display hasGreyscales not |
|
70 |
buttonActiveBackgroundColor Color grey:80 |
|
71 |
#endif |
|
72 |
||
73 |
arrowButtonStyle #motif |
|
74 |
arrowButtonActiveLevel 0 |
|
75 |
arrowButtonPassiveLevel 0 |
|
76 |
||
77 |
arrowButtonForegroundColor =viewGrey |
|
78 |
arrowButtonBackgroundColor =mediumColor |
|
79 |
arrowButtonActiveForegroundColor =viewGrey |
|
80 |
arrowButtonActiveBackgroundColor =viewGrey |
|
81 |
arrowButtonDisabledForegroundColor =viewGrey |
|
82 |
||
83 |
editFieldBackgroundColor =mediumColor |
|
84 |
||
85 |
menuHilightLevel 2 |
|
86 |
menuSeparatingLineInset 0 |
|
87 |
menuViewBackgroundColor =viewGrey |
|
88 |
menuDisabledForegroundColor =shadowColor |
|
89 |
||
534
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
90 |
pullDownMenuKeepMenu true |
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
91 |
pullDownMenuLevel 1 |
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
92 |
pullDownMenuHilightLevel 2 |
199 | 93 |
#if Display hasGreyscales not |
534
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
94 |
pullDownMenuHilightForegroundColor Color white |
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
95 |
pullDownMenuHilightBackgroundColor Color black |
199 | 96 |
#endif |
669 | 97 |
pullDownMenuAutoselectFirst true |
199 | 98 |
|
1107 | 99 |
#selectionMultiSelectionModifier #Control |
534
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
100 |
selectionRightArrowLevel -1 |
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
101 |
selectionRightArrowLevel 2 |
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
102 |
selectionLineSpacing 4 |
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
103 |
selectionForegroundColor Color black |
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
104 |
selectionHilightBackgroundColor Color black |
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
105 |
selectionHilightStyle #motif |
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
106 |
selectionDisabledForegroundColor =shadowColor |
199 | 107 |
|
534
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
108 |
textCursorType #caret |
199 | 109 |
|
534
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
110 |
activeHelpBackgroundColor Color yellow lightened |
ae5caa947d14
better motif-style selectionInListView highlighting
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
111 |
activeHelpBorderWidth 2 |
199 | 112 |
|
113 |
rulerForegroundColor Color black |
|
114 |
rulerBackgroundColor =viewGrey |
|
115 |
||
116 |
||
117 |
||
118 |
||
119 |
||
120 |
||
121 |
||
122 |
arrowButtonUpForm Image extent:11@12 \ |
|
123 |
depth:2 \ |
|
124 |
bits:#[4r0000 4r0100 4r0000 \ |
|
125 |
4r0000 4r1120 4r0000 \ |
|
126 |
4r0000 4r1120 4r0000 \ |
|
127 |
4r0001 4r1322 4r0000 \ |
|
128 |
4r0001 4r1322 4r0000 \ |
|
129 |
4r0011 4r3332 4r2000 \ |
|
130 |
4r0011 4r3332 4r2000 \ |
|
131 |
4r0113 4r3333 4r2200 \ |
|
132 |
4r0113 4r3333 4r2200 \ |
|
133 |
4r1122 4r2222 4r2220 \ |
|
134 |
4r1222 4r2222 4r2220 \ |
|
135 |
4r0000 4r0000 4r0000] \ |
|
136 |
pad:8 |
|
137 |
||
138 |
arrowButtonDownForm Image extent:11@12 \ |
|
139 |
depth:2 \ |
|
140 |
bits:#[ \ |
|
141 |
4r0000 4r0000 4r0000 \ |
|
142 |
4r1111 4r1111 4r1110 \ |
|
143 |
4r1111 4r1111 4r1220 \ |
|
144 |
4r0113 4r3333 4r2200 \ |
|
145 |
4r0113 4r3333 4r2200 \ |
|
146 |
4r0011 4r3332 4r2000 \ |
|
147 |
4r0011 4r3332 4r2000 \ |
|
148 |
4r0001 4r1322 4r0000 \ |
|
149 |
4r0001 4r1322 4r0000 \ |
|
150 |
4r0000 4r1220 4r0000 \ |
|
151 |
4r0000 4r1220 4r0000 \ |
|
152 |
4r0000 4r0200 4r0000 \ |
|
153 |
] \ |
|
154 |
pad:8 |
|
155 |
||
156 |
arrowButtonLeftForm Image extent:12@11 \ |
|
157 |
depth:2 \ |
|
158 |
bits:#[ \ |
|
159 |
4r0000 4r0000 4r0110 \ |
|
160 |
4r0000 4r0001 4r1120 \ |
|
161 |
4r0000 4r0111 4r1220 \ |
|
162 |
4r0001 4r1113 4r3220 \ |
|
163 |
4r0111 4r1333 4r3220 \ |
|
164 |
4r1113 4r3333 4r3220 \ |
|
165 |
4r0222 4r2333 4r3220 \ |
|
166 |
4r0002 4r2223 4r3220 \ |
|
167 |
4r0000 4r0222 4r2220 \ |
|
168 |
4r0000 4r0002 4r2220 \ |
|
169 |
4r0000 4r0000 4r0220 \ |
|
170 |
] \ |
|
171 |
pad:8 |
|
172 |
||
173 |
arrowButtonRightForm Image extent:12@11 \ |
|
174 |
depth:2 \ |
|
175 |
bits:#[ \ |
|
176 |
4r0110 4r0000 4r0000 \ |
|
177 |
4r0111 4r1000 4r0000 \ |
|
178 |
4r0111 4r1110 4r0000 \ |
|
179 |
4r0113 4r3111 4r1000 \ |
|
180 |
4r0113 4r3331 4r1110 \ |
|
181 |
4r0113 4r3333 4r3222 \ |
|
182 |
4r0113 4r3332 4r2220 \ |
|
183 |
4r0113 4r3222 4r2000 \ |
|
184 |
4r0112 4r2220 4r0000 \ |
|
185 |
4r0122 4r2000 4r0000 \ |
|
186 |
4r0120 4r0000 4r0000 \ |
|
187 |
] \ |
|
188 |
pad:8 |