author | Claus Gittinger <cg@exept.de> |
Sat, 21 Jan 2017 04:04:02 +0100 | |
changeset 7779 | 5931d9c57148 |
parent 6996 | 14355fbc7b6e |
permissions | -rw-r--r-- |
6996 | 1 |
; View defaultStyle:#iris |
2115 | 2 |
; |
3 |
; silicon graphics style |
|
4 |
; (somwehat like motif, but with smooth edges and bells&whistles) |
|
5 |
; |
|
6996 | 6 |
; $Header$ |
2115 | 7 |
|
8 |
is3D true |
|
9 |
||
10 |
borderWidth 0 |
|
11 |
viewBackground =viewGrey |
|
12 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2578
diff
changeset
|
13 |
#if (Screen current serverVendor = 'microsoft') |
2315 | 14 |
popup.shadow false |
15 |
#else |
|
2115 | 16 |
popup.shadow true |
2315 | 17 |
#endif |
6996 | 18 |
popup.level 1 |
19 |
popup.borderWidth 1 |
|
2115 | 20 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2578
diff
changeset
|
21 |
#if (Screen current serverVendor = 'microsoft') |
2435 | 22 |
font Font family:'courier' size:10 |
2285 | 23 |
#endif |
24 |
||
6996 | 25 |
text.font Font family:'courier' size:12 |
2115 | 26 |
text.lightColor =viewGrey |
27 |
||
3716 | 28 |
text.alternativeSelectionForegroundColor Color black |
29 |
text.alternativeSelectionBackgroundColor (Color redByte:150 "255" greenByte:255 blueByte:100 "204") |
|
30 |
||
6996 | 31 |
#if Screen current hasColors |
2115 | 32 |
textSelection.foregroundColor Color black |
33 |
textSelection.backgroundColor Color green |
|
34 |
#endif |
|
35 |
||
36 |
textCursor.foregroundColor Color white |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2578
diff
changeset
|
37 |
#if Screen current hasColors |
2115 | 38 |
textCursor.backgroundColor Color red |
39 |
#else |
|
40 |
textCursor.backgroundColor Color black |
|
41 |
#endif |
|
42 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2578
diff
changeset
|
43 |
#if (Screen current hasColors and:[Screen current depth > 4]) |
2115 | 44 |
transcript.foregroundColor =veryLightGray |
45 |
transcript.backgroundColor Color red:0 green:0 blue:25 |
|
46 |
transcript.cursorForegroundColor =transcript.backgroundColor |
|
47 |
transcript.cursorBackgroundColor Color green |
|
48 |
#else |
|
49 |
transcript.foregroundColor Color white |
|
50 |
transcript.backgroundColor Color black |
|
6996 | 51 |
transcript.cursorForegroundColor =transcript.backgroundColor |
2115 | 52 |
transcript.cursorBackgroundColor =transcript.foregroundColor |
53 |
#endif |
|
54 |
||
6996 | 55 |
#if Screen current hasColors |
2115 | 56 |
; editField.backgroundColor Color red:100 green:75 blue:75 |
57 |
; editField.backgroundColor (Color scaledRed:16rB9B9 scaledGreen:16r8E8E scaledBlue:16r8E8E) exactOrNearestOn:(Screen current) |
|
58 |
editField.backgroundColor (Color scaledRed:16rB9B9 scaledGreen:16r8E8E scaledBlue:16r8E8E) exactOrNearestOn:(Screen current) |
|
59 |
editField.selectionBackgroundColor Color white |
|
60 |
editField.selectionForegroundColor Color black |
|
61 |
#endif |
|
62 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2578
diff
changeset
|
63 |
#if (Screen current serverVendor = 'Silicon Graphics' and:[(Font family:'screen' face:'bold' style:'roman' size:16) existsOn:Screen current]) |
2115 | 64 |
editField.font Font family:'screen' face:'bold' style:'roman' size:16 |
65 |
#else |
|
66 |
editField.font Font family:'courier' face:'medium' style:'roman' size:12 |
|
67 |
#endif |
|
68 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2578
diff
changeset
|
69 |
#if (Screen current serverVendor = 'microsoft') |
2285 | 70 |
variableFont Font family:'helvetica' face:'medium' style:'roman' size:10 |
71 |
#else |
|
72 |
variableFont Font family:'helvetica' face:'medium' style:'roman' size:12 |
|
73 |
#endif |
|
2115 | 74 |
selection.font =variableFont |
75 |
label.font =variableFont |
|
76 |
||
6996 | 77 |
#if Screen current hasColors |
2115 | 78 |
toggle.showLamp true |
79 |
toggle.lampColor Color yellow |
|
80 |
checkToggle.checkColor Color red |
|
81 |
checkToggle.bitmapFile 'CheckOnColor.xpm' |
|
82 |
checkToggle.labelOverMargin true |
|
2568 | 83 |
checkToggle.activeBackgroundColor =viewGrey |
2115 | 84 |
radioButton.showLamp false |
85 |
#endif |
|
86 |
||
87 |
scroller.level -1 |
|
88 |
scroller.thumbLevel 3 |
|
89 |
scroller.thumbColor =viewGrey |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2578
diff
changeset
|
90 |
#if Screen current hasGreyscales |
2115 | 91 |
scroller.thumbEnteredColor =veryLightGray |
92 |
#endif |
|
93 |
scroller.thumbEdgeStyle #soft |
|
94 |
scroller.NTallyMarks 3 |
|
95 |
scroller.tallyLevel 1 |
|
96 |
scroller.ghostColor =mediumGray |
|
97 |
scroller.ghostLevel -1 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2578
diff
changeset
|
98 |
#if Screen current hasGreyscales not |
2115 | 99 |
scroller.viewBackground Color white |
100 |
#endif |
|
101 |
scroller.middleButtonJump true |
|
102 |
||
103 |
slider.NTallyMarks 1 |
|
104 |
slider.tallyLevel 1 |
|
105 |
||
106 |
button.edgeStyle #soft |
|
107 |
button.activeLevel -1 |
|
108 |
button.passiveLevel 3 |
|
109 |
button.disabledForegroundColor =darkGray |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2578
diff
changeset
|
110 |
#if Screen current hasGreyscales |
2115 | 111 |
button.enteredBackgroundColor =veryLightGray |
112 |
button.activeBackgroundColor nil |
|
113 |
button.activeForegroundColor Color black |
|
114 |
#else |
|
115 |
button.enteredBackgroundColor Color white |
|
116 |
button.activeForegroundColor Color white |
|
117 |
button.activeBackgroundColor Color black |
|
118 |
#endif |
|
119 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2578
diff
changeset
|
120 |
#if (Screen current serverVendor = 'Silicon Graphics') |
2115 | 121 |
menu.font Font family:'helvetica' face:'bold' style:'oblique' size:10 |
122 |
#else |
|
123 |
menu.font Font family:'helvetica' face:'bold' style:'roman' size:12 |
|
124 |
#endif |
|
125 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2578
diff
changeset
|
126 |
#if (Screen current serverVendor = 'microsoft') |
2285 | 127 |
menu.font Font family:'helvetica' face:'bold' style:'roman' size:10 |
6996 | 128 |
text.font Font family:'courier' size:10 |
2285 | 129 |
variableFont Font family:'helvetica' face:'medium' style:'roman' size:10 |
130 |
selection.font =variableFont |
|
131 |
label.font =variableFont |
|
132 |
#endif |
|
133 |
||
3166 | 134 |
noteBook.halfLightColor Color red |
135 |
noteBook.halfShadowColor Color green |
|
136 |
noteBook.shadowColor =darkGray |
|
137 |
noteBook.lightColor =veryLightGray |
|
138 |
"/ noteBook.foregroundColor Color red |
|
139 |
"/ noteBook.disabledForegroundColor Color red darkened |
|
140 |
noteBook.canvasFrameLevel 1 |
|
141 |
noteBook.edgeStyle #soft |
|
142 |
||
2115 | 143 |
menu.hilightBackgroundColor Color white |
144 |
menu.hilightForegroundColor Color black |
|
145 |
menu.hilightLevel 1 |
|
146 |
; menuShowAccelerators false |
|
6996 | 147 |
#if Screen current hasColors |
2115 | 148 |
menu.checkColor Color red |
149 |
#endif |
|
3257 | 150 |
menu.mainMenu.tabable true |
6996 | 151 |
menu.extraMargin 2 |
152 |
menu.suppressSeparatingLinesInToolbar true |
|
153 |
;menu.buttonPassiveLevel 1 |
|
154 |
;menu.buttonActiveLevel -1 |
|
155 |
;menu.buttonEnteredLevel 1 |
|
2115 | 156 |
|
157 |
pullDownMenu.font =menu.font |
|
3176 | 158 |
pullDownMenu.menuLevel 2 |
3702 | 159 |
pullDownMenu.level 1 |
160 |
;; pullDownMenu.level 0 |
|
2115 | 161 |
pullDownMenu.hilightLevel 2 |
162 |
pullDownMenu.edgeStyle #soft |
|
163 |
||
164 |
variablePanel.handleColor =darkGray |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2578
diff
changeset
|
165 |
#if Screen current hasGreyscales |
2115 | 166 |
variablePanel.handleEnteredColor =veryLightGray |
167 |
#endif |
|
2135 | 168 |
variablePanel.barHeight 10 |
2115 | 169 |
|
170 |
activeHelp.backgroundColor Color yellow lightened |
|
171 |
activeHelp.borderWidth 2 |
|
172 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2578
diff
changeset
|
173 |
#if Screen current hasGrayscales not |
2115 | 174 |
html.anchorUnderline true |
175 |
html.anchorForegroundColor Color black |
|
176 |
html.backgroundColor Color white |
|
177 |
html.activeAnchorForegroundColor Color black |
|
178 |
html.activeAnchorBackgroundColor =html.backgroundColor |
|
179 |
html.visitedAnchorForegroundColor Color black |
|
180 |
html.exampleAnchorForegroundColor Color black |
|
181 |
#endif |
|
2359
fefa0776f9dd
use smaller bitmaps (arrow & combo-down) on small displays
Claus Gittinger <cg@exept.de>
parents:
2315
diff
changeset
|
182 |
|
3725 | 183 |
#if Screen current width > 800 |
184 |
||
185 |
viewSpacing 3 "/ pixels |
|
186 |
arrowButton.downFormFile 'ScrollDn.14.xbm' |
|
187 |
arrowButton.upFormFile 'ScrollUp.14.xbm' |
|
188 |
arrowButton.leftFormFile 'ScrollLt.14.xbm' |
|
189 |
arrowButton.rightFormFile 'ScrollRt.14.xbm' |
|
190 |
comboView.downFormFile 'ComboDn.14.xbm' |
|
191 |
||
192 |
#endif |
|
193 |
||
194 |
||
195 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2578
diff
changeset
|
196 |
#if Screen current width <= 800 |
2359
fefa0776f9dd
use smaller bitmaps (arrow & combo-down) on small displays
Claus Gittinger <cg@exept.de>
parents:
2315
diff
changeset
|
197 |
|
fefa0776f9dd
use smaller bitmaps (arrow & combo-down) on small displays
Claus Gittinger <cg@exept.de>
parents:
2315
diff
changeset
|
198 |
viewSpacing 2 "/ pixels |
fefa0776f9dd
use smaller bitmaps (arrow & combo-down) on small displays
Claus Gittinger <cg@exept.de>
parents:
2315
diff
changeset
|
199 |
arrowButton.downFormFile 'ScrollDn.12.xbm' |
fefa0776f9dd
use smaller bitmaps (arrow & combo-down) on small displays
Claus Gittinger <cg@exept.de>
parents:
2315
diff
changeset
|
200 |
arrowButton.upFormFile 'ScrollUp.12.xbm' |
fefa0776f9dd
use smaller bitmaps (arrow & combo-down) on small displays
Claus Gittinger <cg@exept.de>
parents:
2315
diff
changeset
|
201 |
arrowButton.leftFormFile 'ScrollLt.12.xbm' |
fefa0776f9dd
use smaller bitmaps (arrow & combo-down) on small displays
Claus Gittinger <cg@exept.de>
parents:
2315
diff
changeset
|
202 |
arrowButton.rightFormFile 'ScrollRt.12.xbm' |
fefa0776f9dd
use smaller bitmaps (arrow & combo-down) on small displays
Claus Gittinger <cg@exept.de>
parents:
2315
diff
changeset
|
203 |
comboView.downFormFile 'ComboDn.12.xbm' |
fefa0776f9dd
use smaller bitmaps (arrow & combo-down) on small displays
Claus Gittinger <cg@exept.de>
parents:
2315
diff
changeset
|
204 |
|
fefa0776f9dd
use smaller bitmaps (arrow & combo-down) on small displays
Claus Gittinger <cg@exept.de>
parents:
2315
diff
changeset
|
205 |
#endif |
fefa0776f9dd
use smaller bitmaps (arrow & combo-down) on small displays
Claus Gittinger <cg@exept.de>
parents:
2315
diff
changeset
|
206 |
|
3725 | 207 |
|
208 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2578
diff
changeset
|
209 |
#if Screen current width <= 640 |
2359
fefa0776f9dd
use smaller bitmaps (arrow & combo-down) on small displays
Claus Gittinger <cg@exept.de>
parents:
2315
diff
changeset
|
210 |
|
fefa0776f9dd
use smaller bitmaps (arrow & combo-down) on small displays
Claus Gittinger <cg@exept.de>
parents:
2315
diff
changeset
|
211 |
arrowButton.downFormFile 'ScrollDn.8.xbm' |
fefa0776f9dd
use smaller bitmaps (arrow & combo-down) on small displays
Claus Gittinger <cg@exept.de>
parents:
2315
diff
changeset
|
212 |
arrowButton.upFormFile 'ScrollUp.8.xbm' |
fefa0776f9dd
use smaller bitmaps (arrow & combo-down) on small displays
Claus Gittinger <cg@exept.de>
parents:
2315
diff
changeset
|
213 |
arrowButton.leftFormFile 'ScrollLt.8.xbm' |
fefa0776f9dd
use smaller bitmaps (arrow & combo-down) on small displays
Claus Gittinger <cg@exept.de>
parents:
2315
diff
changeset
|
214 |
arrowButton.rightFormFile 'ScrollRt.8.xbm' |
fefa0776f9dd
use smaller bitmaps (arrow & combo-down) on small displays
Claus Gittinger <cg@exept.de>
parents:
2315
diff
changeset
|
215 |
comboView.downFormFile 'ComboDn.8.xbm' |
fefa0776f9dd
use smaller bitmaps (arrow & combo-down) on small displays
Claus Gittinger <cg@exept.de>
parents:
2315
diff
changeset
|
216 |
|
fefa0776f9dd
use smaller bitmaps (arrow & combo-down) on small displays
Claus Gittinger <cg@exept.de>
parents:
2315
diff
changeset
|
217 |
#endif |
fefa0776f9dd
use smaller bitmaps (arrow & combo-down) on small displays
Claus Gittinger <cg@exept.de>
parents:
2315
diff
changeset
|
218 |
|
3723 | 219 |
comboView.button.activeLevel -1 |