blob: 3aed65366d408c53419312ae01fc1c837c8e2f35 (
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
|
{ Parsed from Quartzcore.framework CAAnimation.h }
{$ifdef TYPES}
{$ifndef CAANIMATION_PAS_T}
{$define CAANIMATION_PAS_T}
{$endif}
{$endif}
{$ifdef RECORDS}
{$ifndef CAANIMATION_PAS_R}
{$define CAANIMATION_PAS_R}
{$endif}
{$endif}
{$ifdef FUNCTIONS}
{$ifndef CAANIMATION_PAS_F}
{$define CAANIMATION_PAS_F}
{$endif}
{$endif}
{$ifdef EXTERNAL_SYMBOLS}
{$ifndef CAANIMATION_PAS_S}
{$define CAANIMATION_PAS_S}
{ External string constants }
var
kCAAnimationLinear: NSString; cvar; external;
kCAAnimationDiscrete: NSString; cvar; external;
kCAAnimationPaced: NSString; cvar; external;
kCAAnimationRotateAuto: NSString; cvar; external;
kCAAnimationRotateAutoReverse: NSString; cvar; external;
kCATransitionFade: NSString; cvar; external;
kCATransitionMoveIn: NSString; cvar; external;
kCATransitionPush: NSString; cvar; external;
kCATransitionReveal: NSString; cvar; external;
kCATransitionFromRight: NSString; cvar; external;
kCATransitionFromLeft: NSString; cvar; external;
kCATransitionFromTop: NSString; cvar; external;
kCATransitionFromBottom: NSString; cvar; external;
{$endif}
{$endif}
{$ifdef FORWARD}
CAAnimation = objcclass;
CAAnimationPointer = ^CAAnimation;
CAAnimationPtr = CAAnimationPointer;
CAPropertyAnimation = objcclass;
CAPropertyAnimationPointer = ^CAPropertyAnimation;
CAPropertyAnimationPtr = CAPropertyAnimationPointer;
CABasicAnimation = objcclass;
CABasicAnimationPointer = ^CABasicAnimation;
CABasicAnimationPtr = CABasicAnimationPointer;
CAKeyframeAnimation = objcclass;
CAKeyframeAnimationPointer = ^CAKeyframeAnimation;
CAKeyframeAnimationPtr = CAKeyframeAnimationPointer;
CATransition = objcclass;
CATransitionPointer = ^CATransition;
CATransitionPtr = CATransitionPointer;
CAAnimationGroup = objcclass;
CAAnimationGroupPointer = ^CAAnimationGroup;
CAAnimationGroupPtr = CAAnimationGroupPointer;
{$endif}
{$ifdef CLASSES}
{$ifndef CAANIMATION_PAS_C}
{$define CAANIMATION_PAS_C}
{ CAAnimation }
CAAnimation = objcclass external (NSObject, NSCodingProtocol, NSCopyingProtocol, CAMediaTimingProtocol, CAActionProtocol)
private
__attr: Pointer;
_flags: cuint32;
public
class function animation: id; message 'animation';
class function defaultValueForKey(key: NSString): id; message 'defaultValueForKey:';
function shouldArchiveValueForKey(key: NSString): Boolean; message 'shouldArchiveValueForKey:';
procedure setTimingFunction (newValue: CAMediaTimingFunction); message 'setTimingFunction:';
function timingFunction: CAMediaTimingFunction; message 'timingFunction';
procedure setDelegate (newValue: id); message 'setDelegate:';
function delegate: id; message 'delegate';
procedure setRemovedOnCompletion (newValue: Boolean); message 'setRemovedOnCompletion:';
function isRemovedOnCompletion: Boolean; message 'isRemovedOnCompletion';
{ Adopted Protocols }
procedure encodeWithCoder(aCoder: NSCoder);
function initWithCoder(aDecoder: NSCoder): id;
function copyWithZone(zone_: NSZonePtr): id;
procedure setBeginTime (newValue: CFTimeInterval);
function beginTime: CFTimeInterval;
procedure setDuration (newValue: CFTimeInterval);
function duration: CFTimeInterval;
procedure setSpeed (newValue: single);
function speed: single;
procedure setTimeOffset (newValue: CFTimeInterval);
function timeOffset: CFTimeInterval;
procedure setRepeatCount (newValue: single);
function repeatCount: single;
procedure setRepeatDuration (newValue: CFTimeInterval);
function repeatDuration: CFTimeInterval;
procedure setAutoreverses (newValue: Boolean);
function autoreverses: Boolean;
procedure setFillMode (newValue: NSString);
function fillMode: NSString;
end;
{ CAPropertyAnimation }
CAPropertyAnimation = objcclass external (CAAnimation)
public
class function animationWithKeyPath(path: NSString): id; message 'animationWithKeyPath:';
procedure setKeyPath (newValue: NSString); message 'setKeyPath:';
function keyPath: NSString; message 'keyPath';
procedure setAdditive (newValue: Boolean); message 'setAdditive:';
function isAdditive: Boolean; message 'isAdditive';
procedure setCumulative (newValue: Boolean); message 'setCumulative:';
function isCumulative: Boolean; message 'isCumulative';
procedure setValueFunction (newValue: CAValueFunction); message 'setValueFunction:';
function valueFunction: CAValueFunction; message 'valueFunction';
end;
{ CABasicAnimation }
CABasicAnimation = objcclass external (CAPropertyAnimation)
public
procedure setFromValue (newValue: id); message 'setFromValue:';
function fromValue: id; message 'fromValue';
procedure setToValue (newValue: id); message 'setToValue:';
function toValue: id; message 'toValue';
procedure setByValue (newValue: id); message 'setByValue:';
function byValue: id; message 'byValue';
end;
{ CAKeyframeAnimation }
CAKeyframeAnimation = objcclass external (CAPropertyAnimation)
public
procedure setValues (newValue: NSArray); message 'setValues:';
function values: NSArray; message 'values';
procedure setPath (newValue: CGPathRef); message 'setPath:';
function path: CGPathRef; message 'path';
procedure setKeyTimes (newValue: NSArray); message 'setKeyTimes:';
function keyTimes: NSArray; message 'keyTimes';
procedure setTimingFunctions (newValue: NSArray); message 'setTimingFunctions:';
function timingFunctions: NSArray; message 'timingFunctions';
procedure setCalculationMode (newValue: NSString); message 'setCalculationMode:';
function calculationMode: NSString; message 'calculationMode';
procedure setRotationMode (newValue: NSString); message 'setRotationMode:';
function rotationMode: NSString; message 'rotationMode';
end;
{ CATransition }
CATransition = objcclass external (CAAnimation)
public
procedure setType (newValue: NSString); message 'setType:';
function type_: NSString; message 'type_';
procedure setSubtype (newValue: NSString); message 'setSubtype:';
function subtype: NSString; message 'subtype';
procedure setStartProgress (newValue: single); message 'setStartProgress:';
function startProgress: single; message 'startProgress';
procedure setEndProgress (newValue: single); message 'setEndProgress:';
function endProgress: single; message 'endProgress';
procedure setFilter (newValue: id); message 'setFilter:';
function filter: id; message 'filter';
end;
{ CAAnimationGroup }
CAAnimationGroup = objcclass external (CAAnimation)
public
procedure setAnimations (newValue: NSArray); message 'setAnimations:';
function animations: NSArray; message 'animations';
end;
{ CAAnimationDelegateCategory }
CAAnimationDelegateCategory = objccategory external (NSObject)
procedure animationDidStart(anim: CAAnimation); message 'animationDidStart:';
procedure animationDidStop_finished(anim: CAAnimation; flag: Boolean); message 'animationDidStop:finished:';
end;
{$endif}
{$endif}
|