author | Stefan Vogel <sv@exept.de> |
Wed, 27 Oct 1999 15:28:03 +0200 | |
changeset 2991 | 918e2f570098 |
parent 2629 | d5fcb2aa3181 |
child 3168 | 65e94175ec81 |
permissions | -rw-r--r-- |
2100 | 1 |
; View defaultStyle:#mswindows95 |
2 |
; |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
3 |
; $Header: /cvs/stx/stx/libview/styles/mswindows95.style,v 1.26 1999-10-27 13:28:03 stefan Exp $ |
2100 | 4 |
|
5 |
comment 'win95 lookalike' |
|
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 |
|
62 |
popup.borderWidth 1 |
|
63 |
popup.shadow false |
|
64 |
||
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
65 |
#if Screen current width <= 640 |
2258 | 66 |
font Font family:'helvetica' face:'medium' style:'roman' size:10 |
67 |
textFont Font family:'courier' face:'medium' style:'roman' size:10 |
|
68 |
#else |
|
2222
d3552234eb8e
use MS fonts, if running native
Claus Gittinger <cg@exept.de>
parents:
2209
diff
changeset
|
69 |
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
|
70 |
textFont Font family:'courier' face:'medium' style:'roman' size:12 |
2258 | 71 |
#endif |
2222
d3552234eb8e
use MS fonts, if running native
Claus Gittinger <cg@exept.de>
parents:
2209
diff
changeset
|
72 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
73 |
#if (Screen current platformName = 'WIN32' and:[Screen current width <= 640]) |
2223 | 74 |
font Font family:'MS SANS SERIF' size:8 |
75 |
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
|
76 |
#endif |
d3552234eb8e
use MS fonts, if running native
Claus Gittinger <cg@exept.de>
parents:
2209
diff
changeset
|
77 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
78 |
#if (Screen current platformName = 'WIN32' and:[Screen current width > 640]) |
2629 | 79 |
font Font family:'MS SANS SERIF' size:9 |
80 |
textFont Font family:'courier' face:'medium' style:'roman' size:9 |
|
81 |
#endif |
|
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 > 800]) |
2223 | 84 |
font Font family:'MS SANS SERIF' size:10 |
85 |
textFont Font family:'courier' face:'medium' style:'roman' size:10 |
|
86 |
#endif |
|
87 |
||
2629 | 88 |
; No - leads to ugly look if boldified ... |
89 |
; |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
90 |
; #if (Screen current platformName = 'WIN32') |
2629 | 91 |
; font Font name:'ANSI_VAR_FONT' |
92 |
; #endif |
|
2223 | 93 |
|
2625 | 94 |
menuFont =font |
2222
d3552234eb8e
use MS fonts, if running native
Claus Gittinger <cg@exept.de>
parents:
2209
diff
changeset
|
95 |
selection.font =font |
2100 | 96 |
|
2349
f72580f54ff1
use blocks for systemColor settings
Claus Gittinger <cg@exept.de>
parents:
2320
diff
changeset
|
97 |
focus.showBorder false |
f72580f54ff1
use blocks for systemColor settings
Claus Gittinger <cg@exept.de>
parents:
2320
diff
changeset
|
98 |
focus.takeOnClick true |
f72580f54ff1
use blocks for systemColor settings
Claus Gittinger <cg@exept.de>
parents:
2320
diff
changeset
|
99 |
|
2100 | 100 |
textCursor.type #ibeam |
101 |
textCursor.noFocusForegroundColor Color grey |
|
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 hasGrayscales |
2100 | 104 |
; editField.backgroundColor Color grey:90 |
105 |
editField.backgroundColor Color white |
|
106 |
#else |
|
107 |
editField.backgroundColor Color white |
|
108 |
editField.shadowColor Color black |
|
109 |
editField.lightColor Color grey:80 |
|
110 |
#endif |
|
111 |
||
112 |
checkToggle.activeLevel -2 |
|
113 |
checkToggle.passiveLevel -2 |
|
114 |
checkToggle.foregroundColor Color black |
|
115 |
checkToggle.backgroundColor Color white |
|
116 |
checkToggle.activeForegroundColor Color black |
|
117 |
checkToggle.activeBackgroundColor Color white |
|
2307
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
118 |
checkToggle.bitmapFile 'CheckOn10.xbm' |
2100 | 119 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
120 |
#if Screen current hasGreyscales |
2100 | 121 |
menu.hilightForegroundColor Color white |
122 |
menu.hilightBackgroundColor =selectionBlue |
|
123 |
#else |
|
124 |
menu.hilightForegroundColor Color white |
|
125 |
menu.hilightBackgroundColor Color black |
|
126 |
#endif |
|
2256 | 127 |
menu.buttonEnteredLevel 1 |
128 |
menu.buttonPassiveLevel 0 |
|
129 |
menu.buttonActiveLevel -1 |
|
2257 | 130 |
menu.buttonItemSpace 2 |
2100 | 131 |
|
132 |
pullDownMenu.separatingLines false |
|
133 |
pullDownMenu.level 0 |
|
134 |
||
135 |
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
|
136 |
#if Screen current hasGrayscales |
2100 | 137 |
selection.hilightBackgroundColor =selectionBlue |
138 |
#else |
|
139 |
selection.hilightBackgroundColor Color black |
|
140 |
#endif |
|
141 |
selection.hilightFrameColor Color black |
|
142 |
selection.rightArrowLevel 0 |
|
143 |
selection.rightArrowStyle #solid |
|
144 |
||
145 |
variablePanel.handlePosition #right |
|
2373
0ac9abce2387
variablePanels bar beautified
Claus Gittinger <cg@exept.de>
parents:
2358
diff
changeset
|
146 |
; variablePanel.handleStyle #full |
0ac9abce2387
variablePanels bar beautified
Claus Gittinger <cg@exept.de>
parents:
2358
diff
changeset
|
147 |
variablePanel.handleStyle #none |
2307
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
148 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
149 |
#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
|
150 |
; SGI Xserver has a bug, keeping the dashed lineStyle in its GC |
2625 | 151 |
; variablePanel.trackingStyle #dashedLine |
152 |
variablePanel.trackingStyle #dottedLine |
|
2209
bffedf5daffb
oops - SGI server has a bug showing dashed lines.
Claus Gittinger <cg@exept.de>
parents:
2207
diff
changeset
|
153 |
#else |
bffedf5daffb
oops - SGI server has a bug showing dashed lines.
Claus Gittinger <cg@exept.de>
parents:
2207
diff
changeset
|
154 |
variablePanel.trackingStyle #solidLine |
bffedf5daffb
oops - SGI server has a bug showing dashed lines.
Claus Gittinger <cg@exept.de>
parents:
2207
diff
changeset
|
155 |
#endif |
2307
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
156 |
|
2373
0ac9abce2387
variablePanels bar beautified
Claus Gittinger <cg@exept.de>
parents:
2358
diff
changeset
|
157 |
; variablePanel.barHeight 6 |
0ac9abce2387
variablePanels bar beautified
Claus Gittinger <cg@exept.de>
parents:
2358
diff
changeset
|
158 |
; variablePanel.handleLevel 1 |
0ac9abce2387
variablePanels bar beautified
Claus Gittinger <cg@exept.de>
parents:
2358
diff
changeset
|
159 |
variablePanel.barHeight 4 |
0ac9abce2387
variablePanels bar beautified
Claus Gittinger <cg@exept.de>
parents:
2358
diff
changeset
|
160 |
variablePanel.handleLevel 0 |
2100 | 161 |
|
162 |
scrollableView.level -1 |
|
163 |
; scrollableView.backgroundColor =viewLightGrey |
|
164 |
scrolledView.borderWidth 0 |
|
165 |
scrolledView.level 0 |
|
2224 | 166 |
scrolledView.margin 1 |
2100 | 167 |
scrollBar.level 0 |
168 |
scrollBar.spacing 0 |
|
169 |
scrollBar.hiding true |
|
170 |
scrollBar.neverMini true |
|
171 |
scrollBar.position #right |
|
172 |
scrollBar.buttonPositions #around |
|
173 |
scrollBar.viewBackground =viewLightGrey |
|
2256 | 174 |
scrollBar.elementSpacing 0 |
2100 | 175 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
176 |
#if Screen current hasGreyscales |
2100 | 177 |
scroller.viewBackground =viewLightGrey |
178 |
scroller.thumbColor =viewGrey |
|
2256 | 179 |
; scroller.thumbEdgeStyle #soft |
180 |
scroller.thumbEdgeStyle #softWin95 |
|
2100 | 181 |
scroller.thumbLightColor =viewGrey |
182 |
scroller.thumbHalfLightColor Color white |
|
183 |
#else |
|
184 |
scroller.viewBackground Color grey:87.5 |
|
185 |
scroller.thumbColor Color white |
|
186 |
#endif |
|
187 |
||
188 |
scroller.thumbLevel 2 |
|
2358 | 189 |
# scroller.borderWidth 1 |
190 |
scroller.borderWidth 0 |
|
2100 | 191 |
scroller.level 0 |
192 |
scroller.ghostFrameColor Color darkGrey |
|
193 |
scroller.snapBack true |
|
194 |
||
195 |
;button.activeLevel 1 |
|
196 |
button.activeLevel -1 "/ 0 |
|
197 |
button.passiveLevel 2 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
198 |
#if Screen current hasGreyscales |
2256 | 199 |
; button.edgeStyle #soft |
200 |
button.edgeStyle #softWin95 |
|
2100 | 201 |
; button.activeForegroundColor Color black |
202 |
; button.activeBackgroundColor Color white |
|
203 |
; button.enteredBackgroundColor Color lightGrey |
|
2349
f72580f54ff1
use blocks for systemColor settings
Claus Gittinger <cg@exept.de>
parents:
2320
diff
changeset
|
204 |
; button.halfShadowColor =viewGrey darkened exactOrNearestOn:(Screen current) |
f72580f54ff1
use blocks for systemColor settings
Claus Gittinger <cg@exept.de>
parents:
2320
diff
changeset
|
205 |
button.halfShadowColor =halfShadowColor |
2100 | 206 |
button.halfLightColor Color white |
207 |
#else |
|
208 |
button.activeBackgroundColor Color black |
|
209 |
button.activeForegroundColor Color white |
|
210 |
; button.enteredBackgroundColor Color grey:87.5 |
|
211 |
#endif |
|
212 |
||
2596 | 213 |
radioButton.style #image |
214 |
radioButton.passiveImageFile 'RadioOff_w95.xpm' |
|
215 |
radioButton.activeImageFile 'RadioOnBits_w95.xbm' |
|
216 |
||
2100 | 217 |
|
218 |
; arrowButton.upFormFile 'ScrollUp.w95.14.xbm'. |
|
219 |
; arrowButton.downFormFile 'ScrollDn.w95.14.xbm'. |
|
220 |
; arrowButton.leftFormFile 'ScrollLt.w95.14.xbm'. |
|
221 |
; arrowButton.rightFormFile 'ScrollRt.w95.14.xbm'. |
|
222 |
arrowButton.upFormFile 'ScrollUp.w95.11.xbm'. |
|
223 |
arrowButton.downFormFile 'ScrollDn.w95.11.xbm'. |
|
224 |
arrowButton.leftFormFile 'ScrollLt.w95.11.xbm'. |
|
225 |
arrowButton.rightFormFile 'ScrollRt.w95.11.xbm'. |
|
226 |
||
227 |
selection.rightArrowForm Image extent:16@12 depth:1 \ |
|
228 |
bits:#[ \ |
|
229 |
2r00000000 2r00000000 \ |
|
230 |
2r00000000 2r00000000 \ |
|
231 |
2r00000000 2r00000000 \ |
|
232 |
2r00000010 2r00000000 \ |
|
233 |
2r00000011 2r00000000 \ |
|
234 |
2r00000011 2r10000000 \ |
|
235 |
2r00000011 2r11000000 \ |
|
236 |
2r00000011 2r10000000 \ |
|
237 |
2r00000011 2r00000000 \ |
|
238 |
2r00000010 2r00000000 \ |
|
239 |
2r00000000 2r00000000 \ |
|
240 |
2r00000000 2r00000000 \ |
|
241 |
] \ |
|
242 |
pad:8 |
|
243 |
||
244 |
comboView.level -1 |
|
245 |
comboView.downFormFile 'ScrollDn.w95.11.xbm'. |
|
2595 | 246 |
comboView.disabledDownFormFile 'ScrollDn_disabled.w95.11.xpm'. |
2100 | 247 |
|
248 |
||
249 |
html.backgroundColor Color white |
|
2307
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
250 |
; html.anchorForegroundColor Color green darkened |
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
251 |
; html.visitedAnchorForegroundColor =html.anchorForegroundColor darkened darkened |
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
252 |
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
|
253 |
; html.anchorUnderlines true |
2100 | 254 |
|
255 |
activeHelp.backgroundColor Color yellow lightened |
|
256 |
activeHelp.borderWidth 2 |
|
2307
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
257 |
|
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
258 |
; |
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
259 |
; 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
|
260 |
; |
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
261 |
#if Screen current platformName = 'WIN32' |
2307
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
262 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
263 |
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
|
264 |
menu.foregroundColor [Screen current getSystemColor:#'COLOR_MENUTEXT' ] |
2602 | 265 |
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
|
266 |
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
|
267 |
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
|
268 |
text.selectionBackgroundColor [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
|
269 |
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
|
270 |
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
|
271 |
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
|
272 |
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
|
273 |
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
|
274 |
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
|
275 |
selection.hilightBackgroundColor [Screen current getSystemColor:#'COLOR_HIGHLIGHT' ] |
2551 | 276 |
|
2320 | 277 |
#endif |
2315 | 278 |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
279 |
#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
|
280 |
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
|
281 |
#endif |
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2629
diff
changeset
|
282 |
#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
|
283 |
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 | 284 |
#endif |
2307
c61ba06af749
if running under native windows, use the systemColors
Claus Gittinger <cg@exept.de>
parents:
2258
diff
changeset
|
285 |
|
2458 | 286 |
warningBox.iconFile 'bitmaps/Warning_w95.xpm' |