199
|
1 |
;
|
|
2 |
; common motif stuff
|
|
3 |
;
|
|
4 |
;
|
|
5 |
; $Header: /cvs/stx/stx/libview/styles/motif.common,v 1.1 1995-10-30 10:36:27 cg Exp $
|
|
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
|
|
21 |
|
|
22 |
viewBackground =viewGrey
|
|
23 |
borderWidth 0
|
|
24 |
|
|
25 |
popupBorderWidth 1
|
|
26 |
popupHideOnRelease false
|
|
27 |
|
|
28 |
focusColor Color black
|
|
29 |
; focusColor Color yellow
|
|
30 |
|
|
31 |
scrollBarPosition #right
|
|
32 |
scrollBarButtonPositions #around
|
|
33 |
scrollBarLevel -2
|
|
34 |
scrollBarElementSpacing 0
|
|
35 |
scrollBarDisableButtons true
|
|
36 |
|
|
37 |
#if Display hasGreyscales
|
|
38 |
scrollerThumbColor =viewGrey
|
|
39 |
scrollerViewBackground =mediumColor
|
|
40 |
#else
|
|
41 |
; grey 50 is too heavy - isn't it ?
|
|
42 |
; scrollerViewBackground Color grey:50
|
|
43 |
scrollerViewBackground Color white
|
|
44 |
scrollerThumbColor Color white
|
|
45 |
#endif
|
|
46 |
scrollerThumbLevel 2
|
|
47 |
scrollerThumbInset 0
|
|
48 |
scrolledViewLevel -2
|
|
49 |
|
|
50 |
sliderLevel -1
|
|
51 |
|
|
52 |
variablePanelTrackingLine true
|
|
53 |
|
|
54 |
framedBoxLabelPosition #topLeft
|
|
55 |
|
|
56 |
labelForegroundColor Color black
|
|
57 |
|
|
58 |
buttonActiveLevel -2
|
|
59 |
buttonPassiveLevel 2
|
|
60 |
buttonReturnButtonHasBorder true
|
|
61 |
|
|
62 |
buttonActiveBackgroundColor =mediumColor
|
|
63 |
buttonActiveForegroundColor Color black
|
|
64 |
buttonDisabledForegroundColor =shadowColor
|
|
65 |
|
|
66 |
#if Display hasGreyscales not
|
|
67 |
buttonActiveBackgroundColor Color grey:80
|
|
68 |
#endif
|
|
69 |
|
|
70 |
arrowButtonStyle #motif
|
|
71 |
arrowButtonActiveLevel 0
|
|
72 |
arrowButtonPassiveLevel 0
|
|
73 |
|
|
74 |
arrowButtonForegroundColor =viewGrey
|
|
75 |
arrowButtonBackgroundColor =mediumColor
|
|
76 |
arrowButtonActiveForegroundColor =viewGrey
|
|
77 |
arrowButtonActiveBackgroundColor =viewGrey
|
|
78 |
arrowButtonDisabledForegroundColor =viewGrey
|
|
79 |
|
|
80 |
editFieldBackgroundColor =mediumColor
|
|
81 |
|
|
82 |
menuHilightLevel 2
|
|
83 |
menuSeparatingLineInset 0
|
|
84 |
menuViewBackgroundColor =viewGrey
|
|
85 |
menuDisabledForegroundColor =shadowColor
|
|
86 |
|
|
87 |
pullDownMenuKeepMenu true
|
|
88 |
pullDownMenuLevel 1
|
|
89 |
pullDownMenuHilightLevel 2
|
|
90 |
#if Display hasGreyscales not
|
|
91 |
pullDownMenuHilightForegroundColor Color white
|
|
92 |
pullDownMenuHilightBackgroundColor Color black
|
|
93 |
#endif
|
|
94 |
|
|
95 |
selectionRightArrowLevel -1
|
|
96 |
selectionRightArrowLevel 2
|
|
97 |
selectionLineSpacing 4
|
|
98 |
selectionForegroundColor Color black
|
|
99 |
selectionHilightBackgroundColor Color black
|
|
100 |
selectionDisabledForegroundColor =shadowColor
|
|
101 |
|
|
102 |
textCursorType #caret
|
|
103 |
|
|
104 |
activeHelpBackgroundColor Color yellow lightened
|
|
105 |
activeHelpBorderWidth 2
|
|
106 |
|
|
107 |
rulerForegroundColor Color black
|
|
108 |
rulerBackgroundColor =viewGrey
|
|
109 |
|
|
110 |
|
|
111 |
|
|
112 |
|
|
113 |
|
|
114 |
|
|
115 |
|
|
116 |
arrowButtonUpForm Image extent:11@12 \
|
|
117 |
depth:2 \
|
|
118 |
bits:#[4r0000 4r0100 4r0000 \
|
|
119 |
4r0000 4r1120 4r0000 \
|
|
120 |
4r0000 4r1120 4r0000 \
|
|
121 |
4r0001 4r1322 4r0000 \
|
|
122 |
4r0001 4r1322 4r0000 \
|
|
123 |
4r0011 4r3332 4r2000 \
|
|
124 |
4r0011 4r3332 4r2000 \
|
|
125 |
4r0113 4r3333 4r2200 \
|
|
126 |
4r0113 4r3333 4r2200 \
|
|
127 |
4r1122 4r2222 4r2220 \
|
|
128 |
4r1222 4r2222 4r2220 \
|
|
129 |
4r0000 4r0000 4r0000] \
|
|
130 |
pad:8
|
|
131 |
|
|
132 |
arrowButtonDownForm Image extent:11@12 \
|
|
133 |
depth:2 \
|
|
134 |
bits:#[ \
|
|
135 |
4r0000 4r0000 4r0000 \
|
|
136 |
4r1111 4r1111 4r1110 \
|
|
137 |
4r1111 4r1111 4r1220 \
|
|
138 |
4r0113 4r3333 4r2200 \
|
|
139 |
4r0113 4r3333 4r2200 \
|
|
140 |
4r0011 4r3332 4r2000 \
|
|
141 |
4r0011 4r3332 4r2000 \
|
|
142 |
4r0001 4r1322 4r0000 \
|
|
143 |
4r0001 4r1322 4r0000 \
|
|
144 |
4r0000 4r1220 4r0000 \
|
|
145 |
4r0000 4r1220 4r0000 \
|
|
146 |
4r0000 4r0200 4r0000 \
|
|
147 |
] \
|
|
148 |
pad:8
|
|
149 |
|
|
150 |
arrowButtonLeftForm Image extent:12@11 \
|
|
151 |
depth:2 \
|
|
152 |
bits:#[ \
|
|
153 |
4r0000 4r0000 4r0110 \
|
|
154 |
4r0000 4r0001 4r1120 \
|
|
155 |
4r0000 4r0111 4r1220 \
|
|
156 |
4r0001 4r1113 4r3220 \
|
|
157 |
4r0111 4r1333 4r3220 \
|
|
158 |
4r1113 4r3333 4r3220 \
|
|
159 |
4r0222 4r2333 4r3220 \
|
|
160 |
4r0002 4r2223 4r3220 \
|
|
161 |
4r0000 4r0222 4r2220 \
|
|
162 |
4r0000 4r0002 4r2220 \
|
|
163 |
4r0000 4r0000 4r0220 \
|
|
164 |
] \
|
|
165 |
pad:8
|
|
166 |
|
|
167 |
arrowButtonRightForm Image extent:12@11 \
|
|
168 |
depth:2 \
|
|
169 |
bits:#[ \
|
|
170 |
4r0110 4r0000 4r0000 \
|
|
171 |
4r0111 4r1000 4r0000 \
|
|
172 |
4r0111 4r1110 4r0000 \
|
|
173 |
4r0113 4r3111 4r1000 \
|
|
174 |
4r0113 4r3331 4r1110 \
|
|
175 |
4r0113 4r3333 4r3222 \
|
|
176 |
4r0113 4r3332 4r2220 \
|
|
177 |
4r0113 4r3222 4r2000 \
|
|
178 |
4r0112 4r2220 4r0000 \
|
|
179 |
4r0122 4r2000 4r0000 \
|
|
180 |
4r0120 4r0000 4r0000 \
|
|
181 |
] \
|
|
182 |
pad:8
|
|
183 |
|
|
184 |
|