summaryrefslogtreecommitdiff
path: root/packages/cocoaint/src/appkit/NSCachedImageRep.inc
blob: a005632bbd188ff2a61b10c9cdbf92c9b18a3e69 (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
{ Parsed from Appkit.framework NSCachedImageRep.h }
{ Version FrameworkParser: 1.3. PasCocoa 0.3, Objective-P 0.4 - Mon Sep 28 15:49:52 ICT 2009 }

{$ifdef HEADER}
{$ifndef NSCACHEDIMAGEREP_PAS_H}
{$define NSCACHEDIMAGEREP_PAS_H}
type
  NSCachedImageRepPointer = Pointer;

{$endif}
{$endif}

{$ifdef TYPES}
{$ifndef NSCACHEDIMAGEREP_PAS_T}
{$define NSCACHEDIMAGEREP_PAS_T}

{$endif}
{$endif}

{$ifdef RECORDS}
{$ifndef NSCACHEDIMAGEREP_PAS_R}
{$define NSCACHEDIMAGEREP_PAS_R}

{$endif}
{$endif}

{$ifdef FUNCTIONS}
{$ifndef NSCACHEDIMAGEREP_PAS_F}
{$define NSCACHEDIMAGEREP_PAS_F}

{$endif}
{$endif}

{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSCACHEDIMAGEREP_PAS_S}
{$define NSCACHEDIMAGEREP_PAS_S}

{$endif}
{$endif}

{$ifdef FORWARD}
  NSCachedImageRep = objcclass;

{$endif}

{$ifdef CLASSES}
{$ifndef NSCACHEDIMAGEREP_PAS_C}
{$define NSCACHEDIMAGEREP_PAS_C}

{ NSCachedImageRep }
  NSCachedImageRep = objcclass(NSImageRep)
  private
    __origin: NSPoint;
    __window: NSWindow;
    __cache: Pointer; {garbage collector: __strong }
    
  public
    class function alloc: NSCachedImageRep; message 'alloc';

    function initWithWindow_rect(win: NSWindow; rect_: NSRect): id; message 'initWithWindow:rect:';
    function initWithSize_depth_separate_alpha(size_: NSSize; depth: NSWindowDepth; flag: Boolean; alpha: Boolean): id; message 'initWithSize:depth:separate:alpha:';
    function window: NSWindow; message 'window';
    function rect: NSRect; message 'rect';
  end; external;

{$endif}
{$endif}