[Mono-winforms-list] datagrid scrolling patch (fix for bug 78011)
Chris Toshok
toshok at ximian.com
Fri May 12 11:31:24 EDT 2006
The datagrid patch is pretty simple - call XplatUI.ScrollWindow once,
and don't call invalidate when scrolling, as the generated exposes will
cause us to redraw the areas that need it. Turns out removing the
rectangle code made clear the methods could be substantially simplified,
so I went ahead and did that too. This was all that was necessary to
get vertical scrolling to be fast.
The theme change keeps us from redrawing the entire row whenever a
portion of it is exposed (which makes horizontal scrolling as fast as
vertical.)
Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: datagrid-scrolling.diff
Type: text/x-patch
Size: 10232 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20060512/294ad49c/datagrid-scrolling-0001.bin
More information about the Mono-winforms-list
mailing list