[squeak-dev] The Trunk: Morphic-mt.1272.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Aug 13 08:00:48 UTC 2016


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)]!



More information about the Squeak-dev mailing list