[etoys-dev] Etoys: Morphic-kfr.16.mcz

kharness at illinois.edu kharness at illinois.edu
Sat Jun 26 14:41:22 EDT 2010


Bert,
This is a good idea too.
kh

---- Original message ----
>Date: Sat, 26 Jun 2010 15:30:29.458 0000
>From: commits at source.squeak.org  
>Subject: [etoys-dev] Etoys: Morphic-kfr.16.mcz  
>To: etoys-dev at squeakland.org
>
>Bert Freudenberg uploaded a new version of Morphic to project Etoys:
>http://source.squeak.org/etoys/Morphic-kfr.16.mcz
>
>==================== Summary ====================
>
>Name: Morphic-kfr.16
>Author: kfr
>Time: 14 June 2010, 12:04:14 am
>UUID: dce814a2-a2fc-6742-ad86-9c10e120ef9e
>Ancestors: Morphic-KR.15
>
>Adds a Color Palette to the Objects Tool Graphics category. Can be used interactively for picking colors or for random color picking via scripting. The color palette is hard to get hold of as a object otherwise
>
>=============== Diff against Morphic-KR.15 ===============
>
>Item was added:
>+ ----- Method: SketchMorph class>>newStandAlone (in category 'new-morph participation') -----
>+ newStandAlone
>+ 	^self asColorPalette:320 at 240 depth:16!
>
>Item was added:
>+ ----- Method: SketchMorph class>>asColorPalette:depth: (in category 'instance creation') -----
>+ asColorPalette: anExtent depth: aDepth 
>+ 	| form |
>+ 	form := Color colorPaletteForDepth: aDepth extent: anExtent.
>+ 	form := form
>+ 				copy: (0 @ 21 corner: anExtent x - 20 @ anExtent y).
>+ 	^ self withForm: form!
>
>Item was added:
>+ ----- Method: SketchMorph class>>descriptionForPartsBin (in category 'new-morph participation') -----
>+ descriptionForPartsBin
>+ 	^ self partName:	'Color Palette' translatedNoop
>+ 		categories:		{'Graphics' translatedNoop} 
>+ 		documentation:	'Display a palette of colors' translatedNoop!
>
>_______________________________________________
>etoys-dev mailing list
>etoys-dev at squeakland.org
>http://lists.squeakland.org/mailman/listinfo/etoys-dev


More information about the etoys-dev mailing list