6540
|
1 |
; View defaultStyle:#mswindowsVista
|
|
2 |
;
|
6583
|
3 |
; $Header: /cvs/stx/stx/libview/styles/macosx.style,v 1.4 2014-10-21 19:39:18 cg Exp $
|
6540
|
4 |
|
|
5 |
#include 'Adwaita.style'
|
|
6 |
|
|
7 |
name #macosx
|
|
8 |
|
|
9 |
ToolbarIconLibrary ?(Smalltalk at:#MacOSXToolbarIconLibrary) ? (Smalltalk at:#XPToolbarIconLibrary) ? GenericToolbarIconLibrary
|
|
10 |
|
|
11 |
;
|
|
12 |
; unfinished
|
|
13 |
;
|
|
14 |
|
|
15 |
;
|
|
16 |
; notice: the values below
|
|
17 |
; are not used when running under native Windows
|
|
18 |
; (uses system-settings values then)
|
|
19 |
;
|
6583
|
20 |
; selectionBlue Color rgbValue:16r2F7FFF
|
6540
|
21 |
|
|
22 |
viewGrey (Color rgbValue:16rEDEDED)
|
|
23 |
viewLightGrey Color white
|
|
24 |
lightColor Color white
|
|
25 |
halfShadowColor (Color grey:80)
|
|
26 |
halfLightColor =viewGrey
|
|
27 |
shadowColor (Color grey:60)
|
|
28 |
|
|
29 |
comment 'OSX lookalike (unfinished)'
|
|
30 |
previewFileName 'viewStyleSample_macosx.png'
|
|
31 |
|
|
32 |
#if (Language == #german) or:[Language == #de]
|
|
33 |
comment 'an MacOSX angelehnter Stil (unvollständig)'
|
|
34 |
#endif
|
|
35 |
|
|
36 |
#if (Language == #french) or:[Language == #fr]
|
|
37 |
comment 'Un style qui résemble MacOSX (incomplet)'
|
|
38 |
#endif
|
|
39 |
|
|
40 |
selection.hilightFrameColor nil
|
|
41 |
selection.hilightBackgroundColorNoFocus (Color grey:75)
|
|
42 |
selection.hilightForegroundColorNoFocus (Color black)
|
|
43 |
|
|
44 |
slider.NTallyMarks nil
|
|
45 |
scroller.NTallyMarks nil
|
|
46 |
scroller.tallyLevel nil
|
|
47 |
scroller.tallyInset nil
|
|
48 |
scroller.tallyDistance nil
|
|
49 |
|
|
50 |
|
|
51 |
menu.enteredLevel 0
|
|
52 |
|
|
53 |
;; enable this, when old menuView cares for it also
|
|
54 |
;; menu.itemMargin 1
|
6583
|
55 |
menu.hilightBackgroundColor (Color rgbValue:16rEDEDED)
|
6540
|
56 |
menu.selectionFollowsMouse true
|
|
57 |
menu.enteredBackgroundColor =menu.hilightBackgroundColor
|
|
58 |
menu.enteredForegroundColor =menu.hilightForegroundColor
|
|
59 |
menu.iconIndicationOn.bitmapFile 'CheckOn_xp.xpm'
|
|
60 |
menu.iconIndicationOff.bitmapFile 'CheckOff_xp.xpm'
|
|
61 |
menu.iconRadioOn.bitmap (Windows8ToolbarIconLibrary radioOn12x12Icon)
|
|
62 |
menu.iconRadioOff.bitmap (Windows8ToolbarIconLibrary radioOff12x12Icon)
|
|
63 |
menu.iconDisabledIndicationOn.bitmapFile 'CheckOn_disabled_xp.xpm'
|
|
64 |
menu.iconDisabledIndicationOff.bitmapFile 'CheckOff_disabled_xp.xpm'
|
|
65 |
menu.iconDisabledRadioOn.bitmap (Windows8ToolbarIconLibrary radioOnDisabled12x12Icon)
|
|
66 |
menu.iconDisabledRadioOff.bitmap (Windows8ToolbarIconLibrary radioOffDisabled12x12Icon)
|
|
67 |
|
6583
|
68 |
|
6540
|
69 |
button.edgeStyle nil
|
|
70 |
button.borderWidth 1
|
|
71 |
button.activeLevel 0
|
|
72 |
button.passiveLevel 0
|
|
73 |
|
|
74 |
button.frameColor (Color redByte:16rAC greenByte:16rAC blueByte:16rAC)
|
|
75 |
button.enteredFrameColor (Color red:50 green:70 blue:92)
|
|
76 |
button.activeFrameColor (Color red:34 green:62 blue:90)
|
|
77 |
button.enteredBackgroundColor ((GradientBackground vertical:(Color rgbValue:16rEBF3FB) to:(Color rgbValue:16rDCEBFB)) usedLength:24)
|
|
78 |
button.activeBackgroundColor ((GradientBackground vertical:(Color rgbValue:16rDAEBFB) to:(Color rgbValue:16rC3E0FB)) usedLength:24)
|
|
79 |
button.activeForegroundColor (Color black)
|
|
80 |
|
|
81 |
arrowButton.borderWidth 0
|
|
82 |
checkToggle.borderWidth 0
|
|
83 |
radioButton.borderWidth 0
|
|
84 |
comboView.button.borderWidth 0
|
|
85 |
|
|
86 |
comboView.downForm [Windows8ToolbarIconLibrary scrollDownOffIcon]
|
|
87 |
comboView.disabledDownForm [Windows8ToolbarIconLibrary scrollDownOffIcon]
|
|
88 |
comboView.enteredDownForm [Windows8ToolbarIconLibrary scrollDownOffEntered2Icon]
|
|
89 |
comboView.activeDownForm [Windows8ToolbarIconLibrary scrollDownActiveIcon]
|
|
90 |
; comboView.downFormFile 'ComboDn_xp.xpm'.
|
|
91 |
; comboView.disabledDownFormFile 'ComboDn_disabled_xp.xpm'.
|
|
92 |
; comboView.activeDownFormFile 'ComboDn_active_xp.xpm'.
|
|
93 |
; comboView.enteredDownFormFile 'ComboDn_entered_xp.xpm'.
|
|
94 |
comboView.button.activeLevel 0
|
|
95 |
comboView.button.passiveLevel 0
|
|
96 |
comboView.button.activeBackgroundColor =viewGrey
|
|
97 |
; comboView.button.activeBackgroundColor (Color white)
|
|
98 |
; comboView.button.backgroundColor (Color white)
|
|
99 |
; comboView.level 0
|
|
100 |
|
|
101 |
; selection.highlightEnterItem true "/ underline-highlight item under cursor
|
|
102 |
|
6547
|
103 |
scrollBar.position #right
|
|
104 |
scrollBar.buttonPositions #bottom
|
|
105 |
|
6540
|
106 |
;scroller.viewBackground (Color redByte:16rF0 greenByte:16rF0 blueByte:16rF0)
|
|
107 |
;scroller.thumbColor (Color redByte:16rCD greenByte:16rCD blueByte:16rCD)
|
|
108 |
;scroller.thumbLightColor =scroller.thumbColor
|
|
109 |
;scroller.thumbShadowColor =scroller.thumbColor
|
|
110 |
;scroller.thumbEnteredColor (Color redByte:16rA6 greenByte:16rA6 blueByte:16rA6)
|
|
111 |
;scroller.thumbActiveColor (Color redByte:16r60 greenByte:16r60 blueByte:16r60)
|
|
112 |
;scroller.thumbLevel 0
|
|
113 |
;scroller.thumbInset 1
|
|
114 |
;scroller.thumbFrameColor nil
|
|
115 |
;scroller.thumbEdgeStyle nil
|
|
116 |
;scroller.NTallyMarks nil
|
|
117 |
;scroller.tallyLevel nil
|
|
118 |
;scroller.tallyInset nil
|
|
119 |
;scroller.tallyDistance nil
|
|
120 |
;scroller.snapBackDistance 100
|
|
121 |
;scroller.minThumbSize 16
|
|
122 |
|
|
123 |
;scroller.vista3DStyle false
|
|
124 |
;
|
|
125 |
;miniScroller.size 3 "/ in millimeters
|
|
126 |
;
|
|
127 |
;
|
|
128 |
;arrowButton.upForm [Windows8ToolbarIconLibrary scrollUpOffIcon]
|
|
129 |
;arrowButton.enteredUpForm [Windows8ToolbarIconLibrary scrollUpOffEntered2Icon]
|
|
130 |
;arrowButton.activeUpForm [Windows8ToolbarIconLibrary scrollUpActiveIcon]
|
|
131 |
;arrowButton.disabledUpForm [Windows8ToolbarIconLibrary scrollUpOffIcon]
|
|
132 |
;
|
|
133 |
;arrowButton.downForm [Windows8ToolbarIconLibrary scrollDownOffIcon]
|
|
134 |
;arrowButton.enteredDownForm [Windows8ToolbarIconLibrary scrollDownOffEntered2Icon]
|
|
135 |
;arrowButton.activeDownForm [Windows8ToolbarIconLibrary scrollDownActiveIcon]
|
|
136 |
;arrowButton.disabledDownForm [Windows8ToolbarIconLibrary scrollDownOffIcon]
|
|
137 |
;
|
|
138 |
;arrowButton.leftForm [Windows8ToolbarIconLibrary scrollLeftOffIcon]
|
|
139 |
;arrowButton.enteredLeftForm [Windows8ToolbarIconLibrary scrollLeftOffEntered2Icon]
|
|
140 |
;arrowButton.activeLeftForm [Windows8ToolbarIconLibrary scrollLeftActiveIcon]
|
|
141 |
;arrowButton.disabledLeftForm [Windows8ToolbarIconLibrary scrollLeftOffIcon]
|
|
142 |
;
|
|
143 |
;arrowButton.rightForm [Windows8ToolbarIconLibrary scrollRightOffIcon]
|
|
144 |
;arrowButton.enteredRightForm [Windows8ToolbarIconLibrary scrollRightOffEntered2Icon]
|
|
145 |
;arrowButton.activeRightForm [Windows8ToolbarIconLibrary scrollRightActiveIcon]
|
|
146 |
;arrowButton.disabledRightForm [Windows8ToolbarIconLibrary scrollRightOffIcon]
|
|
147 |
;
|
|
148 |
;
|
|
149 |
;arrowButton.leftFormFile 'ScrollLt.xp.xpm'
|
|
150 |
;arrowButton.enteredLeftFormFile 'ScrollLt_entered.xp.xpm'
|
|
151 |
;arrowButton.activeLeftFormFile 'ScrollLt_active.xp.xpm'
|
|
152 |
;arrowButton.disabledLeftFormFile 'ScrollLt_disabled.xp.xpm'
|
|
153 |
;
|
|
154 |
;arrowButton.rightFormFile 'ScrollRt.xp.xpm'
|
|
155 |
;arrowButton.enteredRightFormFile 'ScrollRt_entered.xp.xpm'
|
|
156 |
;arrowButton.activeRightFormFile 'ScrollRt_active.xp.xpm'
|
|
157 |
;arrowButton.disabledRightFormFile 'ScrollRt_disabled.xp.xpm'
|
|
158 |
;
|
|
159 |
;arrowButton.passiveLevel 0
|
|
160 |
;arrowButton.activeLevel 0
|
|
161 |
;arrowButton.backgroundColor =scroller.viewBackground
|
|
162 |
;arrowButton.activeBackgroundColor =scroller.viewBackground
|
|
163 |
;
|
|
164 |
;noteBook.backgroundColor =lightenedViewGrey
|
|
165 |
;noteBook.activeBackgroundColor =viewBackground
|
|
166 |
;noteBook.foregroundColor Color black
|
|
167 |
;noteBook.lightColor =darkenedViewGrey
|
|
168 |
;noteBook.shadowColor =darkenedViewGrey
|
|
169 |
;noteBook.passiveBackgroundColor =lightenedViewGrey
|
|
170 |
;
|
|
171 |
;checkToggle.bitmapFile 'CheckOn10_xp.xpm'
|
|
172 |
;radioButton.passiveImage [Windows8ToolbarIconLibrary radioOff12x12Icon]
|
|
173 |
;radioButton.activeImage [Windows8ToolbarIconLibrary radioOn12x12Icon]
|
|
174 |
;radioButton.enteredPassiveImage [Windows8ToolbarIconLibrary radioOffEntered12x12Icon]
|
|
175 |
;radioButton.enteredActiveImage [Windows8ToolbarIconLibrary radioOnEntered12x12Icon]
|
|
176 |
;radioButton.disabledPassiveImage [Windows8ToolbarIconLibrary radioOffDisabled12x12Icon]
|
|
177 |
;radioButton.disabledActiveImage [Windows8ToolbarIconLibrary radioOnDisabled12x12Icon]
|
|
178 |
;checkToggle.disabledActiveImage [Windows8ToolbarIconLibrary checkToggleOnDisabledIcon]
|
|
179 |
;checkToggle.disabledPassiveImage [Windows8ToolbarIconLibrary checkToggleOffDisabledIcon]
|
|
180 |
;checkToggle.activeImage [Windows8ToolbarIconLibrary checkToggleOnIcon]
|
|
181 |
;checkToggle.passiveImage [Windows8ToolbarIconLibrary checkToggleOffIcon]
|
|
182 |
;checkToggle.enteredPassiveImage [Windows8ToolbarIconLibrary checkToggleOffEnteredIcon]
|
|
183 |
;checkToggle.enteredActiveImage [Windows8ToolbarIconLibrary checkToggleOnEnteredIcon]
|
|
184 |
;checkToggle.activeLevel 0
|
|
185 |
;checkToggle.passiveLevel 0
|
|
186 |
;checkToggle.disabledBackgroundColor =viewGrey
|
|
187 |
;checkToggle.backgroundColor =viewGrey
|
|
188 |
;checkToggle.activeBackgroundColor =viewGrey
|
|
189 |
;
|
|
190 |
;menu.iconIndicationOn [Windows8ToolbarIconLibrary checkToggleOnIcon]
|
|
191 |
;menu.iconIndicationOff [Windows8ToolbarIconLibrary checkToggleOffIcon]
|
|
192 |
;menu.iconDisabledIndicationOn [Windows8ToolbarIconLibrary checkToggleOffDisabledIcon]
|
|
193 |
;menu.iconDisabledIndicationOff [Windows8ToolbarIconLibrary checkToggleOffIcon]
|
|
194 |
;
|
|
195 |
;noteBook.activeTabMarkerColor (Color red:100 green:78 blue:23)
|
|
196 |
;
|
|
197 |
;popup.borderColor (Color grey:50)
|
|
198 |
;popup.borderWidth 1
|
|
199 |
;
|
|
200 |
;editField.level 0
|
|
201 |
;editField.borderWidth 1
|
|
202 |
;editField.borderColor (Color redByte:175 greenByte:190 blueByte:240)
|
|
203 |
;
|
|
204 |
;comboView.level 0
|
|
205 |
;comboView.borderWidth 1
|
|
206 |
;comboView.borderColor (Color redByte:175 greenByte:190 blueByte:240)
|
|
207 |
;
|
|
208 |
;; label.foregroundColor (Color redByte:0 greenByte:70 blueByte:213)
|
|
209 |
;; button.foregroundColor (Color black)
|
|
210 |
;; radioButton.foregroundColor (Color black)
|
|
211 |
;; checkBox.labelForegroundColor (Color black)
|
|
212 |
;
|
|
213 |
;; noteBook.foregroundColor (Color redByte:0 greenByte:70 blueByte:213)
|
|
214 |
;framedBox.foregroundColor (Color redByte:0 greenByte:70 blueByte:213)
|
|
215 |
;
|
6548
|
216 |
variablePanel.handleLevel 0
|
|
217 |
variablePanel.handleStyle #iris
|
|
218 |
|
6540
|
219 |
;
|
|
220 |
;infoBox.iconFile 'bitmaps/Information_XP.xpm'
|
|
221 |
;warningBox.iconFile 'bitmaps/Warning_XP.xpm'
|
|
222 |
;requestBox.iconFile 'bitmaps/Request_XP.xpm'
|
|
223 |
;errorBox.iconFile 'bitmaps/Error_XP.xpm'
|
|
224 |
;
|
|
225 |
;selection.backgroundColor (Color white)
|
|
226 |
;
|
|
227 |
;;selection.hilightForegroundColor (Color black)
|
|
228 |
;;selection.hilightBackgroundColor (Color rgbValue:16rDFF0F8)
|
|
229 |
;;selection.hilightFrameColor (Color rgbValue:16r96D9F9)
|
|
230 |
;
|
|
231 |
;;;;menu.hilightForegroundColor (Color black)
|
|
232 |
;;;;menu.hilightBackgroundColor (Color rgbValue:16rDAEBF3)
|
|
233 |
;;;;menu.hilightFrameColor (Color rgbValue:16rA8D8EB)
|
|
234 |
;
|
|
235 |
;editField.selectionBackgroundColor =selectionBlue
|
|
236 |
;editField.selectionForegroundColor (Color white)
|
|
237 |
|
|
238 |
;scrolledView.level 0
|