In the matrix we currently have the old zoom slider working, and it's 
effectively a "stretch or squash" function that just changes the zoom on the X 
axis.

Originally, I kind of expected we'd eliminate this, and Chris indicated he 
thought this seemed like it might be useful.

Now there's a scaling problem to solve with selection rectangles.  We just 
trace a QRect with a pen of width 2, and the dimensions of the outlines at 
500% horizontal zoom wind up being 10px 2px 10px 2px.  To correct for this, 
we'll need to pull the horizontal zoom factor in here, do some calculations, 
and draw these rectangles as a series of lines in two different thicknesses.

I more or less see how to do it from here, but before I bother, I thought it 
would be a good time to decide whether we want to keep the horizontal zoom 
slide at all, and beyond that, whether we feel it is important to be able to 
zoom each axis independently.

Where we're going with the GUI for the panner is to use one or more ThumbWheel 
widgets from Sonic Visualiser.  SV has an L shaped control block with one 
wheel for horizontal, and one wheel for vertical.  When I use this, I find 
myself wanting a mechanism for chaining one to the other, and just zooming 
everything at once.  The extra trouble I'm going to have to go to in order to 
cook that up is the main reason why I haven't done anything with the ported 
ThumbWheel widget yet.

So what if we ignore all of the above and take the simple way out. One thumb 
wheel, one zoom that affects both axes equally?  Would this feel like the 
reasonable thing to do, or the cheap way out?

I'm pretty strongly inclined to just go that route.  We could always do 
independent zoom later if anyone seriously cared, and one way or the other the 
old zoom slider is a relic that's out of place here now.
-- 
D. Michael McIntyre

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to