blob: f9321b608334f74babab5f82677c7233fd3b57ef (
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 NSPathComponentCell.h }
{$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;
NSPathComponentCellPointer = ^NSPathComponentCell;
NSPathComponentCellPtr = NSPathComponentCellPointer;
{$endif}
{$ifdef CLASSES}
{$ifndef NSPATHCOMPONENTCELL_PAS_C}
{$define NSPATHCOMPONENTCELL_PAS_C}
{ NSPathComponentCell }
NSPathComponentCell = objcclass external (NSTextFieldCell)
private
_image: NSImage;
_fullWidth: CGFloat;
_resizedWidth: CGFloat;
_currentWidth: CGFloat;
_url: NSURL;
__flags: record
case byte of
0: (_anonbitfield_NSPathComponentCell0: cuint);
1: (data: bitpacked record
shouldDrawArrow: 0..1;
drawsAsNavigationBar: 0..1;
isFirstItem: 0..1;
isLastItem: 0..1;
isDropTarget: 0..1;
reserved: 0..((1 shl 27)-1);
end;
);
end;
_aux: id;
public
function image: NSImage; message 'image';
procedure setImage(value: NSImage); message 'setImage:';
function URL: NSURL; message 'URL';
procedure setURL(url_: NSURL); message 'setURL:';
end;
{$endif}
{$endif}
|