The Trunk: Morphic-mt.1239.mcz

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

The Trunk: Morphic-mt.1239.mcz

commits-2
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1239.mcz

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

Name: Morphic-mt.1239
Author: mt
Time: 6 August 2016, 9:32:44.887437 am
UUID: 5de15dcd-7f64-bb41-9268-ee842ffe5d52
Ancestors: Morphic-mt.1238

Give all existing applications the chance to NOT be themed by the new UI theming mechanism. For example, you can use pluggable buttons and set #noUserInterfaceTheme. Then you can just configure #color, #borderWidth, etc. as usual.

Note that this affects primarily morphs that applications use without making specific subclasses such as PluggableButtonMorph, PluggableListMorph, etc. Via subclassing, one can always override Morph >> #canApplyUserInterfaceTheme.

=============== Diff against Morphic-mt.1238 ===============

Item was changed:
  ----- Method: Morph>>canApplyUserInterfaceTheme (in category 'visual properties') -----
  canApplyUserInterfaceTheme
+ ^ self isInWorld and: [(self hasProperty: #noUserInterfaceTheme) not]!
- ^ self isInWorld!