On Thursday 29 Mar 2007 13:55, Guillaume Laurent wrote: > I'm stumped. AFAICT, the MatrixHLayout and the SimpleRulerScale have > completely different implementations for getXForTime()
Right, the HLayout version inherits the default implementation in RulerScale, which assumes a subclass that knows where the barlines are but nothing else, and then interpolates linearly. (If you look at the notation view, you can see that the rulers are linear between the barlines even though the score is not, and that's the intentional result of doing the ruler scale this way.) SimpleRulerScale overrides that logic with a fixed-ratio scale throughout. So the idea is to introduce a new SimpleRulerScale and operate it quite independently of the hlayout. I've committed something of the sort. Chris ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Rosegarden-devel mailing list [email protected] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
