author | Claus Gittinger <cg@exept.de> |
Thu, 20 Nov 1997 19:46:45 +0100 | |
changeset 1959 | d5ec4b54e970 |
parent 1951 | 5290a36652db |
child 2100 | 776dd0170dc1 |
permissions | -rw-r--r-- |
153 | 1 |
; View defaultStyle:#win95 |
2 |
; |
|
1959 | 3 |
; $Header: /cvs/stx/stx/libview/styles/mswindows3.style,v 1.25 1997-11-20 18:46:38 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 |
|
153 | 74 |
|
1948 | 75 |
selection.hilightForegroundColor Color white |
1624 | 76 |
#if Display hasGrayscales |
1948 | 77 |
selection.hilightBackgroundColor =selectionBlue |
1624 | 78 |
#else |
1948 | 79 |
selection.hilightBackgroundColor Color black |
1624 | 80 |
#endif |
1948 | 81 |
selection.hilightFrameColor Color black |
82 |
selection.rightArrowLevel 0 |
|
83 |
selection.rightArrowStyle #solid |
|
153 | 84 |
|
1948 | 85 |
variablePanel.handlePosition #right |
86 |
variablePanel.handleStyle #none |
|
87 |
variablePanel.trackingStyle #dashedLine |
|
88 |
variablePanel.barHeight 4 |
|
153 | 89 |
|
1948 | 90 |
scrollableView.level -1 |
91 |
; scrollableView.backgroundColor =viewLightGrey |
|
92 |
scrolledView.borderWidth 0 |
|
93 |
scrolledView.level 0 |
|
94 |
scrolledView.margin 0 |
|
95 |
scrollBar.level 0 |
|
96 |
scrollBar.spacing 0 |
|
97 |
scrollBar.hiding true |
|
98 |
scrollBar.neverMini true |
|
1441 | 99 |
|
1948 | 100 |
scrollBar.position #right |
101 |
scrollBar.buttonPositions #around |
|
102 |
scrollBar.viewBackground =viewLightGrey |
|
153 | 103 |
|
104 |
#if Display hasGreyscales |
|
1948 | 105 |
scroller.viewBackground =viewLightGrey |
106 |
scroller.thumbColor =viewGrey |
|
107 |
scroller.thumbEdgeStyle #soft |
|
108 |
scroller.thumbLightColor =viewGrey |
|
109 |
scroller.thumbHalfLightColor Color white |
|
153 | 110 |
#else |
1948 | 111 |
scroller.viewBackground Color grey:87.5 |
112 |
scroller.thumbColor Color white |
|
153 | 113 |
#endif |
114 |
||
1948 | 115 |
scroller.thumbLevel 2 |
116 |
scroller.borderWidth 1 |
|
117 |
scroller.level 0 |
|
118 |
scroller.ghostFrameColor Color darkGrey |
|
119 |
scroller.snapBack true |
|
173 | 120 |
|
1948 | 121 |
;button.activeLevel 1 |
122 |
button.activeLevel -1 "/ 0 |
|
123 |
button.passiveLevel 2 |
|
1440 | 124 |
#if Display hasGreyscales |
1948 | 125 |
button.edgeStyle #soft |
126 |
; button.activeForegroundColor Color black |
|
127 |
; button.activeBackgroundColor Color white |
|
128 |
; button.enteredBackgroundColor Color lightGrey |
|
129 |
button.halfShadowColor =viewGrey darkened exactOrNearestOn:(Screen current) |
|
130 |
button.halfLightColor Color white |
|
1440 | 131 |
#else |
1948 | 132 |
button.activeBackgroundColor Color black |
133 |
button.activeForegroundColor Color white |
|
134 |
; button.enteredBackgroundColor Color grey:87.5 |
|
1440 | 135 |
#endif |
173 | 136 |
|
1951 | 137 |
radioButton.style #round3D |
138 |
||
1948 | 139 |
; arrowButton.upFormFile 'ScrollUp.w95.14.xbm'. |
140 |
; arrowButton.downFormFile 'ScrollDn.w95.14.xbm'. |
|
141 |
; arrowButton.leftFormFile 'ScrollLt.w95.14.xbm'. |
|
142 |
; arrowButton.rightFormFile 'ScrollRt.w95.14.xbm'. |
|
143 |
arrowButton.upFormFile 'ScrollUp.w95.11.xbm'. |
|
144 |
arrowButton.downFormFile 'ScrollDn.w95.11.xbm'. |
|
145 |
arrowButton.leftFormFile 'ScrollLt.w95.11.xbm'. |
|
146 |
arrowButton.rightFormFile 'ScrollRt.w95.11.xbm'. |
|
1670 | 147 |
|
1948 | 148 |
selection.rightArrowForm Image extent:16@12 depth:1 \ |
1670 | 149 |
bits:#[ \ |
150 |
2r00000000 2r00000000 \ |
|
151 |
2r00000000 2r00000000 \ |
|
152 |
2r00000000 2r00000000 \ |
|
153 |
2r00000010 2r00000000 \ |
|
154 |
2r00000011 2r00000000 \ |
|
155 |
2r00000011 2r10000000 \ |
|
156 |
2r00000011 2r11000000 \ |
|
157 |
2r00000011 2r10000000 \ |
|
158 |
2r00000011 2r00000000 \ |
|
159 |
2r00000010 2r00000000 \ |
|
160 |
2r00000000 2r00000000 \ |
|
161 |
2r00000000 2r00000000 \ |
|
162 |
] \ |
|
163 |
pad:8 |
|
1440 | 164 |
|
1948 | 165 |
comboView.level -1 |
166 |
comboView.downFormFile 'ScrollDn.w95.11.xbm'. |
|
1501 | 167 |
|
1948 | 168 |
selection.font Font family:'helvetica' face:'medium' style:'roman' size:12 |
1440 | 169 |
|
1948 | 170 |
html.backgroundColor Color white |
171 |
html.anchorForegroundColor Color green darkened |
|
172 |
html.visitedAnchorForegroundColor =html.anchorForegroundColor darkened darkened |
|
173 |
html.anchorUnderlines true |
|
1440 | 174 |
|
1948 | 175 |
activeHelp.backgroundColor Color yellow lightened |
176 |
activeHelp.borderWidth 2 |