The Trunk: EToys-hjh.279.mcz

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

The Trunk: EToys-hjh.279.mcz

commits-2
Marcel Taeumel uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-hjh.279.mcz

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

Name: EToys-hjh.279
Author: hjh
Time: 22 February 2017, 11:23:24.984746 am
UUID: 3f908905-74c3-4c1c-931c-7b440b143602
Ancestors: EToys-dtl.278

Two steps towards loading an EToys projects dropped on to the desktop.

Change
        StandardScriptingSystem>>baseColor
        StandardScriptingSystem>>borderColor

to use UserInterfaceTheme current instead of the old direct access to Preferences.

=============== Diff against EToys-dtl.278 ===============

Item was changed:
  ----- Method: StandardScriptingSystem>>baseColor (in category '*Etoys-Squeakland-tile colors') -----
  baseColor
+ ^  (UserInterfaceTheme current get: #titleColor for: #MenuMorph) ifNil: [ Color transparent]!
- ^ Preferences menuTitleColor!

Item was changed:
  ----- Method: StandardScriptingSystem>>borderColor (in category '*Etoys-Squeakland-tile colors') -----
  borderColor
+ ^ (UserInterfaceTheme current get: #borderColor for: #MenuMorph) ifNil: [(Color r: 0.2 g: 0.3 b: 0.9)]!
- ^ Preferences menuBorderColor!