[squeak-dev] The Trunk: Graphics-cmm.185.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Jun 15 20:06:50 UTC 2011


Chris Muller uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-cmm.185.mcz

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

Name: Graphics-cmm.185
Author: cmm
Time: 15 June 2011, 3:05:40.788 pm
UUID: 922b52de-f4f8-3b44-809d-2c37331ccff5
Ancestors: Graphics-cmm.184

Removed position accessors from Form, since they were only used for progress-bar positioning but now we're handing back the boundingBox directly to perform on.

=============== Diff against Graphics-cmm.184 ===============

Item was removed:
- ----- Method: Form>>bottomCenter (in category 'display box access') -----
- bottomCenter
- 	^ self boundingBox bottomCenter!

Item was removed:
- ----- Method: Form>>bottomLeft (in category 'display box access') -----
- bottomLeft
- 	^ self boundingBox bottomLeft!

Item was removed:
- ----- Method: Form>>bottomRight (in category 'display box access') -----
- bottomRight
- 	^ self boundingBox bottomRight!

Item was changed:
  ----- Method: Form>>center (in category 'display box access') -----
  center
+ 	"Note that offset is ignored here.  Are we really going to embrace offset?  "
+ 	^ (width @ height) // 2!
- 	^ self boundingBox center!

Item was removed:
- ----- Method: Form>>leftCenter (in category 'display box access') -----
- leftCenter
- 	^ self boundingBox leftCenter!

Item was removed:
- ----- Method: Form>>rightCenter (in category 'display box access') -----
- rightCenter
- 	^ self boundingBox rightCenter!

Item was removed:
- ----- Method: Form>>topCenter (in category 'display box access') -----
- topCenter
- 	^ self boundingBox topCenter!

Item was removed:
- ----- Method: Form>>topLeft (in category 'display box access') -----
- topLeft
- 	^ self boundingBox topLeft!

Item was removed:
- ----- Method: Form>>topRight (in category 'display box access') -----
- topRight
- 	^ self boundingBox topRight!




More information about the Squeak-dev mailing list