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

commits at source.squeak.org commits at source.squeak.org
Fri May 27 19:36:26 UTC 2011


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

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

Name: Graphics-cmm.183
Author: cmm
Time: 27 May 2011, 2:35:44.268 pm
UUID: 08000000-1508-b80b-1508-b80b14000000
Ancestors: Graphics-nice.182

Added remaining Rectangle position accessors (besides just #center) to Form, for placement convenience.

=============== Diff against Graphics-nice.182 ===============

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

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

Item was changed:
+ ----- Method: Form>>height (in category 'display box access') -----
- ----- Method: Form>>height (in category 'accessing') -----
  height
  	^ height!

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

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

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

Item was changed:
+ ----- Method: Form>>width (in category 'display box access') -----
- ----- Method: Form>>width (in category 'accessing') -----
  width
  	^ width!




More information about the Squeak-dev mailing list