blob: 8b538e3e5c938bb2010ec7756c5a6626d81da890 (
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
78
79
80
|
{ Parsed from Appkit.framework NSFormCell.h }
{$ifdef TYPES}
{$ifndef NSFORMCELL_PAS_T}
{$define NSFORMCELL_PAS_T}
{$endif}
{$endif}
{$ifdef RECORDS}
{$ifndef NSFORMCELL_PAS_R}
{$define NSFORMCELL_PAS_R}
{$endif}
{$endif}
{$ifdef FUNCTIONS}
{$ifndef NSFORMCELL_PAS_F}
{$define NSFORMCELL_PAS_F}
{$endif}
{$endif}
{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSFORMCELL_PAS_S}
{$define NSFORMCELL_PAS_S}
{$endif}
{$endif}
{$ifdef FORWARD}
NSFormCell = objcclass;
NSFormCellPointer = ^NSFormCell;
NSFormCellPtr = NSFormCellPointer;
{$endif}
{$ifdef CLASSES}
{$ifndef NSFORMCELL_PAS_C}
{$define NSFORMCELL_PAS_C}
{ NSFormCell }
NSFormCell = objcclass external (NSActionCell)
private
_titleWidth: CGFloat;
_titleCell: id;
_titleEndPoint: CGFloat;
public
function initTextCell(aString: NSString): id; message 'initTextCell:';
function titleWidth(aSize: NSSize): CGFloat; message 'titleWidth:';
procedure setTitleWidth(width: CGFloat); message 'setTitleWidth:';
function title: NSString; message 'title';
procedure setTitle(aString: NSString); message 'setTitle:';
function titleFont: NSFont; message 'titleFont';
procedure setTitleFont(fontObj: NSFont); message 'setTitleFont:';
function titleAlignment: NSTextAlignment; message 'titleAlignment';
procedure setTitleAlignment(mode: NSTextAlignment); message 'setTitleAlignment:';
function isOpaque: Boolean; message 'isOpaque';
procedure setPlaceholderString(string_: NSString); message 'setPlaceholderString:';
function placeholderString: NSString; message 'placeholderString';
procedure setPlaceholderAttributedString(string_: NSAttributedString); message 'setPlaceholderAttributedString:';
function placeholderAttributedString: NSAttributedString; message 'placeholderAttributedString';
function titleBaseWritingDirection: NSWritingDirection; message 'titleBaseWritingDirection';
procedure setTitleBaseWritingDirection(writingDirection: NSWritingDirection); message 'setTitleBaseWritingDirection:';
end;
{ NSKeyboardUI_NSFormCellCategory }
NSKeyboardUI_NSFormCellCategory = objccategory external name 'NSKeyboardUI' (NSFormCell)
procedure setTitleWithMnemonic(stringWithAmpersand: NSString); message 'setTitleWithMnemonic:';
end;
{ NSFormCellAttributedStringMethodsCategory }
NSFormCellAttributedStringMethodsCategory = objccategory external (NSFormCell)
function attributedTitle: NSAttributedString; message 'attributedTitle';
procedure setAttributedTitle(obj: NSAttributedString); message 'setAttributedTitle:';
end;
{$endif}
{$endif}
|