author | Claus Gittinger <cg@exept.de> |
Mon, 03 Nov 1997 17:43:15 +0100 | |
changeset 1951 | 5290a36652db |
parent 1948 | 6a9b754ca6d3 |
child 1959 | d5ec4b54e970 |
permissions | -rw-r--r-- |
153 | 1 |
; View defaultStyle:#win95 |
2 |
; |
|
1951 | 3 |
; $Header: /cvs/stx/stx/libview/styles/mswindows3.style,v 1.24 1997-11-03 16:43:03 cg Exp $ |
153 | 4 |
|
1457 | 5 |
comment 'win95 lookalike - unfinished' |
153 | 6 |
|
309 | 7 |
#if (Language == #german) or:[Language == #de] |
1457 | 8 |
comment 'MS Windows95 Variante\unvollendet' |
309 | 9 |
#endif |
10 |
||
153 | 11 |
is3D true |
12 |
name #win95 |
|
13 |
||
1670 | 14 |
|
153 | 15 |
#if Display hasGreyscales |
1857 | 16 |
selectionBlue (Color red:0 green:0 blue:50) exactOrNearestOn:(Screen current) |
1853
c3d87b4f6051
use nearest colors to avoid dithered view backgrounds
Claus Gittinger <cg@exept.de>
parents:
1834
diff
changeset
|
17 |
|
1857 | 18 |
; viewGrey (Color grey:67) exactOrNearestOn:(Screen current) |
19 |
viewGrey (Color grey:77) exactOrNearestOn:(Screen current) |
|
20 |
; viewLightGrey (Color grey:80) exactOrNearestOn:(Screen current) |
|
21 |
viewLightGrey (Color grey:90) exactOrNearestOn:(Screen current) |
|
153 | 22 |
lightColor Color white |
1857 | 23 |
halfShadowColor (Color grey:33) exactOrNearestOn:(Screen current) |
24 |
; halfLightColor (Color grey:67) exactOrNearestOn:(Screen current) |
|
1853
c3d87b4f6051
use nearest colors to avoid dithered view backgrounds
Claus Gittinger <cg@exept.de>
parents:
1834
diff
changeset
|
25 |
; halfLightColor Color white "/ grey:67 |
1673 | 26 |
halfLightColor =viewGrey |
153 | 27 |
#else |
1853
c3d87b4f6051
use nearest colors to avoid dithered view backgrounds
Claus Gittinger <cg@exept.de>
parents:
1834
diff
changeset
|
28 |
selectionBlue Color black |
153 | 29 |
viewGrey Color white |
1440 | 30 |
viewLightGrey Color white |
153 | 31 |
lightColor Color grey:50 |
32 |
#endif |
|
1853
c3d87b4f6051
use nearest colors to avoid dithered view backgrounds
Claus Gittinger <cg@exept.de>
parents:
1834
diff
changeset
|
33 |
|
153 | 34 |
shadowColor Color black |
35 |
||
36 |
borderWidth 0 |
|
37 |
viewBackground =viewGrey |
|
1948 | 38 |
popup.borderWidth 1 |
39 |
popup.shadow false |
|
153 | 40 |
|
1447 | 41 |
font Font family:'helvetica' face:'medium' style:'roman' size:12 |
42 |
textFont Font family:'courier' face:'medium' style:'roman' size:12 |
|
43 |
||
1948 | 44 |
textCursor.type #ibeam |
45 |
textCursor.noFocusForegroundColor Color grey |
|
1447 | 46 |
|
1624 | 47 |
#if Display hasGrayscales |
1948 | 48 |
; editField.backgroundColor Color grey:90 |
49 |
editField.backgroundColor Color white |
|
1624 | 50 |
#else |
1948 | 51 |
editField.backgroundColor Color white |
52 |
editField.shadowColor Color black |
|
53 |
editField.lightColor Color grey:80 |
|
1624 | 54 |
#endif |
1448 | 55 |
|
1948 | 56 |
checkToggle.activeLevel -2 |
57 |
checkToggle.passiveLevel -2 |
|
58 |
checkToggle.foregroundColor Color black |
|
59 |
checkToggle.backgroundColor Color white |
|
60 |
checkToggle.activeForegroundColor Color black |
|
61 |
checkToggle.activeBackgroundColor Color white |
|
62 |
checkToggle.bitmapFile 'CheckOn14.xbm' |
|
182 | 63 |
|
153 | 64 |
#if Display hasGreyscales |
1948 | 65 |
menu.hilightForegroundColor Color white |
66 |
menu.hilightBackgroundColor =selectionBlue |
|
153 | 67 |
#else |
1948 | 68 |
menu.hilightForegroundColor Color white |
69 |
menu.hilightBackgroundColor Color black |
|
153 | 70 |
#endif |
71 |
||
1948 | 72 |
pullDownMenu.separatingLines false |
73 |
pullDownMenu.level 0 |
|
74 |
pullDownMenu.keepMenu true |
|
75 |
; pullDownMenu.keepMenu true |
|
76 |
pullDownMenu.toggleKeep true |
|
153 | 77 |
|
1948 | 78 |
selection.hilightForegroundColor Color white |
1624 | 79 |
#if Display hasGrayscales |
1948 | 80 |
selection.hilightBackgroundColor =selectionBlue |
1624 | 81 |
#else |
1948 | 82 |
selection.hilightBackgroundColor Color black |
1624 | 83 |
#endif |
1948 | 84 |
selection.hilightFrameColor Color black |
85 |
selection.rightArrowLevel 0 |
|
86 |
selection.rightArrowStyle #solid |
|
153 | 87 |
|
1948 | 88 |
variablePanel.handlePosition #right |
89 |
variablePanel.handleStyle #none |
|
90 |
variablePanel.trackingStyle #dashedLine |
|
91 |
variablePanel.barHeight 4 |
|
153 | 92 |
|
1948 | 93 |
scrollableView.level -1 |
94 |
; scrollableView.backgroundColor =viewLightGrey |
|
95 |
scrolledView.borderWidth 0 |
|
96 |
scrolledView.level 0 |
|
97 |
scrolledView.margin 0 |
|
98 |
scrollBar.level 0 |
|
99 |
scrollBar.spacing 0 |
|
100 |
scrollBar.hiding true |
|
101 |
scrollBar.neverMini true |
|
1441 | 102 |
|
1948 | 103 |
scrollBar.position #right |
104 |
scrollBar.buttonPositions #around |
|
105 |
scrollBar.viewBackground =viewLightGrey |
|
153 | 106 |
|
107 |
#if Display hasGreyscales |
|
1948 | 108 |
scroller.viewBackground =viewLightGrey |
109 |
scroller.thumbColor =viewGrey |
|
110 |
scroller.thumbEdgeStyle #soft |
|
111 |
scroller.thumbLightColor =viewGrey |
|
112 |
scroller.thumbHalfLightColor Color white |
|
153 | 113 |
#else |
1948 | 114 |
scroller.viewBackground Color grey:87.5 |
115 |
scroller.thumbColor Color white |
|
153 | 116 |
#endif |
117 |
||
1948 | 118 |
scroller.thumbLevel 2 |
119 |
scroller.borderWidth 1 |
|
120 |
scroller.level 0 |
|
121 |
scroller.ghostFrameColor Color darkGrey |
|
122 |
scroller.snapBack true |
|
173 | 123 |
|
1948 | 124 |
;button.activeLevel 1 |
125 |
button.activeLevel -1 "/ 0 |
|
126 |
button.passiveLevel 2 |
|
1440 | 127 |
#if Display hasGreyscales |
1948 | 128 |
button.edgeStyle #soft |
129 |
; button.activeForegroundColor Color black |
|
130 |
; button.activeBackgroundColor Color white |
|
131 |
; button.enteredBackgroundColor Color lightGrey |
|
132 |
button.halfShadowColor =viewGrey darkened exactOrNearestOn:(Screen current) |
|
133 |
button.halfLightColor Color white |
|
1440 | 134 |
#else |
1948 | 135 |
button.activeBackgroundColor Color black |
136 |
button.activeForegroundColor Color white |
|
137 |
; button.enteredBackgroundColor Color grey:87.5 |
|
1440 | 138 |
#endif |
173 | 139 |
|
1951 | 140 |
radioButton.style #round3D |
141 |
||
1948 | 142 |
; arrowButton.upFormFile 'ScrollUp.w95.14.xbm'. |
143 |
; arrowButton.downFormFile 'ScrollDn.w95.14.xbm'. |
|
144 |
; arrowButton.leftFormFile 'ScrollLt.w95.14.xbm'. |
|
145 |
; arrowButton.rightFormFile 'ScrollRt.w95.14.xbm'. |
|
146 |
arrowButton.upFormFile 'ScrollUp.w95.11.xbm'. |
|
147 |
arrowButton.downFormFile 'ScrollDn.w95.11.xbm'. |
|
148 |
arrowButton.leftFormFile 'ScrollLt.w95.11.xbm'. |
|
149 |
arrowButton.rightFormFile 'ScrollRt.w95.11.xbm'. |
|
1670 | 150 |
|
1948 | 151 |
selection.rightArrowForm Image extent:16@12 depth:1 \ |
1670 | 152 |
bits:#[ \ |
153 |
2r00000000 2r00000000 \ |
|
154 |
2r00000000 2r00000000 \ |
|
155 |
2r00000000 2r00000000 \ |
|
156 |
2r00000010 2r00000000 \ |
|
157 |
2r00000011 2r00000000 \ |
|
158 |
2r00000011 2r10000000 \ |
|
159 |
2r00000011 2r11000000 \ |
|
160 |
2r00000011 2r10000000 \ |
|
161 |
2r00000011 2r00000000 \ |
|
162 |
2r00000010 2r00000000 \ |
|
163 |
2r00000000 2r00000000 \ |
|
164 |
2r00000000 2r00000000 \ |
|
165 |
] \ |
|
166 |
pad:8 |
|
1440 | 167 |
|
1948 | 168 |
comboView.level -1 |
169 |
comboView.downFormFile 'ScrollDn.w95.11.xbm'. |
|
1501 | 170 |
|
1948 | 171 |
selection.font Font family:'helvetica' face:'medium' style:'roman' size:12 |
1440 | 172 |
|
1948 | 173 |
html.backgroundColor Color white |
174 |
html.anchorForegroundColor Color green darkened |
|
175 |
html.visitedAnchorForegroundColor =html.anchorForegroundColor darkened darkened |
|
176 |
html.anchorUnderlines true |
|
1440 | 177 |
|
1948 | 178 |
activeHelp.backgroundColor Color yellow lightened |
179 |
activeHelp.borderWidth 2 |