[etoys-dev] Etoys: Etoys-kfr.144.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Oct 25 02:03:14 EDT 2012


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

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

Name: Etoys-kfr.144
Author: kfr
Time: 25 October 2012, 8:01:58 am
UUID: 400dd4a4-2f83-9d42-a391-c486542b1de1
Ancestors: Etoys-kfr.143

Add Etoy interfaces to ScratchPlugin picture manipulation methods
http://tracker.squeakland.org/browse/SQ-996

=============== Diff against Etoys-kfr.143 ===============

Item was added:
+ ----- Method: Player>>blur: (in category 'sketch filters') -----
+ blur: aNumber
+ 	self sendMessageToCostume: #filtersAdd: with: { #blur:form: . aNumber}!

Item was added:
+ ----- Method: Player>>brightnessShift: (in category 'sketch filters') -----
+ brightnessShift: aNumber
+ 	self sendMessageToCostume: #filtersAdd: with: { #brightnessShift:form: . aNumber}!

Item was added:
+ ----- Method: Player>>fishEye: (in category 'sketch filters') -----
+ fishEye: aNumber
+ 	self sendMessageToCostume: #filtersAdd: with: { #fishEye:form: . aNumber}!

Item was added:
+ ----- Method: Player>>hueShift: (in category 'sketch filters') -----
+ hueShift: aNumber 
+ 	self sendMessageToCostume: #filtersAdd: with: {#hueShift:form:. aNumber}!

Item was added:
+ ----- Method: Player>>removeFilters (in category 'sketch filters') -----
+ removeFilters
+ 	self sendMessageToCostume: #removeFilters!

Item was added:
+ ----- Method: Player>>saturationShift: (in category 'sketch filters') -----
+ saturationShift: aNumber
+ 	self sendMessageToCostume: #filtersAdd: with: { #saturationShift:form: . aNumber}!

Item was added:
+ ----- Method: Player>>whirl: (in category 'sketch filters') -----
+ whirl: aNumber
+ 	self sendMessageToCostume: #filtersAdd: with: { #whirl:form: . aNumber}!

Item was added:
+ ----- Method: SketchMorph class>>additionsToViewerCategoryGraphicsFilters (in category '*eToys-scripting') -----
+ additionsToViewerCategoryGraphicsFilters
+ 	"Answer a list of (<categoryName> <list of category specs>) pairs that characterize the phrases this kind of morph wishes to add to various Viewer categories."
+ 
+ 	^ #(
+ #'graphics filters' 
+ (
+ (command hueShift: 'Shift the hue of the pictures colors. -180 to 180' Number)
+ (command brightnessShift: 'Shift the brightness of the picture -100 to 100' Number)
+ (command saturationShift: 'Shift the saturation of the pictures colors -100 to 100' Number)
+ (command blur: 'Blur the picture. 1 to 10' Number)
+ (command fishEye: 'Make a fish eye effect on the picture. -10 and up' Number)
+ (command whirl: 'Make a whirl effect on the picture.' Number)
+ (command removeFilters 'Remove the picture filters' )
+ ))
+ 
+ 
+ !



More information about the etoys-dev mailing list