summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/cocoaint/src/appkit/NSLevelIndicator.inc
blob: a587eeff4080faf6ce78900c5f767452bdb76247 (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
{ Parsed from Appkit.framework NSLevelIndicator.h }

{$ifdef TYPES}
{$ifndef NSLEVELINDICATOR_PAS_T}
{$define NSLEVELINDICATOR_PAS_T}

{$endif}
{$endif}

{$ifdef RECORDS}
{$ifndef NSLEVELINDICATOR_PAS_R}
{$define NSLEVELINDICATOR_PAS_R}

{$endif}
{$endif}

{$ifdef FUNCTIONS}
{$ifndef NSLEVELINDICATOR_PAS_F}
{$define NSLEVELINDICATOR_PAS_F}

{$endif}
{$endif}

{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSLEVELINDICATOR_PAS_S}
{$define NSLEVELINDICATOR_PAS_S}

{$endif}
{$endif}

{$ifdef FORWARD}
  NSLevelIndicator = objcclass;
  NSLevelIndicatorPointer = ^NSLevelIndicator;
  NSLevelIndicatorPtr = NSLevelIndicatorPointer;

{$endif}

{$ifdef CLASSES}
{$ifndef NSLEVELINDICATOR_PAS_C}
{$define NSLEVELINDICATOR_PAS_C}

{ NSLevelIndicator }
  NSLevelIndicator = objcclass external (NSControl)
    
  public
    function minValue: double; message 'minValue';
    procedure setMinValue(minValue_: double); message 'setMinValue:';
    function maxValue: double; message 'maxValue';
    procedure setMaxValue(maxValue_: double); message 'setMaxValue:';
    function warningValue: double; message 'warningValue';
    procedure setWarningValue(warningValue_: double); message 'setWarningValue:';
    function criticalValue: double; message 'criticalValue';
    procedure setCriticalValue(criticalValue_: double); message 'setCriticalValue:';
    function tickMarkPosition: NSTickMarkPosition; message 'tickMarkPosition';
    procedure setTickMarkPosition(position: NSTickMarkPosition); message 'setTickMarkPosition:';
    function numberOfTickMarks: NSInteger; message 'numberOfTickMarks';
    procedure setNumberOfTickMarks(count: NSInteger); message 'setNumberOfTickMarks:';
    function numberOfMajorTickMarks: NSInteger; message 'numberOfMajorTickMarks';
    procedure setNumberOfMajorTickMarks(count: NSInteger); message 'setNumberOfMajorTickMarks:';
    function tickMarkValueAtIndex(index: NSInteger): double; message 'tickMarkValueAtIndex:';
    function rectOfTickMarkAtIndex(index: NSInteger): NSRect; message 'rectOfTickMarkAtIndex:';
  end;

{$endif}
{$endif}