[squeak-dev] The Inbox: MorphicExtras-ct.265.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Sep 21 14:31:21 UTC 2019


A new version of MorphicExtras was added to project The Inbox:
http://source.squeak.org/inbox/MorphicExtras-ct.265.mcz

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

Name: MorphicExtras-ct.265
Author: ct
Time: 21 September 2019, 4:31:18.110719 pm
UUID: ab3cc325-22f4-cd4b-b806-2125e4ed2e08
Ancestors: MorphicExtras-mt.263

Clean up PianoKeyboardMorph initialization

=============== Diff against MorphicExtras-mt.263 ===============

Item was changed:
  ----- Method: PianoKeyboardMorph>>initialize (in category 'initialization') -----
  initialize
  	"initialize the state of the receiver"
  	super initialize.
  	""
  
  	whiteKeyColor := Color gray: 0.95.
  	blackKeyColor := Color black.
  	playingKeyColor := Color red.
  	nOctaves := 6.
  	self buildKeyboard.
+ 	soundPrototype := FMSound new.!
- 	soundPrototype := FMSound brass1 duration: 9.9.
- 	soundPrototype := FMSound new.
- !

Item was added:
+ ----- Method: PianoKeyboardMorph>>initializeToStandAlone (in category 'initialization') -----
+ initializeToStandAlone
+ 
+ 	super initializeToStandAlone.
+ 	soundPrototype := FMSound brass1 duration: 9.9.!



More information about the Squeak-dev mailing list