bug-gnustep
[Top][All Lists]
Advanced

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

[PATCH] NSScroller some event handling cleanups.


From: Michael Hanni
Subject: [PATCH] NSScroller some event handling cleanups.
Date: Wed, 2 Apr 2003 02:15:08 -0800 (PST)

Hi,

The attached patch cleans up some event handling in two methods in the
NSScroller class. I have only one question: I understand what the alternate
modifier does when clicking on the scroller button, but what does it do when
you grab the scroller "knob"?

2003-04-01  Michael Hanni   <michael@deviant-behavior.com>

        * Source/NSScroller.m (trackKnob:): stop slogging through mounds of
        mouse motion events and use periodic events. Added mask for changed
        flags so we catch modifier key changes.
        (trackScrollButtons:): removed event loop handling as we make use of
        NSCell's trackMouse: loop anyways.

Cheers,

Michael

Attachment: NSScroller.patch
Description: NSScroller.patch


reply via email to

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