author | Claus Gittinger <cg@exept.de> |
Thu, 05 Sep 2002 18:16:34 +0200 | |
changeset 3720 | 746e0a7b1475 |
parent 3716 | d7739a80eac8 |
child 3725 | ecbc42849fea |
permissions | -rw-r--r-- |
2100 | 1 |
; View defaultStyle:#mswindows95 |
2 |
; |
|
3720 | 3 |
; $Header: /cvs/stx/stx/libview/styles/mswindows95.style,v 1.41 2002-09-05 16:16:34 cg Exp $ |
2100 | 4 |
|
3716 | 5 |
comment 'win95/nt/xp lookalike' |
2100 | 6 |
|
7 |
#if (Language == #german) or:[Language == #de] |
|
8 |
comment 'an MS Windows95 angelehnter Stil' |
|
9 |
#endif |
|
10 |
||
11 |
#if (Language == #french) or:[Language == #fr] |
|
12 |
comment 'Un style qui résemble MS Windows95' |
|
13 |
#endif |
|
14 |
||
15 |
is3D true |
|
16 |
name #win95 |
|
17 |
||
18 |
||
2542 | 19 |
; |
20 |
; notice: the values below |
|
21 |
; are not used when running under native Windows |
|
22 |
; (uses system-settings values then) |
|
23 |
; |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
24 |
#if Screen current hasGreyscales |
2307
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
25 |
|
2100 | 26 |
selectionBlue (Color red:0 green:0 blue:50) exactOrNearestOn:(Screen current) |
27 |
||
28 |
; viewGrey (Color grey:67) exactOrNearestOn:(Screen current) |
|
29 |
viewGrey (Color grey:77) exactOrNearestOn:(Screen current) |
|
30 |
; viewLightGrey (Color grey:80) exactOrNearestOn:(Screen current) |
|
31 |
viewLightGrey (Color grey:90) exactOrNearestOn:(Screen current) |
|
32 |
lightColor Color white |
|
33 |
halfShadowColor (Color grey:33) exactOrNearestOn:(Screen current) |
|
34 |
; halfLightColor (Color grey:67) exactOrNearestOn:(Screen current) |
|
35 |
; halfLightColor Color white "/ grey:67 |
|
36 |
halfLightColor =viewGrey |
|
2307
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
37 |
|
2100 | 38 |
#else |
2307
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
39 |
|
2100 | 40 |
selectionBlue Color black |
41 |
viewGrey Color white |
|
42 |
viewLightGrey Color white |
|
43 |
lightColor Color grey:50 |
|
2307
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
44 |
|
2100 | 45 |
#endif |
46 |
||
47 |
shadowColor Color black |
|
48 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
49 |
#if Screen current platformName = 'WIN32' |
2307
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
50 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
51 |
selectionBlue [Screen current getSystemColor:#'COLOR_HIGHLIGHT'] |
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
52 |
menu.backgroundColor [Screen current getSystemColor:#'COLOR_MENU' ] |
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
53 |
menu.foregroundColor [Screen current getSystemColor:#'COLOR_MENUTEXT' ] |
2307
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
54 |
pullDownMenu.backgroundColor =menu.backgroundColor |
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
55 |
viewGrey [Screen current getSystemColor:#'COLOR_BTNFACE' ] |
2307
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
56 |
|
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
57 |
#endif |
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
58 |
|
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
59 |
|
2100 | 60 |
borderWidth 0 |
61 |
viewBackground =viewGrey |
|
3176 | 62 |
focusStyle #win95 |
3491 | 63 |
focusHighlightStyle #win95 |
3176 | 64 |
|
3168 | 65 |
popup.borderWidth 1 |
66 |
popup.shadow false |
|
67 |
popup.level 1 |
|
2100 | 68 |
|
3714 | 69 |
; |
70 |
; this reverses the ok-cancel order in dialogs; |
|
71 |
; some may be used to ok being on the left ... |
|
72 |
; |
|
73 |
dialogBox.okAtLeft true |
|
74 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
75 |
#if Screen current width <= 640 |
2258 | 76 |
font Font family:'helvetica' face:'medium' style:'roman' size:10 |
77 |
textFont Font family:'courier' face:'medium' style:'roman' size:10 |
|
78 |
#else |
|
2222
d3552234eb8e
use MS fonts, if running native
Claus Gittinger <cg@exept.de>
parents:
2209
diff
changeset
|
79 |
font Font family:'helvetica' face:'medium' style:'roman' size:12 |
d3552234eb8e
use MS fonts, if running native
Claus Gittinger <cg@exept.de>
parents:
2209
diff
changeset
|
80 |
textFont Font family:'courier' face:'medium' style:'roman' size:12 |
2258 | 81 |
#endif |
2222
d3552234eb8e
use MS fonts, if running native
Claus Gittinger <cg@exept.de>
parents:
2209
diff
changeset
|
82 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
83 |
#if (Screen current platformName = 'WIN32' and:[Screen current width <= 640]) |
3269 | 84 |
font Font family:'ARIAL' size:8 |
85 |
; font Font family:'MS SANS SERIF' size:8 |
|
2223 | 86 |
textFont Font family:'courier' face:'medium' style:'roman' size:8 |
2222
d3552234eb8e
use MS fonts, if running native
Claus Gittinger <cg@exept.de>
parents:
2209
diff
changeset
|
87 |
#endif |
d3552234eb8e
use MS fonts, if running native
Claus Gittinger <cg@exept.de>
parents:
2209
diff
changeset
|
88 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
89 |
#if (Screen current platformName = 'WIN32' and:[Screen current width > 640]) |
3269 | 90 |
font Font family:'ARIAL' size:9 |
91 |
; font Font family:'MS SANS SERIF' size:9 |
|
2629 | 92 |
textFont Font family:'courier' face:'medium' style:'roman' size:9 |
93 |
#endif |
|
94 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
95 |
#if (Screen current platformName = 'WIN32' and:[Screen current width > 800]) |
3269 | 96 |
font Font family:'ARIAL' size:10 |
97 |
; font Font family:'MS SANS SERIF' size:10 |
|
2223 | 98 |
textFont Font family:'courier' face:'medium' style:'roman' size:10 |
99 |
#endif |
|
100 |
||
2629 | 101 |
; No - leads to ugly look if boldified ... |
102 |
; |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
103 |
; #if (Screen current platformName = 'WIN32') |
2629 | 104 |
; font Font name:'ANSI_VAR_FONT' |
105 |
; #endif |
|
2223 | 106 |
|
2625 | 107 |
menuFont =font |
2222
d3552234eb8e
use MS fonts, if running native
Claus Gittinger <cg@exept.de>
parents:
2209
diff
changeset
|
108 |
selection.font =font |
2100 | 109 |
|
2349
f72580f54ff1
use blocks for systemColor settings
Claus Gittinger <cg@exept.de>
parents:
2320
diff
changeset
|
110 |
focus.showBorder false |
f72580f54ff1
use blocks for systemColor settings
Claus Gittinger <cg@exept.de>
parents:
2320
diff
changeset
|
111 |
focus.takeOnClick true |
f72580f54ff1
use blocks for systemColor settings
Claus Gittinger <cg@exept.de>
parents:
2320
diff
changeset
|
112 |
|
2100 | 113 |
textCursor.type #ibeam |
114 |
textCursor.noFocusForegroundColor Color grey |
|
115 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
116 |
#if Screen current hasGrayscales |
2100 | 117 |
; editField.backgroundColor Color grey:90 |
118 |
editField.backgroundColor Color white |
|
119 |
#else |
|
120 |
editField.backgroundColor Color white |
|
121 |
editField.shadowColor Color black |
|
122 |
editField.lightColor Color grey:80 |
|
123 |
#endif |
|
124 |
||
125 |
checkToggle.activeLevel -2 |
|
126 |
checkToggle.passiveLevel -2 |
|
127 |
checkToggle.foregroundColor Color black |
|
128 |
checkToggle.backgroundColor Color white |
|
129 |
checkToggle.activeForegroundColor Color black |
|
130 |
checkToggle.activeBackgroundColor Color white |
|
2307
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
131 |
checkToggle.bitmapFile 'CheckOn10.xbm' |
2100 | 132 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
133 |
#if Screen current hasGreyscales |
2100 | 134 |
menu.hilightForegroundColor Color white |
135 |
menu.hilightBackgroundColor =selectionBlue |
|
136 |
#else |
|
137 |
menu.hilightForegroundColor Color white |
|
138 |
menu.hilightBackgroundColor Color black |
|
139 |
#endif |
|
2256 | 140 |
menu.buttonEnteredLevel 1 |
141 |
menu.buttonPassiveLevel 0 |
|
142 |
menu.buttonActiveLevel -1 |
|
2257 | 143 |
menu.buttonItemSpace 2 |
2100 | 144 |
|
145 |
pullDownMenu.separatingLines false |
|
3702 | 146 |
;; pullDownMenu.level 0 |
147 |
pullDownMenu.level 1 |
|
3176 | 148 |
pullDownMenu.menuLevel 1 |
2100 | 149 |
|
3176 | 150 |
selection.hilightStyle #win95 |
2100 | 151 |
selection.hilightForegroundColor Color white |
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
152 |
#if Screen current hasGrayscales |
2100 | 153 |
selection.hilightBackgroundColor =selectionBlue |
154 |
#else |
|
155 |
selection.hilightBackgroundColor Color black |
|
156 |
#endif |
|
157 |
selection.hilightFrameColor Color black |
|
158 |
selection.rightArrowLevel 0 |
|
159 |
selection.rightArrowStyle #solid |
|
160 |
||
3272 | 161 |
variablePanel.handlePosition #left |
2307
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
162 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
163 |
#if Screen current serverVendor ~= 'Silicon Graphics' |
2209
bffedf5daffb
oops - SGI server has a bug showing dashed lines.
Claus Gittinger <cg@exept.de>
parents:
2207
diff
changeset
|
164 |
; SGI Xserver has a bug, keeping the dashed lineStyle in its GC |
2625 | 165 |
; variablePanel.trackingStyle #dashedLine |
166 |
variablePanel.trackingStyle #dottedLine |
|
2209
bffedf5daffb
oops - SGI server has a bug showing dashed lines.
Claus Gittinger <cg@exept.de>
parents:
2207
diff
changeset
|
167 |
#else |
bffedf5daffb
oops - SGI server has a bug showing dashed lines.
Claus Gittinger <cg@exept.de>
parents:
2207
diff
changeset
|
168 |
variablePanel.trackingStyle #solidLine |
bffedf5daffb
oops - SGI server has a bug showing dashed lines.
Claus Gittinger <cg@exept.de>
parents:
2207
diff
changeset
|
169 |
#endif |
2307
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
170 |
|
3268 | 171 |
variablePanel.showHandle false "/ the default; can be overwritten by UI-spec |
172 |
||
173 |
; variablePanel.barHeight 4 |
|
174 |
; variablePanel.handleLevel 0 |
|
175 |
||
3269 | 176 |
variablePanel.barHeight 8 |
3268 | 177 |
variablePanel.handleLevel 1 |
178 |
variablePanel.handleStyle #full |
|
2100 | 179 |
|
180 |
scrollableView.level -1 |
|
181 |
; scrollableView.backgroundColor =viewLightGrey |
|
182 |
scrolledView.borderWidth 0 |
|
183 |
scrolledView.level 0 |
|
2224 | 184 |
scrolledView.margin 1 |
3176 | 185 |
scrolledView.zeroOffsets true |
186 |
||
2100 | 187 |
scrollBar.level 0 |
188 |
scrollBar.spacing 0 |
|
189 |
scrollBar.hiding true |
|
190 |
scrollBar.neverMini true |
|
191 |
scrollBar.position #right |
|
192 |
scrollBar.buttonPositions #around |
|
193 |
scrollBar.viewBackground =viewLightGrey |
|
2256 | 194 |
scrollBar.elementSpacing 0 |
2100 | 195 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
196 |
#if Screen current hasGreyscales |
2100 | 197 |
scroller.viewBackground =viewLightGrey |
198 |
scroller.thumbColor =viewGrey |
|
2256 | 199 |
; scroller.thumbEdgeStyle #soft |
200 |
scroller.thumbEdgeStyle #softWin95 |
|
2100 | 201 |
scroller.thumbLightColor =viewGrey |
202 |
scroller.thumbHalfLightColor Color white |
|
203 |
#else |
|
204 |
scroller.viewBackground Color grey:87.5 |
|
205 |
scroller.thumbColor Color white |
|
206 |
#endif |
|
207 |
||
208 |
scroller.thumbLevel 2 |
|
2358 | 209 |
# scroller.borderWidth 1 |
210 |
scroller.borderWidth 0 |
|
2100 | 211 |
scroller.level 0 |
212 |
scroller.ghostFrameColor Color darkGrey |
|
213 |
scroller.snapBack true |
|
214 |
||
215 |
;button.activeLevel 1 |
|
216 |
button.activeLevel -1 "/ 0 |
|
217 |
button.passiveLevel 2 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
218 |
#if Screen current hasGreyscales |
2256 | 219 |
; button.edgeStyle #soft |
220 |
button.edgeStyle #softWin95 |
|
2100 | 221 |
; button.activeForegroundColor Color black |
222 |
; button.activeBackgroundColor Color white |
|
223 |
; button.enteredBackgroundColor Color lightGrey |
|
2349
f72580f54ff1
use blocks for systemColor settings
Claus Gittinger <cg@exept.de>
parents:
2320
diff
changeset
|
224 |
; button.halfShadowColor =viewGrey darkened exactOrNearestOn:(Screen current) |
f72580f54ff1
use blocks for systemColor settings
Claus Gittinger <cg@exept.de>
parents:
2320
diff
changeset
|
225 |
button.halfShadowColor =halfShadowColor |
2100 | 226 |
button.halfLightColor Color white |
3580 | 227 |
button.disabledEtchedForegroundColor Color white |
2100 | 228 |
#else |
229 |
button.activeBackgroundColor Color black |
|
230 |
button.activeForegroundColor Color white |
|
231 |
; button.enteredBackgroundColor Color grey:87.5 |
|
232 |
#endif |
|
233 |
||
2596 | 234 |
radioButton.style #image |
235 |
radioButton.passiveImageFile 'RadioOff_w95.xpm' |
|
236 |
radioButton.activeImageFile 'RadioOnBits_w95.xbm' |
|
237 |
||
2100 | 238 |
|
239 |
; arrowButton.upFormFile 'ScrollUp.w95.14.xbm'. |
|
240 |
; arrowButton.downFormFile 'ScrollDn.w95.14.xbm'. |
|
241 |
; arrowButton.leftFormFile 'ScrollLt.w95.14.xbm'. |
|
242 |
; arrowButton.rightFormFile 'ScrollRt.w95.14.xbm'. |
|
243 |
arrowButton.upFormFile 'ScrollUp.w95.11.xbm'. |
|
244 |
arrowButton.downFormFile 'ScrollDn.w95.11.xbm'. |
|
245 |
arrowButton.leftFormFile 'ScrollLt.w95.11.xbm'. |
|
246 |
arrowButton.rightFormFile 'ScrollRt.w95.11.xbm'. |
|
247 |
||
248 |
selection.rightArrowForm Image extent:16@12 depth:1 \ |
|
249 |
bits:#[ \ |
|
250 |
2r00000000 2r00000000 \ |
|
251 |
2r00000000 2r00000000 \ |
|
252 |
2r00000000 2r00000000 \ |
|
253 |
2r00000010 2r00000000 \ |
|
254 |
2r00000011 2r00000000 \ |
|
255 |
2r00000011 2r10000000 \ |
|
256 |
2r00000011 2r11000000 \ |
|
257 |
2r00000011 2r10000000 \ |
|
258 |
2r00000011 2r00000000 \ |
|
259 |
2r00000010 2r00000000 \ |
|
260 |
2r00000000 2r00000000 \ |
|
261 |
2r00000000 2r00000000 \ |
|
262 |
] \ |
|
263 |
pad:8 |
|
264 |
||
265 |
comboView.level -1 |
|
266 |
comboView.downFormFile 'ScrollDn.w95.11.xbm'. |
|
2595 | 267 |
comboView.disabledDownFormFile 'ScrollDn_disabled.w95.11.xpm'. |
2100 | 268 |
|
3720 | 269 |
comboView.downFormFile 'ScrollDn.xp.xpm'. |
270 |
comboView.disabledDownFormFile 'ScrollDn_disabled.xp.xpm'. |
|
271 |
||
2100 | 272 |
|
273 |
html.backgroundColor Color white |
|
2307
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
274 |
; html.anchorForegroundColor Color green darkened |
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
275 |
; html.visitedAnchorForegroundColor =html.anchorForegroundColor darkened darkened |
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
276 |
html.visitedAnchorForegroundColor Color red:50 green:0 blue:50 |
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
277 |
; html.anchorUnderlines true |
2100 | 278 |
|
3705 | 279 |
dataSet.labelView.level 0 |
280 |
||
3580 | 281 |
activeHelp.backgroundColor Color yellow lightened lightened lightened |
2100 | 282 |
activeHelp.borderWidth 2 |
3580 | 283 |
activeHelp.font Font family:'helvetica' face:'medium' style:'roman' size:8 |
2307
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
284 |
|
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
285 |
; |
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
286 |
; if running under windows, use the systemColor settings |
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
287 |
; |
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
288 |
#if Screen current platformName = 'WIN32' |
2307
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
289 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
290 |
menu.backgroundColor [Screen current getSystemColor:#'COLOR_MENU' ] |
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
291 |
menu.foregroundColor [Screen current getSystemColor:#'COLOR_MENUTEXT' ] |
3714 | 292 |
pullDownMenu.backgroundColor [Screen current getSystemColor:#'COLOR_BTNFACE' ] |
293 |
;; pullDownMenu.backgroundColor =menu.backgroundColor |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
294 |
button.backgroundColor [Screen current getSystemColor:#'COLOR_BTNFACE' ] |
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
295 |
text.selectionForegroundColor [Screen current getSystemColor:#'COLOR_HIGHLIGHTTEXT' ] |
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
296 |
text.selectionBackgroundColor [Screen current getSystemColor:#'COLOR_HIGHLIGHT' ] |
3716 | 297 |
text.alternativeSelectionForegroundColor Color black |
298 |
;; text.alternativeSelectionBackgroundColor Color redByte:255 greenByte:255 blueByte:204 |
|
299 |
text.alternativeSelectionBackgroundColor =text.selectionBackgroundColor lightened |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
300 |
scroller.thumbColor [Screen current getSystemColor:#'COLOR_BTNFACE' ] |
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
301 |
scroller.vScrollerWidth 16 "/ [Screen current getSystemMetrics:#'SM_CXVSCROLL' ] |
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
302 |
scroller.hScrollerHeight 16 "/ [Screen current getSystemMetrics:#'SM_CYHSCROLL' ] |
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
303 |
scrollBar.vScrollBarWidth 16 "/ [Screen current getSystemMetrics:#'SM_CXVSCROLL' ] |
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
304 |
scrollBar.hScrollBarHeight 16 "/ [Screen current getSystemMetrics:#'SM_CYHSCROLL' ] |
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
305 |
selection.hilightForegroundColor [Screen current getSystemColor:#'COLOR_HIGHLIGHTTEXT' ] |
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
306 |
selection.hilightBackgroundColor [Screen current getSystemColor:#'COLOR_HIGHLIGHT' ] |
2551 | 307 |
|
2320 | 308 |
#endif |
2315 | 309 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
310 |
#if (Screen current platformName = 'WIN32') and:[(Screen current getSystemColor:#'COLOR_SCROLLBAR') brightness > 0.95] |
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
311 |
scroller.viewBackground [(Form width:8 height:8 fromArray:(Color ditherBits at:32) on:Screen current) colorMap:(Array with:Color black with:(Screen current getSystemColor:#'COLOR_SCROLLBAR') )] |
2307
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
312 |
#endif |
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
313 |
#if (Screen current platformName = 'WIN32') and:[(Screen current getSystemColor:#'COLOR_SCROLLBAR') brightness <= 0.95] |
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
314 |
scroller.viewBackground [(Form width:8 height:8 fromArray:(Color ditherBits at:32) on:Screen current) colorMap:(Array with:Color white with:(Screen current getSystemColor:#'COLOR_SCROLLBAR') )] |
2320 | 315 |
#endif |
2307
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
316 |
|
2458 | 317 |
warningBox.iconFile 'bitmaps/Warning_w95.xpm' |
3547 | 318 |
requestBox.iconFile 'bitmaps/Request_w95.xpm' |
3550 | 319 |
errorBox.iconFile 'bitmaps/Error_w95.xpm' |