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 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 full redraw is needed > std::pair<bool, bool> workAreaDispatch(FuncRequest const & ev);
Not your doing, but this is a funny way to return enums. Next time we return a 8 bit value as std::pair< std::pair< std::pair<bool, bool>, std::pair<bool, bool> >, std::pair< std::pair<bool, bool>, std::pair<bool, bool> > > Andre'
