On Saturday 26 Feb 2005 12:38, Chris Cannam wrote: > As it is, your separation is a fiction -- you're doing something in > the View that really needs to be time-based (calculating positions of > repeats)
By the way, if you have trouble persuading yourself that this is a time-based operation, imagine that we add a button to allow the user to choose between real-time and musical-time for the x-coordinate scale on the main canvas. Internally this would simply correspond to swapping in a different type of RulerScale object. As it stands, we could do that and everything would work -- except for repeat rectangles, which would go totally wrong as soon as we hit a tempo change, regardless of whether you stored your repeat widths in integers or floats. That's because repeat width is a musical time value, not a graphical distance. Chris ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Rosegarden-devel mailing list [email protected] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
