4227
|
1 |
; View defaultStyle:#sgmotif
|
|
2 |
;
|
|
3 |
; silicon graphics motif style
|
|
4 |
; (somwehat like motif, but with smooth edges and bells&whistles)
|
|
5 |
;
|
|
6 |
; $Header: /cvs/stx/stx/libview/styles/iris.style,v 1.30 1999/10/27 13:28:02 stefan Exp $
|
|
7 |
|
|
8 |
name #sgmotif
|
|
9 |
|
6812
|
10 |
comment 'Silicon Craphics'' enhanced Motif style by Jan Vrany'
|
5447
|
11 |
previewFileName 'viewStyleSample_sgmotif.png'
|
4227
|
12 |
|
|
13 |
|
|
14 |
editorBG Color r:0.82 g:0.71 b:0.71
|
|
15 |
listBG Color r:0.56 g:0.67 b:0.69
|
|
16 |
|
|
17 |
#if Screen current hasGreyscales
|
|
18 |
viewGrey Color gray:85
|
|
19 |
veryLightGray (Color veryLightGray) exactOrNearestOn:(Screen current)
|
|
20 |
darkGray Color gray:74
|
|
21 |
mediumGray (Color gray:50) exactOrNearestOn:(Screen current)
|
|
22 |
#else
|
|
23 |
viewGrey Color white
|
|
24 |
lightColor Color grey:50
|
|
25 |
veryLightGray Color veryLightGray
|
|
26 |
darkGray Color darkGray
|
|
27 |
mediumGray Color gray:50
|
|
28 |
#endif
|
|
29 |
|
|
30 |
miniScroller.size 2.5 "/ in millimeters
|
|
31 |
|
|
32 |
|
|
33 |
is3D true
|
|
34 |
|
|
35 |
borderWidth 0
|
|
36 |
viewBackground =viewGrey
|
|
37 |
|
4231
|
38 |
#if (Screen current platformName = 'WIN32')
|
|
39 |
popup.shadow false
|
|
40 |
#else
|
6242
|
41 |
; popup.shadow true
|
|
42 |
popup.shadow false
|
4231
|
43 |
#endif
|
4227
|
44 |
popup.level 1
|
|
45 |
popup.borderWidth 1
|
|
46 |
|
|
47 |
font Font family:'courier' size:10
|
|
48 |
|
|
49 |
text.font Font family:'courier' size:12
|
|
50 |
text.lightColor =viewGrey
|
|
51 |
|
|
52 |
text.alternativeSelectionForegroundColor Color black
|
|
53 |
text.alternativeSelectionBackgroundColor (Color redByte:150 "255" greenByte:255 blueByte:100 "204")
|
|
54 |
|
|
55 |
#if Screen current hasColors
|
|
56 |
textSelection.foregroundColor Color black
|
|
57 |
textSelection.backgroundColor Color green
|
|
58 |
#endif
|
|
59 |
|
|
60 |
textCursor.foregroundColor Color white
|
|
61 |
#if Screen current hasColors
|
|
62 |
textCursor.backgroundColor Color red
|
|
63 |
#else
|
|
64 |
textCursor.backgroundColor Color black
|
|
65 |
#endif
|
|
66 |
|
|
67 |
#if (Screen current hasColors and:[Screen current depth > 4])
|
|
68 |
transcript.foregroundColor Color black
|
|
69 |
transcript.backgroundColor =listBG
|
|
70 |
transcript.cursorForegroundColor =transcript.backgroundColor
|
|
71 |
transcript.cursorBackgroundColor Color green
|
|
72 |
#else
|
|
73 |
transcript.foregroundColor Color white
|
|
74 |
transcript.backgroundColor Color black
|
|
75 |
transcript.cursorForegroundColor =transcript.backgroundColor
|
|
76 |
transcript.cursorBackgroundColor =transcript.foregroundColor
|
|
77 |
#endif
|
|
78 |
|
|
79 |
#if Screen current hasColors
|
|
80 |
; editField.backgroundColor Color red:100 green:75 blue:75
|
|
81 |
; editField.backgroundColor (Color scaledRed:16rB9B9 scaledGreen:16r8E8E scaledBlue:16r8E8E) exactOrNearestOn:(Screen current)
|
|
82 |
editField.backgroundColor =editorBG
|
|
83 |
editField.selectionBackgroundColor =viewGrey
|
|
84 |
editField.selectionForegroundColor Color black
|
|
85 |
#endif
|
|
86 |
|
|
87 |
#if (Screen current serverVendor = 'Silicon Graphics' and:[(Font family:'screen' face:'bold' style:'roman' size:16) existsOn:Screen current])
|
|
88 |
editField.font Font family:'screen' face:'bold' style:'roman' size:16
|
|
89 |
#else
|
|
90 |
editField.font Font family:'courier' face:'medium' style:'roman' size:12
|
|
91 |
#endif
|
|
92 |
|
|
93 |
#if (Screen current serverVendor = 'microsoft')
|
|
94 |
variableFont Font family:'helvetica' face:'medium' style:'roman' size:10
|
|
95 |
#else
|
|
96 |
variableFont Font family:'helvetica' face:'medium' style:'roman' size:12
|
|
97 |
#endif
|
|
98 |
selection.font =variableFont
|
|
99 |
label.font =variableFont
|
|
100 |
|
|
101 |
#if Screen current hasColors
|
|
102 |
toggle.showLamp true
|
|
103 |
toggle.lampColor Color yellow
|
|
104 |
toggle.lampWidthMM 1.8 "mm"
|
|
105 |
toggle.lampHeightMM 3.5 "mm"
|
|
106 |
toggle.backgroundColor =darkGray
|
|
107 |
toggle.enteredBackgroundColor =viewGrey
|
|
108 |
toggle.actoveBackgroundColor =darkGray
|
|
109 |
|
|
110 |
checkToggle.checkColor Color red
|
|
111 |
checkToggle.bitmapFile 'CheckOnColor.xpm'
|
|
112 |
checkToggle.labelOverMargin true
|
|
113 |
checkToggle.activeBackgroundColor =viewGrey
|
|
114 |
radioButton.showLamp true
|
|
115 |
radioButton.backgroundColor =viewGrey
|
|
116 |
radioButton.lampWidthMM 1.8 "mm"
|
|
117 |
radioButton.lampHeightMM 3.5 "mm"
|
|
118 |
|
|
119 |
#endif
|
|
120 |
|
|
121 |
scroller.level -1
|
|
122 |
scroller.thumbLevel 3
|
|
123 |
scroller.thumbColor =darkGray
|
|
124 |
#if Screen current hasGreyscales
|
|
125 |
scroller.thumbEnteredColor =viewGrey
|
|
126 |
#endif
|
|
127 |
scroller.thumbEdgeStyle #soft
|
|
128 |
scroller.NTallyMarks 3
|
|
129 |
scroller.tallyLevel 1
|
|
130 |
scroller.ghostColor =mediumGray
|
|
131 |
scroller.ghostLevel -1
|
|
132 |
#if Screen current hasGreyscales not
|
|
133 |
scroller.viewBackground Color white
|
|
134 |
#endif
|
|
135 |
scroller.middleButtonJump true
|
|
136 |
|
|
137 |
slider.NTallyMarks 1
|
|
138 |
slider.tallyLevel 1
|
|
139 |
|
|
140 |
button.edgeStyle #soft
|
|
141 |
button.activeLevel -1
|
|
142 |
button.passiveLevel 3
|
|
143 |
button.backgroundColor =darkGray
|
|
144 |
button.disabledForegroundColor Color gray:25
|
|
145 |
#if Screen current hasGreyscales
|
|
146 |
button.enteredBackgroundColor =viewGrey
|
|
147 |
button.activeBackgroundColor nil
|
|
148 |
button.activeForegroundColor Color black
|
|
149 |
#else
|
|
150 |
button.enteredBackgroundColor Color white
|
|
151 |
button.activeForegroundColor Color white
|
|
152 |
button.activeBackgroundColor Color black
|
|
153 |
#endif
|
|
154 |
|
|
155 |
|
|
156 |
selection.backgroundColor =listBG
|
|
157 |
text.backgroundColor =editorBG
|
|
158 |
text.selectionBackgroundColor =viewGrey
|
|
159 |
text.selectionForegroundColor Color black
|
|
160 |
scrollBar.position #right
|
|
161 |
|
|
162 |
|
|
163 |
|
|
164 |
;#if (Screen current serverVendor = 'Silicon Graphics')
|
|
165 |
menu.font Font family:'helvetica' face:'bold' style:'oblique' size:10
|
|
166 |
;#else
|
|
167 |
;menu.font Font family:'helvetica' face:'bold' style:'roman' size:12
|
|
168 |
;#endif
|
|
169 |
|
|
170 |
noteBook.halfLightColor Color gray:87
|
|
171 |
noteBook.halfShadowColor Color gray:55
|
|
172 |
noteBook.shadowColor Color gray:37
|
|
173 |
noteBook.lightColor Color gray:92
|
|
174 |
|
|
175 |
;noteBook.foregroundColor Color red
|
|
176 |
noteBook.viewBackgroundColor Color black
|
|
177 |
noteBook.disabledForegroundColor Color gray:25
|
|
178 |
noteBook.canvasFrameLevel 2
|
|
179 |
noteBook.edgeStyle nil
|
|
180 |
noteBook.borderWidth 5
|
|
181 |
|
|
182 |
menu.hilightBackgroundColor Color white
|
|
183 |
menu.hilightForegroundColor Color black
|
|
184 |
menu.hilightLevel 1
|
|
185 |
; menuShowAccelerators false
|
|
186 |
menu.checkColor Color red
|
|
187 |
menu.mainMenu.tabable true
|
6994
|
188 |
menu.extraMargin 2
|
|
189 |
menu.suppressSeparatingLinesInToolbar true
|
4227
|
190 |
|
|
191 |
pullDownMenu.font =menu.font
|
|
192 |
pullDownMenu.menuLevel 2
|
|
193 |
pullDownMenu.level 1
|
|
194 |
;; pullDownMenu.level 0
|
|
195 |
pullDownMenu.hilightLevel 2
|
|
196 |
pullDownMenu.edgeStyle #soft
|
|
197 |
|
|
198 |
variablePanel.handleColor =darkGray
|
|
199 |
#if Screen current hasGreyscales
|
|
200 |
variablePanel.handleEnteredColor =veryLightGray
|
|
201 |
#endif
|
|
202 |
variablePanel.barHeight 10
|
|
203 |
|
|
204 |
activeHelp.backgroundColor Color yellow lightened
|
|
205 |
activeHelp.borderWidth 2
|
|
206 |
|
|
207 |
#if Screen current hasGrayscales not
|
|
208 |
html.anchorUnderline true
|
|
209 |
html.anchorForegroundColor Color black
|
|
210 |
html.backgroundColor Color white
|
|
211 |
html.activeAnchorForegroundColor Color black
|
|
212 |
html.activeAnchorBackgroundColor =html.backgroundColor
|
|
213 |
html.visitedAnchorForegroundColor Color black
|
|
214 |
html.exampleAnchorForegroundColor Color black
|
|
215 |
#endif
|
|
216 |
|
|
217 |
#if Screen current width > 800
|
|
218 |
|
|
219 |
viewSpacing 3 "/ pixels
|
|
220 |
arrowButton.downFormFile 'ScrollDn.14.xbm'
|
|
221 |
arrowButton.upFormFile 'ScrollUp.14.xbm'
|
|
222 |
arrowButton.leftFormFile 'ScrollLt.14.xbm'
|
|
223 |
arrowButton.rightFormFile 'ScrollRt.14.xbm'
|
|
224 |
comboView.downFormFile 'ComboDn.14.xbm'
|
|
225 |
|
|
226 |
#endif
|
|
227 |
|
|
228 |
|
|
229 |
|
|
230 |
#if Screen current width <= 800
|
|
231 |
|
|
232 |
viewSpacing 2 "/ pixels
|
|
233 |
arrowButton.downFormFile 'ScrollDn.12.xbm'
|
|
234 |
arrowButton.upFormFile 'ScrollUp.12.xbm'
|
|
235 |
arrowButton.leftFormFile 'ScrollLt.12.xbm'
|
|
236 |
arrowButton.rightFormFile 'ScrollRt.12.xbm'
|
|
237 |
comboView.downFormFile 'ComboDn.12.xbm'
|
|
238 |
|
|
239 |
#endif
|
|
240 |
|
|
241 |
|
|
242 |
|
|
243 |
#if Screen current width <= 640
|
|
244 |
|
|
245 |
arrowButton.downFormFile 'ScrollDn.8.xbm'
|
|
246 |
arrowButton.upFormFile 'ScrollUp.8.xbm'
|
|
247 |
arrowButton.leftFormFile 'ScrollLt.8.xbm'
|
|
248 |
arrowButton.rightFormFile 'ScrollRt.8.xbm'
|
|
249 |
comboView.downFormFile 'ComboDn.8.xbm'
|
|
250 |
|
|
251 |
#endif
|
|
252 |
|
|
253 |
comboView.button.activeLevel -1
|