On Wednesday 18 May 2005 12:54, Guillaume Laurent wrote:
> But the AudioPreviewThread needs to know
> the size of the rect in which the preview will be drawn, and that size is
> computed by the view at drawing time according to the current zoom level.
> The model can and does compute rectangles from segments, but it's up to the
> view to scale them. I guess that I'll have to break my nice abstraction and
> make the model aware of the zoom level.

Uh, scratch that, the zooming is handled by the grid, so the model knows about 
it :-). Well, it always pays to explain a problem to others.

-- 
Guillaume.
http://www.telegraph-road.org


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to