[etoys-dev] Etoys: Protocols-kfr.6.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Mar 2 20:08:31 EST 2012


Karl Ramberg uploaded a new version of Protocols to project Etoys:
http://source.squeak.org/etoys/Protocols-kfr.6.mcz

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

Name: Protocols-kfr.6
Author: kfr
Time: 3 March 2012, 2:09:44 am
UUID: 7202c542-2864-1c43-9f7e-2a7468e520eb
Ancestors: Protocols-bf.5

Readout tile for points

=============== Diff against Protocols-bf.5 ===============

Item was changed:
  DataType subclass: #PointType
  	instanceVariableNames: ''
  	classVariableNames: ''
  	poolDictionaries: ''
  	category: 'Protocols-Type Vocabularies'!
+ 
+ !PointType commentStamp: 'sw 2/8/2012 17:57' prior: 0!
+ A value type whose representing Point-valued variables.!

Item was added:
+ ----- Method: PointType>>newReadoutTile (in category 'tiles') -----
+ newReadoutTile
+ 	"Answer a tile that can serve as a readout for data of this type"
+ 
+ 	| aTile |
+ 	aTile := NumericReadoutTile new typeColor: Color lightGray lighter.
+ 	aTile setProperty: #PointValued toValue: true.
+ 	^ aTile!



More information about the etoys-dev mailing list