On 03/24/2015 06:50 PM, Lambacher, Armin wrote:

> 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?

Yes.  I just figured you could use the selection to manipulate the notes 
in some way while you had it.

> So, what would be the correct way to repaint either the notes individually or 
> the whole notation window?

That's an interesting question.

src/commands/notation/ChangeSlurPositionCommand.cpp for example...  It 
sets the properties, but it doesn't do anything to trigger any kind of 
refresh.  Where does the refresh happen?

I only had a moment, and didn't find the answer in that time, but 
discovering exactly how ChangeSlurPositionCommand even gets called in 
the first place should be illuminating.  NotationCommandRegistry, but 
what's that all about?  If I ever knew, I don't remember.  Sounds like 
Chris or maybe Julie.

Are you doing your new thing following the template of one of these 
existing notation commands?  That would be a good start if you're not. 
I chose this example at random, because I knew it was one of the 
commands that instantly changed something visible that was controlled by 
a property.

-- 
D. Michael McIntyre

------------------------------------------------------------------------------
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

Reply via email to