> On 25.03.2015, at 21:00, Tom Breton (Tehom) <[email protected]> wrote:
> 
>> Now some questions on how to properly organize the source code in order to
>> not create a mess:
> 
> Thank you for that.

You're welcome, wouldn't want other people to mess with my stuff...   8-)

>> 
>> So, where would be the best place to put it?
> 
> base/BaseProperties.
> 
> NotationProperties is for stuff that the notation editor computes, which
> doesn't seem to be the case here.  NotationTypes is for unpacking events
> as more-specific types like notes and clefs.
> 

Done.

So, next thing is to improve usability. I have this list of found parallels in 
my text window in the dialog and the notes are now properly colored.

Next step that I would like to do is to offer the functionality that a user can 
click on a certain parallel (in the text window). Then the notation editor 
should place the Pointer to where the parallel occurs. I found 
RosegardenDocument::slotSetPointerPosition which sets the time correctly. This 
works, but I could not figure out how to set the current segment/staff. 
There ist NotationView::getCurrentSegment, but not 
NotationView::setCurrentSegment. I assume that NotationView::setCurrentStaff is 
what I want (just a guess), but how to I get the Staff that the segment (or the 
event) belongs to?

Could somebody please give me an hint where to look?

Best

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