[etoys-dev] Etoys: MorphicExtras-kfr.41.mcz
commits at source.squeak.org
commits at source.squeak.org
Thu Oct 13 16:48:09 EDT 2011
Karl Ramberg uploaded a new version of MorphicExtras to project Etoys:
http://source.squeak.org/etoys/MorphicExtras-kfr.41.mcz
==================== Summary ====================
Name: MorphicExtras-kfr.41
Author: kfr
Time: 13 October 2011, 10:47:37 pm
UUID: 999c47e0-2257-0249-8f43-87899271a4d4
Ancestors: MorphicExtras-kfr.40
Some more fixing.
I'll say this is pretty much good to gow now.
Famous last words...
=============== Diff against MorphicExtras-kfr.40 ===============
Item was changed:
----- Method: WebCamMorph class>>additionsToViewerCategories (in category 'scripting') -----
additionsToViewerCategories
"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."
^ #(
(#'camera settings' (
(slot resolution '160x120, 320x240 or 640x480'
WebCamResolution readWrite Player getWebCamResolution Player setWebCamResolution:)
(slot cameraIsOn 'Whether the camera is on/off' Boolean readWrite Player getWebCamIsOn Player setWebCamIsOn:)
(slot useFrameSize 'Resize the morph to match the cameras frame size'
Boolean readWrite Player getUseFrameSize Player setUseFrameSize:)
+ (slot lastFrame 'A morph with the last frame' Player readOnly Player getLastFrame unused unused)
(slot graphic 'The picture currently being worn' Graphic readOnly Player getVideoGraphic unused unused)
))
)
!
Item was changed:
----- Method: WebCamMorph>>getLastFrame (in category 'e-toy - settings') -----
getLastFrame
+ ^ SketchMorph withForm: displayForm deepCopy!
- ^ SketchMorph withForm: displayForm !
More information about the etoys-dev
mailing list