2006-07-06 Chris Toshok <toshok@ximian.com>
authorChris Toshok <toshok@novell.com>
Thu, 6 Jul 2006 22:07:42 +0000 (22:07 -0000)
committerChris Toshok <toshok@novell.com>
Thu, 6 Jul 2006 22:07:42 +0000 (22:07 -0000)
commitd277e5674fb8aac45903f9bde4da91d248db2232
treed25154b84ee84617d6a13bd7df7000ce2f44d34c
parentc0a92b4d15b973b74a5631ff32124d05ed6ef085
2006-07-06  Chris Toshok  <toshok@ximian.com>

* ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
new LinkLabel internals.

* LinkLabel.cs: fairly major rewrite.  get rid of all the loops
over pieces looking for active/focused/etc links.  also, deal with
runs of text (and links) with embedded \n's in them, and use
MeasureCharacterRanges instead of MeasureString to figure out the
regions text occupies.  Lastly, do the usual s/Refresh/Invalidate
two-step.

svn path=/trunk/mcs/; revision=62330
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/LinkLabel.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs