On Friday 04 February 2005 07:59 pm, William wrote: > NadaSpam wrote: > > If you have a generic Staff, the way I see it is that some derived > > classes might be CommonStaff, PianoStaff, TabStaff, PercussionStaff, > > ChordStaff. > > Why not work from RG's existing classes LinedStaff -> NotationStaff?
See the "thoughts on tablature" thread. > > They would need some smarts built into them, or you'd end up with a > > fragile system. A PianoStaff isn't simply 2 CommonStaffs. > > Although piano music is usually written on 2 staves > it can also be written on 1, 3 or more staves. Then I suppose you could have a MultiStaff class that contains a list of single staffs. PianoStaff could be a specialization of this, having 2 staves. Calling it PianoStaff wouldn't mean you'd have to use it for piano tracks. Just a name of convenience for its most common use. > > They way it [PianoStaff] handles ledger lines is different. > > Why would it be different? I have no idea. Just sleepiness I guess. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Rosegarden-devel mailing list [email protected] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
