A new version of Tools was added to project The Inbox:
http://source.squeak.org/inbox/Tools-kfr.598.mcz==================== Summary ====================
Name: Tools-kfr.598
Author: kfr
Time: 19 April 2015, 12:47:33.938 pm
UUID: ca8ee97f-ae32-dc45-bed5-a123d7c99186
Ancestors: Tools-mt.597
Use MenuMorph instead of Preferences
=============== Diff against Tools-mt.597 ===============
Item was changed:
----- Method: FileChooser>>createDialogBoxMorphicView (in category 'ui creation') -----
createDialogBoxMorphicView
| m |
m := MorphicModel new
layoutPolicy: ProportionalLayout new;
+ color: MenuMorph menuColor;
+ borderColor: MenuMorph menuBorderColor;
+ borderWidth: MenuMorph menuBorderWidth;
- color: Preferences menuColor;
- borderColor: Preferences menuBorderColor;
- borderWidth: Preferences menuBorderWidth;
layoutInset: 0;
extent: 600@400.
self setMorphicView: m.
^m!
Item was changed:
----- Method: FileChooser>>initializeAsDialogBox (in category 'initialization') -----
initializeAsDialogBox
self initializeBasicParameters.
self createDialogBoxUI.
self morphicView
useRoundedCorners;
+ color: MenuMorph menuColor;
+ adoptPaneColor: MenuMorph menuLineColor.
- color: Preferences menuColor;
- adoptPaneColor: Preferences menuLineColor.
self
+ setCaptionColor: MenuMorph menuTitleColor;
+ setButtonColor: MenuMorph menuColor.!
- setCaptionColor: Preferences menuTitleColor;
- setButtonColor: Preferences menuColor.!