blob: df77965fae8750e1e9ea04215012ad0027271d60 (
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
|
{ Parsed from AppKit.framework NSColorPicker.h }
{$ifdef TYPES}
type
NSColorPickerPtr = ^NSColorPicker;
{$endif}
{$ifdef CLASSES}
type
NSColorPicker = objcclass external (NSObject, NSColorPickingDefaultProtocol)
private
_imageObject: id;
_colorPanel: NSColorPanel;
_buttonToolTip: NSString;
public
function initWithPickerMask_colorPanel (mask: NSUInteger; owningColorPanel: NSColorPanel): instancetype; message 'initWithPickerMask:colorPanel:';
function colorPanel: NSColorPanel; message 'colorPanel';
function provideNewButtonImage: NSImage; message 'provideNewButtonImage';
procedure insertNewButtonImage_in (newButtonImage: NSImage; buttonCell: NSButtonCell); message 'insertNewButtonImage:in:';
procedure viewSizeChanged (sender: id); message 'viewSizeChanged:';
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';
{ Adopted protocols }
procedure alphaControlAddedOrRemoved (sender: id); message 'alphaControlAddedOrRemoved:';
end;
{$endif}
|