summaryrefslogtreecommitdiff
path: root/packages/cocoaint/src/appkit/NSCustomImageRep.inc
blob: 1c5137a0de096d853126389b4f7fc667f9c350ad (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
{ Parsed from Appkit.framework NSCustomImageRep.h }
{ Version FrameworkParser: 1.3. PasCocoa 0.3, Objective-P 0.2 - Thu Sep 17 14:52:47 ICT 2009 }

{$ifdef HEADER}
{$ifndef NSCUSTOMIMAGEREP_PAS_H}
{$define NSCUSTOMIMAGEREP_PAS_H}
type
  NSCustomImageRepPointer = Pointer;

{$endif}
{$endif}

{$ifdef TYPES}
{$ifndef NSCUSTOMIMAGEREP_PAS_T}
{$define NSCUSTOMIMAGEREP_PAS_T}

{$endif}
{$endif}

{$ifdef RECORDS}
{$ifndef NSCUSTOMIMAGEREP_PAS_R}
{$define NSCUSTOMIMAGEREP_PAS_R}

{$endif}
{$endif}

{$ifdef FUNCTIONS}
{$ifndef NSCUSTOMIMAGEREP_PAS_F}
{$define NSCUSTOMIMAGEREP_PAS_F}

{$endif}
{$endif}

{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSCUSTOMIMAGEREP_PAS_T}
{$define NSCUSTOMIMAGEREP_PAS_T}

{$endif}
{$endif}

{$ifdef FORWARD}
  NSCustomImageRep = objcclass;

{$endif}

{$ifdef CLASSES}
{$ifndef NSCUSTOMIMAGEREP_PAS_C}
{$define NSCUSTOMIMAGEREP_PAS_C}

{ NSCustomImageRep }
  NSCustomImageRep = objcclass(NSImageRep)
  private
    __drawMethod: SEL;
    __drawObject: id;
    __reserved: cuint;
    
  public
    class function alloc: NSCustomImageRep; message 'alloc';

    function initWithDrawSelector_delegate(aMethod: SEL; anObject: id): id; message 'initWithDrawSelector:delegate:';
    function drawSelector: SEL; message 'drawSelector';
    function delegate: id; message 'delegate';
  end; external;

{$endif}
{$endif}