blob: f266e0d55dda12802bf8254c88b7b6f115fc30bb (
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
|
{ Parsed from Appkit.framework NSColorPicking.h }
{$ifdef TYPES}
{$ifndef NSCOLORPICKING_PAS_T}
{$define NSCOLORPICKING_PAS_T}
{$endif}
{$endif}
{$ifdef RECORDS}
{$ifndef NSCOLORPICKING_PAS_R}
{$define NSCOLORPICKING_PAS_R}
{$endif}
{$endif}
{$ifdef FUNCTIONS}
{$ifndef NSCOLORPICKING_PAS_F}
{$define NSCOLORPICKING_PAS_F}
{$endif}
{$endif}
{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSCOLORPICKING_PAS_S}
{$define NSCOLORPICKING_PAS_S}
{$endif}
{$endif}
{$ifdef FORWARD}
NSColorPickingDefaultProtocol = objcprotocol;
NSColorPickingCustomProtocol = objcprotocol;
{$endif}
{$ifdef PROTOCOLS}
{$ifndef NSCOLORPICKING_PAS_P}
{$define NSCOLORPICKING_PAS_P}
{ NSColorPickingDefault Protocol }
NSColorPickingDefaultProtocol = objcprotocol external name 'NSColorPickingDefault'
function initWithPickerMask_colorPanel(mask: NSUInteger; owningColorPanel: NSColorPanel): id; message 'initWithPickerMask:colorPanel:';
function provideNewButtonImage: NSImage; message 'provideNewButtonImage';
procedure insertNewButtonImage_in(newButtonImage: NSImage; buttonCell: NSButtonCell); message 'insertNewButtonImage:in:';
procedure viewSizeChanged(sender: id); message 'viewSizeChanged:';
procedure alphaControlAddedOrRemoved(sender: id); message 'alphaControlAddedOrRemoved:';
procedure attachColorList(colorList: NSColorList); message 'attachColorList:';
procedure detachColorList(colorList: NSColorList); message 'detachColorList:';
procedure setMode(mode: NSColorPanelMode); message 'setMode:';
function buttonToolTip: NSString; message 'buttonToolTip';
function minContentSize: NSSize; message 'minContentSize';
end;
{ NSColorPickingCustom Protocol }
NSColorPickingCustomProtocol = objcprotocol external name 'NSColorPickingCustom'
function supportsMode(mode: NSColorPanelMode): Boolean; message 'supportsMode:';
function currentMode: NSColorPanelMode; message 'currentMode';
function provideNewView(initialRequest: Boolean): NSView; message 'provideNewView:';
procedure setColor(newColor: NSColor); message 'setColor:';
end;
{$endif}
{$endif}
|