bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] [NSButton setShowsBorderOnlyWhileMouseInside:]


From: Michael Hanni
Subject: [PATCH] [NSButton setShowsBorderOnlyWhileMouseInside:]
Date: Sun, 27 Jul 2003 01:19:04 -0700 (PDT)

Hi,

I was trying to figure out how to use tracking rects so I took a stab at
implementing the ShowsBorderOnlyWhileMouseInside parts of NSButton*.m. The code
works, but I don't like adding an ivar.

(I tested this by setting the showsBorderOnly* ivar in NSButtonCell's init
method to YES so that all buttons acted in this way.)

Anyhow, any pointers on tracking rect usage would be appreciated. :-)

Cheers,

Michael

Attachment: setShowsBorderOnlyWhileMouseInside.patch
Description: setShowsBorderOnlyWhileMouseInside.patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]