summaryrefslogtreecommitdiff
path: root/packages/cocoaint/src/webkit/DOMWheelEvent.inc
blob: c1c6a581061eecce1233613ab0d1074cf19d3cfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ Parsed from WebKit.framework DOMWheelEvent.h }


{$ifdef TYPES}
type
  DOMWheelEventPtr = ^DOMWheelEvent;
{$endif}

{$ifdef TYPES}
const
  DOM_DOM_DELTA_PIXEL = $00;
  DOM_DOM_DELTA_LINE = $01;
  DOM_DOM_DELTA_PAGE = $02;
{$endif}

{$ifdef CLASSES}

type
  DOMWheelEvent = objcclass external (DOMMouseEvent)
  public
    function wheelDeltaX: cint; message 'wheelDeltaX';
    function wheelDeltaY: cint; message 'wheelDeltaY';
    function wheelDelta: cint; message 'wheelDelta';
    function isHorizontal: ObjCBOOL; message 'isHorizontal';
    procedure initWheelEvent_wheelDeltaY_view_screenX_screenY_clientX_clientY_ctrlKey_altKey_shiftKey_metaKey (wheelDeltaX_: cint; wheelDeltaY_: cint; view_: DOMAbstractView; screenX_: cint; screenY_: cint; clientX_: cint; clientY_: cint; ctrlKey_: ObjCBOOL; altKey_: ObjCBOOL; shiftKey_: ObjCBOOL; metaKey_: ObjCBOOL); message 'initWheelEvent:wheelDeltaY:view:screenX:screenY:clientX:clientY:ctrlKey:altKey:shiftKey:metaKey:'; { available in 10_5 }
  end;
{$endif}