The Trunk: PreferenceBrowser-pre.60.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: PreferenceBrowser-pre.60.mcz

commits-2
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!