[Webkit-unassigned] [Bug 36079] New: WKGetWheelEventDeltas() should return CGFloats

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 12 17:26:28 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=36079

           Summary: WKGetWheelEventDeltas() should return CGFloats
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: aestes at apple.com


The output parameters in WKGetWheelEventDeltas() should be of type CGFloat, not
intrinsic float.  Here is the current method signature:

void WKGetWheelEventDeltas(NSEvent *, float *deltaX, float *deltaY, float
*wheelTicksX, float *wheelTicksY, BOOL *continuous)

deltaX/Y and wheelTicksX/Y are set by casting CGFloats returned from NSEvent to
intrinsic floats.  This cast might be unnecessary or unwanted and should be
left up to the function caller.

The proposed method signature is:

void WKGetWheelEventDeltas(NSEvent *, CGFloat *deltaX, CGFloat *deltaY, CGFloat
*wheelTicksX, CGFloat *wheelTicksY, BOOL *continuous)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list