Karl Ramberg uploaded a new version of MorphicExtras to project Etoys: http://source.squeak.org/etoys/MorphicExtras-kfr.44.mcz
==================== Summary ====================
Name: MorphicExtras-kfr.44 Author: kfr Time: 14 October 2011, 8:34:30 pm UUID: 2921617e-75ad-3046-b951-ab694f79cc32 Ancestors: MorphicExtras-kfr.43
Add menu on off toggle
=============== Diff against MorphicExtras-kfr.43 ===============
Item was added: + ----- Method: WebCamMorph>>addCustomMenuItems:hand: (in category 'menu') ----- + addCustomMenuItems: aMenu hand: aHandMorph + | item | + super addCustomMenuItems: aMenu hand: aHandMorph. + item := (camIsOn == true) + ifTrue: ['turn camera off' translated] + ifFalse: ['turn camera on' translated]. + aMenu + add: item translated + target: self + action: #toggleCameraOnOff. + + + + + !
Item was added: + ----- Method: WebCamMorph>>toggleCameraOnOff (in category 'menu') ----- + toggleCameraOnOff + camIsOn + ifTrue:[self off] + ifFalse:[self on]!
etoys-dev@lists.squeakfoundation.org