Re: [PATCH] introduce lyxtext paint helpers

2003-03-14 Thread John Levon
On Fri, Mar 14, 2003 at 02:13:32PM +0100, Andre Poenitz wrote: > Please have a shot at "full redraw". There's no way that would work properly, I don't think. But if you look at the row vs. full redraw it's not particularly complicated: you just start from the y position that just changed. The bac

Re: [PATCH] introduce lyxtext paint helpers

2003-03-14 Thread Andre Poenitz
On Fri, Mar 14, 2003 at 01:19:03PM +, John Levon wrote: > On Fri, Mar 14, 2003 at 02:08:44PM +0100, Andre Poenitz wrote: > > All of these problems magically vanish if we switch over to a 'full redraw' > > policy. We are currently doing in a lot of cases full redraws or redraws of > > a signific

Re: [PATCH] introduce lyxtext paint helpers

2003-03-14 Thread John Levon
On Fri, Mar 14, 2003 at 02:08:44PM +0100, Andre Poenitz wrote: > All of these problems magically vanish if we switch over to a 'full redraw' > policy. We are currently doing in a lot of cases full redraws or redraws of > a significant part of the screen anyway, but waste a lot of time and code > f

Re: [PATCH] introduce lyxtext paint helpers

2003-03-14 Thread Andre Poenitz
On Fri, Mar 14, 2003 at 12:10:39PM +, John Levon wrote: > > The good approach seems to be the two step one suggested by André: get > > children's size and draw must be done in two different steps. [This is not my idea, but rather the way mathed worked since Alejandro's time. I just came to the

Re: [PATCH] introduce lyxtext paint helpers

2003-03-14 Thread John Levon
On Fri, Mar 14, 2003 at 12:53:32PM +0100, Alfredo Braunstein wrote: > It seems a mechanism for insets to notify parents that they have changed > size while drawing themselves. But I may be wrong. You're correct, *but* it's totally unnecessary. The only thing that could possibly change size on a d

Re: [PATCH] introduce lyxtext paint helpers

2003-03-14 Thread Alfredo Braunstein
John Levon wrote: > The intention is to make all the sites that write to > refresh_row/refresh_y directly go away in favour of symbolic names. This > is the start (tough job working out wtf is going on ...) Nice. > Somebody's yet to explain what the CHANGED_IN_DRAW is all about, they > all look

[PATCH] introduce lyxtext paint helpers

2003-03-13 Thread John Levon
The intention is to make all the sites that write to refresh_row/refresh_y directly go away in favour of symbolic names. This is the start (tough job working out wtf is going on ...) Somebody's yet to explain what the CHANGED_IN_DRAW is all about, they all look unnecessary and bogus to me john