[Mono-dev] Patches for mono-winforms

Steven Boswell II ulatekh at yahoo.com
Sun Jul 22 18:57:54 UTC 2012

Does Stifu still hang out here?  Is he just gone for the weekend...?

Enclosed is a patch that implements the drawing of mixed-mode checkboxes.  Before, Mono just drew the indeterminate state with a check mark.  Now, it's a blue box, which is closer to what .NET does.  (Technically, the patch uses the "highlight" color, which is a good choice until a more exact idea comes along).

All I did was copy CPDrawCheckBox() and modify the end part, where it would normally draw a check mark, to draw an inset box with the highlight color.

It's a purely visual change, so I don't think a unit test can be written for it.

Anyway, I'd appreciate feedback from any interested parties.

Steven Boswell

P.S. I also spent some time this weekend writing an rpm spec file for the latest Mono, for my Fedora Core 16 systems.  Now I can run latest Mono on my Linux systems and have package-manager support for it.  I did that previously for latest MonoDevelop, too.  I'll send a copy to anyone that's interested.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120722/edfcb0c8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mwf-13-ThemeWin32Classic-CPDrawMixedCheckBox.patch.bz2
Type: application/octet-stream
Size: 1538 bytes
Desc: not available
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120722/edfcb0c8/attachment.obj>

More information about the Mono-devel-list mailing list