> On 24.03.2015, at 21:40, D. Michael McIntyre <rosegarden.trumpe...@gmail.com> 
> wrote:
> 
> On 03/24/2015 12:39 PM, Tom Breton (Tehom) wrote:
> 
>> As an afterthought, it would be easier but less colorful to simply set the
>> selection to that group of notes.
> 
> That's what I'd recommend.  Take the low road.  Get results faster.

Thought about it. 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?

So I decided to go for the suggestion of Tom to introduce a new property. With 
his information it was pretty straightforward and it is  ALMOST running. The 
only problem at the moment that I have is how to redraw the notes. 

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?

Thank you very much for your prompt input...


Ahh, just something comes to mind: 

Is there a way to get the number of the bar a note belongs to? I have the list 
of parallels in my dialog as readable text (with information what kind of 
parallel occurred between which tracks) and I would like to keep that, even 
with the color changing in the notation window. At the moment I print the 
location as the absolute time of the ending note of the transition, which is 
not really user friendly (to put it in mild words...)

I'd like to give the location of the parallel as the bar it occurs in, if 
possible. Is there a way to do that?


Best

Armin

PS: With "running" I do by no means want to imply that the project is finished 
(or even close to that), still WAY to go (getting the paralles tests correctly 
done, changing string literals to proper declarations and so on, but I think I 
got the overall structure somewhat started...


------------------------------------------------------------------------------
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
Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to