> Let's assume a couple of parallels are found throughout
> my piece and I start editing. Wouldn't the selection be lost as soon as I
> click somewhere in the notes?
Yes, lost or added to. Most commands will change it.
> My dialog looks for the parallels and sets the properties of the notes
> correspondingly, but I have to click on the notes to get them repainted
> and for the color change to take effect.
>
> So, what would be the correct way to repaint either the notes individually
> or the whole notation window?
'Fraid that's a bit of a mess and I'm rusty on it.
> Ahh, just something comes to mind:
>
> Is there a way to get the number of the bar a note belongs to?
Composition::getBarNumber(time)
Also see Composition::getMusicalTimeForAbsoluteTime, which gives you more.
Tom Breton (Tehom)
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel