summaryrefslogtreecommitdiff
path: root/packages/cocoaint/src/appkit/NSShadow.inc
blob: 86d90b48831bb76060b4468667ed12debb37d20d (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
{ Parsed from Appkit.framework NSShadow.h }
{ Version: 2.1.2 - Wed Dec 8 10:06:06 CET 2010 }


{$ifdef TYPES}
{$ifndef NSSHADOW_PAS_T}
{$define NSSHADOW_PAS_T}

{$endif}
{$endif}

{$ifdef RECORDS}
{$ifndef NSSHADOW_PAS_R}
{$define NSSHADOW_PAS_R}

{$endif}
{$endif}

{$ifdef FUNCTIONS}
{$ifndef NSSHADOW_PAS_F}
{$define NSSHADOW_PAS_F}

{$endif}
{$endif}

{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSSHADOW_PAS_S}
{$define NSSHADOW_PAS_S}

{$endif}
{$endif}

{$ifdef FORWARD}
  NSShadow = objcclass;
  NSShadowPointer = ^NSShadow;
  NSShadowPtr = NSShadowPointer;

{$endif}

{$ifdef CLASSES}
{$ifndef NSSHADOW_PAS_C}
{$define NSSHADOW_PAS_C}

{ NSShadow }
  NSShadow = objcclass(NSObject, NSCopyingProtocol, NSCodingProtocol)
  private
    _shadowFlags: NSUInteger;
    _shadowOffset: NSSize;
    _shadowBlurRadius: CGFloat;
    _shadowColor: NSColor;
        _reservedFloat: array[0..2] of CGFloat;
    _reserved: Pointer;
    
  public
    class function alloc: NSShadow; message 'alloc';

    function init: id; message 'init';
    function shadowOffset: NSSize; message 'shadowOffset';
    procedure setShadowOffset(offset: NSSize); message 'setShadowOffset:';
    function shadowBlurRadius: CGFloat; message 'shadowBlurRadius';
    procedure setShadowBlurRadius(val: CGFloat); message 'setShadowBlurRadius:';
    function shadowColor: NSColor; message 'shadowColor';
    procedure setShadowColor(color: NSColor); message 'setShadowColor:';
    procedure set_; message 'set';

    { Adopted Protocols }
    function copyWithZone(zone_: NSZonePtr): id;
    procedure encodeWithCoder(aCoder: NSCoder);
    function initWithCoder(aDecoder: NSCoder): id;
  end; external;

{$endif}
{$endif}