> Hi Michael, Tom & RG devs,
> I've been keeping an eye on the list for problems with the code I wrote
> in '09.

Thank you for commenting on this.

> I do recall (very vaguely) some problems with getting the rulers
> to update to matrix changes but would be pretty confident that they did
> update to note adds/deletes/moves etc.

To note adds etc, but not to velocity changes.

> Wasn't there an "observer" mechanism of some sort to notify the rulers
> of segment changes? If I recall correctly, it confused the hell out of
> me when I first saw it but was pretty elegant. Something like the ruler
> would inherit an observer class and register itself with the segment on
> creation. The segment keeps a list of observers and calls their
> segmentchanged method when something changes ... or some such.

My notes just say "SegmentObserver seems to do something different though
related."  SegmentObserver's interface didn't seem to handle updating
Event properties like velocity, and I know that Notation's redrawing was
not coming thru it.

I think I assumed at that point that SegmentObserver's was intended for
another purpose.  Perhaps I was wrong in assuming that.  I looked at
SegmentObserver again just now, and I may have been premature.

Since you are more familiar with SegmentObserver than I am, may I ask you
a few clarifying questions?

Is SegmentObserver intended to handle property changes such as velocity
changes?  And cause appropriate redraws?  I see only eventAdded and
eventRemoved, so does that mean that SegmentObserver wants all property
changes to take the form of added/removed events?

        Tom Breton (Tehom)



------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
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