[squeak-dev] The Trunk: Graphics-mtf.172.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Dec 31 05:46:20 UTC 2010


Matthew Fulmer uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-mtf.172.mcz

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

Name: Graphics-mtf.172
Author: mtf
Time: 31 December 2010, 12:44:35.01 am
UUID: e4b5eb65-5a67-2e46-86e3-78d51d812047
Ancestors: Graphics-nice.171

added an override from tweak for putting tweak widgets in text

=============== Diff against Graphics-nice.171 ===============

Item was changed:
  ----- Method: DisplayScanner>>placeEmbeddedObject: (in category 'scanning') -----
  placeEmbeddedObject: anchoredMorph
  	anchoredMorph relativeTextAnchorPosition ifNotNil:[
  		anchoredMorph position: 
  			anchoredMorph relativeTextAnchorPosition +
  			(anchoredMorph owner textBounds origin x @ 0)
  			- (0 at morphicOffset y) + (0 at lineY).
  		^true
  	].
  	(super placeEmbeddedObject: anchoredMorph) ifFalse: [^ false].
+ 	(anchoredMorph isMorph or: [anchoredMorph isPrimitiveCostume]) ifTrue: [
- 	anchoredMorph isMorph ifTrue: [
  		anchoredMorph position: ((destX - anchoredMorph width)@lineY) - morphicOffset
  	] ifFalse: [
  		destY := lineY.
  		runX := destX.
  		anchoredMorph 
  			displayOn: bitBlt destForm 
  			at: destX - anchoredMorph width @ destY
  			clippingBox: bitBlt clipRect
  	].
  	^ true!




More information about the Squeak-dev mailing list