On Fri, 07 Dec 2007 21:19:39 +0100, Maximilian Albert <Anhalter42@...173...> wrote:
I don't know why I didn't try this before, but I was so much focused on the parent-child relationship between boxes and their sides that I considered it harmful to break it to some extent by moving the displayUpdates out of the box's responsibility.
Again, I've not looked at the code, but that could possibly be a legitimate concern, which using modified might possibly address.
As an aside, I just noticed that you wrote "then issues requestModified" above, whereas I have only worked with requestDisplayUpdate so far (and have only seen this in the other tools' code, IIRC). Is there a notable difference between the two that could be relevant for me? Do I have to consider them both or can I stick to requestDisplayUpdate?
Modified is nice in the sense that other things which may depend on the modified shape are more likely to get updated. That may or may not be desirable for live updating, though I'd be inclined to give it a serious look since bulia has been more involved with this area of the code than I have for a long time.
-mental