-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6fe7689
commit b397d38
Showing
12 changed files
with
436 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Class { | ||
#name : 'MfPianoBlackNoteElement', | ||
#superclass : 'ToElement', | ||
#category : 'Mooflod-PianoKeyboardWidget', | ||
#package : 'Mooflod', | ||
#tag : 'PianoKeyboardWidget' | ||
} | ||
|
||
{ #category : 'instance creation' } | ||
MfPianoBlackNoteElement class >> newWithColor: aColor [ | ||
|
||
^ self new | ||
background: aColor; | ||
yourself | ||
] | ||
|
||
{ #category : 'initialization' } | ||
MfPianoBlackNoteElement >> initialize [ | ||
|
||
super initialize. | ||
self size: 20 @ 75. | ||
self geometry: BlRectangleGeometry new. | ||
self constraintsDo: [ :e | e frame vertical alignTop ] | ||
] |
Oops, something went wrong.