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

{$ifdef HEADER}
{$ifndef NSPATHCOMPONENTCELL_PAS_H}
{$define NSPATHCOMPONENTCELL_PAS_H}
type
  NSPathComponentCellPointer = Pointer;

{$endif}
{$endif}

{$ifdef TYPES}
{$ifndef NSPATHCOMPONENTCELL_PAS_T}
{$define NSPATHCOMPONENTCELL_PAS_T}

{$endif}
{$endif}

{$ifdef RECORDS}
{$ifndef NSPATHCOMPONENTCELL_PAS_R}
{$define NSPATHCOMPONENTCELL_PAS_R}

{$endif}
{$endif}

{$ifdef FUNCTIONS}
{$ifndef NSPATHCOMPONENTCELL_PAS_F}
{$define NSPATHCOMPONENTCELL_PAS_F}

{$endif}
{$endif}

{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSPATHCOMPONENTCELL_PAS_S}
{$define NSPATHCOMPONENTCELL_PAS_S}

{$endif}
{$endif}

{$ifdef FORWARD}
  NSPathComponentCell = objcclass;

{$endif}

{$ifdef CLASSES}
{$ifndef NSPATHCOMPONENTCELL_PAS_C}
{$define NSPATHCOMPONENTCELL_PAS_C}

{ NSPathComponentCell }
  NSPathComponentCell = objcclass(NSTextFieldCell)
  private
    __image: NSImage;
    __fullWidth: CGFloat;
    __resizedWidth: CGFloat;
    __currentWidth: CGFloat;
    __url: NSURL;
    __flags: bitpacked record
        shouldDrawArrow: 0..1;
        drawsAsNavigationBar: 0..1;
        isFirstItem: 0..1;
        isLastItem: 0..1;
        reserved: 0..((1 shl 28)-1);
      end;
    __aux: id;
    
  public
    class function alloc: NSPathComponentCell; message 'alloc';

    function image: NSImage; message 'image';
    procedure setImage(value: NSImage); message 'setImage:';
    function URL: NSURL; message 'URL';
    procedure setURL(URL_: NSURL); message 'setURL:';
  end; external;

{$endif}
{$endif}