The Trunk: Morphic-mt.1272.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.1272.mcz

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

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

Name: Morphic-mt.1272
Author: mt
Time: 13 August 2016, 10:00:05.281008 am
UUID: 7b157358-ad69-ec40-9b8e-ae321fcd28bb
Ancestors: Morphic-nice.1271

Decide for each corner grip individually whether to draw it or not.

=============== Diff against Morphic-nice.1271 ===============

Item was added:
+ ----- Method: CornerGripMorph>>drawCornerResizeHandles (in category 'accessing') -----
+ drawCornerResizeHandles
+ ^ self valueOfProperty: #drawCornerResizeHandles ifAbsent: [self class drawCornerResizeHandles]!

Item was added:
+ ----- Method: CornerGripMorph>>drawCornerResizeHandles: (in category 'accessing') -----
+ drawCornerResizeHandles: aBoolean
+ self setProperty: #drawCornerResizeHandles toValue: aBoolean.
+ self changed.!

Item was changed:
  ----- Method: CornerGripMorph>>drawOn: (in category 'drawing') -----
  drawOn: aCanvas
 
+ self drawCornerResizeHandles
- self class drawCornerResizeHandles
  ifTrue: [
  bounds := self bounds.
  aCanvas
  translucentImage: (self alphaHandle)
  at: (bounds origin )
  sourceRect: (self handleOrigin extent: bounds extent)]!