blob: 16fa005b9fc4fbafbe4323a48ae2c98675ffc839 (
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
81
82
83
84
85
86
87
|
{ Parsed from Appkit.framework NSSplitView.h }
{ Version FrameworkParser: 1.3. PasCocoa 0.3, Objective-P 0.4 - Thu Oct 1 18:54:07 ICT 2009 }
{$ifdef TYPES}
{$ifndef NSSPLITVIEW_PAS_T}
{$define NSSPLITVIEW_PAS_T}
{ Constants }
const
NSSplitViewDividerStyleThick = 1;
NSSplitViewDividerStyleThin = 0;
{ Types }
type
NSSplitViewDividerStyle = NSInteger;
{$endif}
{$endif}
{$ifdef RECORDS}
{$ifndef NSSPLITVIEW_PAS_R}
{$define NSSPLITVIEW_PAS_R}
{$endif}
{$endif}
{$ifdef FUNCTIONS}
{$ifndef NSSPLITVIEW_PAS_F}
{$define NSSPLITVIEW_PAS_F}
{$endif}
{$endif}
{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSSPLITVIEW_PAS_S}
{$define NSSPLITVIEW_PAS_S}
{ External string constants }
var
NSSplitViewWillResizeSubviewsNotification: NSString; external name '_NSSplitViewWillResizeSubviewsNotification';
NSSplitViewDidResizeSubviewsNotification: NSString; external name '_NSSplitViewDidResizeSubviewsNotification';
{$endif}
{$endif}
{$ifdef FORWARD}
NSSplitView = objcclass;
NSSplitViewPointer = ^NSSplitView;
{$endif}
{$ifdef CLASSES}
{$ifndef NSSPLITVIEW_PAS_C}
{$define NSSPLITVIEW_PAS_C}
{ NSSplitView }
NSSplitView = objcclass(NSView)
private
__variables: id;
public
class function alloc: NSSplitView; message 'alloc';
procedure setVertical(flag: Boolean); message 'setVertical:';
function isVertical: Boolean; message 'isVertical';
procedure setDividerStyle(dividerStyle_: NSSplitViewDividerStyle); message 'setDividerStyle:';
function dividerStyle: NSSplitViewDividerStyle; message 'dividerStyle';
procedure setAutosaveName(autosaveName_: NSString); message 'setAutosaveName:';
function autosaveName: NSString; message 'autosaveName';
procedure setDelegate(delegate_: id); message 'setDelegate:';
function delegate: id; message 'delegate';
procedure drawDividerInRect(rect: NSRect); message 'drawDividerInRect:';
function dividerColor: NSColor; message 'dividerColor';
function dividerThickness: CGFloat; message 'dividerThickness';
procedure adjustSubviews; message 'adjustSubviews';
function isSubviewCollapsed(subview: NSView): Boolean; message 'isSubviewCollapsed:';
function minPossiblePositionOfDividerAtIndex(dividerIndex: NSInteger): CGFloat; message 'minPossiblePositionOfDividerAtIndex:';
function maxPossiblePositionOfDividerAtIndex(dividerIndex: NSInteger): CGFloat; message 'maxPossiblePositionOfDividerAtIndex:';
procedure setPosition_ofDividerAtIndex(position: CGFloat; dividerIndex: NSInteger); message 'setPosition:ofDividerAtIndex:';
procedure setIsPaneSplitter(flag: Boolean); message 'setIsPaneSplitter:';
function isPaneSplitter: Boolean; message 'isPaneSplitter';
end; external;
{$endif}
{$endif}
|