On Friday 31 Oct 2003 10:05 am, John Anderson wrote:
> How hard would it be to allow for dividing the grid in fractions of
> 3, similar to the way one can do triplets in the notation editor?

Shouldn't be too hard.  Might take a bit of tweaking, but at least 
it's the sort of feature that's easy to test.

The only complication is that the Grid combo on the toolbar and the 
Grid option on the View menu are actually set up slightly 
differently.

For the combo, check out MatrixView::initActionsToolbar() in 
gui/matrixview.cpp for where it's populated, and 
slotSetSnapFromIndex() in the same file for the function that's 
called when its value changes.

For the menu, the actions are read from the gui/matrix.rc XML file, 
and slotSetSnapFromAction() (again in matrixview.cpp) is the function 
that's called for a change.


Chris



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Rosegarden-devel mailing list
[EMAIL PROTECTED] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to