Re: Single-paragraph redraw

2006-12-05 Thread Andre Poenitz
On Tue, Dec 05, 2006 at 09:56:27AM +1800, Bo Peng wrote: > Dear all, > > Mouse-hover over a button triggers a full repaint, instead of the > single paragraph repaint that the code demands. I had a look at the > code: > > 1. mouse_motion returns (true, true) when a single paragraph need to > be up

Re: Single-paragraph redraw

2006-12-04 Thread Bo Peng
> >1. mouse_motion returns (true, true) when a single paragraph need to > >be updated. (BufferView.h/C) > > > >/// \sa WorkArea > >/// \retval (false, xxx) if no redraw is required > >/// \retval (true, true) if a single paragraph redraw is needed > >/// \retval (true, false) if a

Re: Single-paragraph redraw

2006-12-04 Thread Martin Vermeer
On Mon, Dec 04, 2006 at 05:50:33PM +0100, Abdelrazak Younes wrote: > Bo Peng wrote: > >Dear all, > > > >Mouse-hover over a button triggers a full repaint, instead of the > >single paragraph repaint that the code demands. I had a look at the > >code: > > > >1. mouse_motion returns (true, true) when

Re: Single-paragraph redraw

2006-12-04 Thread Abdelrazak Younes
Bo Peng wrote: > Note that partial repaint should be implemented regardless of my > button patch. Partial repaint works fine without your patch ;-) So you mean I can not request partial redraw for the paragraph with hover-style buttons? Unless you reposition the keyboard cursor, no. Then,

Re: Single-paragraph redraw

2006-12-04 Thread Bo Peng
> Note that partial repaint should be implemented regardless of my > button patch. Partial repaint works fine without your patch ;-) So you mean I can not request partial redraw for the paragraph with hover-style buttons? Then, the comment of workAreaDispatch needs to be updated. /// \sa

Re: Single-paragraph redraw

2006-12-04 Thread Abdelrazak Younes
Bo Peng wrote: Dear all, Mouse-hover over a button triggers a full repaint, instead of the single paragraph repaint that the code demands. I had a look at the code: 1. mouse_motion returns (true, true) when a single paragraph need to be updated. (BufferView.h/C) /// \sa WorkArea /// \r