[squeak-dev] The Trunk: PreferenceBrowser-pre.60.mcz

commits at source.squeak.org commits at source.squeak.org
Fri May 20 08:12:23 UTC 2016


Patrick Rein uploaded a new version of PreferenceBrowser to project The Trunk:
http://source.squeak.org/trunk/PreferenceBrowser-pre.60.mcz

==================== Summary ====================

Name: PreferenceBrowser-pre.60
Author: pre
Time: 20 May 2016, 10:12:16.873592 am
UUID: b7bf981d-b37d-4f6a-a298-921f729da05d
Ancestors: PreferenceBrowser-kfr.59

Removes the unused useGradientFill method and thereby also the PreferenceBrowser dependency on the Balloon package

=============== Diff against PreferenceBrowser-kfr.59 ===============

Item was removed:
- ----- Method: PBColorPreferenceView>>useGradientFill (in category 'user interface') -----
- useGradientFill
- 	
- 	"Make receiver use a solid fill style (e.g., a simple color)"
- 	
- 	
- 	| color1 color2 fill |
- 	self preference preferenceValue isGradientFill ifTrue:[^self]. "Already done"
- 	color1 := Color white darker.
- 	color2 := self preference preferenceValue asColor.
- 	fill := GradientFillStyle ramp: {0.0 -> color1. 1.0 -> color2}.
- 	fill origin: ActiveWorld topLeft.
- 	fill direction: 0 @ ActiveWorld bounds extent y.
- 	fill normal: ActiveWorld bounds extent x @ 0.
- 	fill radial: false.
- 	self preference preferenceValue: fill.
- 	button label: self preference preferenceValue asString;
- 	color: self preference preferenceValue!



More information about the Squeak-dev mailing list