[ENH] PianoRollScoreMorph zooming III

Russell Allen russell.allen at firebirdmedia.com
Mon Nov 1 03:41:17 UTC 1999


--============_-1270694817==_============
Content-Type: text/plain; charset="us-ascii"


Hi again,

I finally noticed that the changeset I inflicted on the ether last time was
seriously flawed, and am putting out a new version, which should be better.

This should do the following to PianoRollScoreMorphs:

* make it possible to zoom in and out on the morph (in y axis)
* restrict notes to their proper range when editing a score
* restrict the size of the morph to the proper limits
* when drawing clefs, show lines for white notes as well as black, so that
when you zoom in you can still see where the notes are :)

And also:

* fix an initialisation bug I forgot about last time
* draw in the names of the notes where there is space (ie 'C4' etc)
* improve on the positioning of the note submorphs

Still to do:

* work out how to play notes when the submorphs are not being displayed (ie
fix notesInRect: timeSlice so it works properly again).

Some of the code in PianoRollScoreMorphs appears to assume that all notes
which are playable have morphs which are currently viewable.  Zooming in on
the score breaks this assumption, and I'm slowly working out how to
approach this.

:)
Russell

--============_-1270694817==_============
Content-Type: text/plain; name="PianoRoll.1Nove225pm.cs"
 ; x-mac-type="54455854"
 ; x-mac-creator="522A6368"
Content-Disposition: attachment; filename="PianoRoll.1Nove225pm.cs"
Content-Transfer-Encoding: imap_stub

0,722,2,16176,0,

--============_-1270694817==_============
Content-Type: text/plain; charset="us-ascii"


----------------------------------------
Russell Allen

russell.allen at firebirdmedia.com

----------------------------------------
--============_-1270694817==_============--





More information about the Squeak-dev mailing list