summaryrefslogtreecommitdiff
path: root/packages/cocoaint/src/appkit/NSAnimationContext.inc
blob: c215048a3e36f3972953972ad5fb627d5f73b3ae (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
{ Parsed from AppKit.framework NSAnimationContext.h }


{$ifdef TYPES}
type
  NSAnimationContextPtr = ^NSAnimationContext;
{$endif}

{$ifdef CLASSES}

type
  NSAnimationContext = objcclass external (NSObject)
  private
    {$if  not defined(__LP64__)}
    _duration: NSTimeInterval;
    _reserved:array[0..3] of id;
    _anonStruct_NSAnimationContext0: record
      case byte of
        0: (anonBitField_NSAnimationContext0: cuint);
        1: (data: bitpacked record
          _allowsImplicitAnimation: 0..1;
          _isImplicitContext: 0..1;
          __reserved: 0..((1 shl 30)-1);
        end;
      );
          end;
    {$endif}
  public
    class procedure runAnimationGroup_completionHandler (changes: OpaqueCBlock; completionHandler: OpaqueCBlock); message 'runAnimationGroup:completionHandler:'; { available in 10_7 }
    class procedure beginGrouping; message 'beginGrouping';
    class procedure endGrouping; message 'endGrouping';
    class function currentContext: NSAnimationContext; message 'currentContext';
    procedure setDuration(newValue: NSTimeInterval); message 'setDuration:';
    function duration: NSTimeInterval; message 'duration';
    procedure setTimingFunction(newValue: CAMediaTimingFunction); message 'setTimingFunction:';
    function timingFunction: CAMediaTimingFunction; message 'timingFunction';
    procedure setCompletionHandler(newValue: OpaqueCBlock); message 'setCompletionHandler:';
    function completionHandler: OpaqueCBlock; message 'completionHandler';
    procedure setAllowsImplicitAnimation(newValue: ObjCBOOL); message 'setAllowsImplicitAnimation:';
    function allowsImplicitAnimation: ObjCBOOL; message 'allowsImplicitAnimation';
  end;
{$endif}