blob: 7a3ed6906bdcd20539c2499fb865a01a6ad2bf11 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
{ Parsed from Appkit.framework NSTouch.h }
{ Version: 2.1.4 - Sun Jan 2 15:08:20 CET 2011 }
{$ifdef TYPES}
{$ifndef NSTOUCH_PAS_T}
{$define NSTOUCH_PAS_T}
{ Constants }
const
NSTouchPhaseBegan = 1 shl 0;
NSTouchPhaseMoved = 1 shl 1;
NSTouchPhaseStationary = 1 shl 2;
NSTouchPhaseEnded = 1 shl 3;
NSTouchPhaseCancelled = 1 shl 4;
NSTouchPhaseAny = NSUIntegerMax;
{ Types }
type
NSTouchPhase = NSUInteger;
NSTouchPhasePtr = ^NSTouchPhase;
{$endif}
{$endif}
{$ifdef RECORDS}
{$ifndef NSTOUCH_PAS_R}
{$define NSTOUCH_PAS_R}
{$endif}
{$endif}
{$ifdef FUNCTIONS}
{$ifndef NSTOUCH_PAS_F}
{$define NSTOUCH_PAS_F}
{$endif}
{$endif}
{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSTOUCH_PAS_S}
{$define NSTOUCH_PAS_S}
{$endif}
{$endif}
{$ifdef FORWARD}
NSTouch = objcclass;
NSTouchPointer = ^NSTouch;
NSTouchPtr = NSTouchPointer;
{$endif}
{$ifdef CLASSES}
{$ifndef NSTOUCH_PAS_C}
{$define NSTOUCH_PAS_C}
{ NSTouch }
NSTouch = objcclass external (NSObject, NSCopyingProtocol)
private
_index: NSInteger;
_identity: id;
_phase: NSTouchPhase;
_normalizedPosition: NSPoint;
_privateFlags: NSInteger;
_view: NSView;
_reserved1: id;
_reserved2: id;
_reserved3: id;
_reserved4: id;
_device: id;
_deviceSize: NSSize;
_reserved5: id;
_reserved6: id;
_reserved7: id;
_reserved8: id;
public
function nSObject: id; message 'nSObject';
function identity: id; message 'identity';
function phase: NSTouchPhase; message 'phase';
function normalizedPosition: NSPoint; message 'normalizedPosition';
function isResting: Boolean; message 'isResting';
function device: id; message 'device';
function deviceSize: NSSize; message 'deviceSize';
{ Adopted Protocols }
function copyWithZone(zone_: NSZonePtr): id;
end;
{$endif}
{$endif}
|