summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/palmunits/src/uicontrols.pp
blob: 4dd6ed765b628578d92b667aac68226e71269e57 (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
{$MACRO ON}
(******************************************************************************
 *
 * Copyright (c) 1998-2000 Palm, Inc. or its subsidiaries.
 * All rights reserved.
 *
 * File: UIControls.h
 *
 * Release: Palm OS SDK 4.0 (63220)
 *
 * Description:
 *                Contrast & brightness control for devices with
 *                software contrast.
 *
 * History:
 *       Name  Date     Description
 *       ----  ----     -----------
 *       bob   02/12/98 Initial version
 *       bob   03/15/99 Added brightness
 *       bob   08/27/99 Added UIPickColor, renamed UIControls.h
 *
 *****************************************************************************)

unit uicontrols;

interface

uses palmos, coretraps, bitmap, window;

// for UIPickColor
const
  UIPickColorStartPalette = 0;
  UIPickColorStartRGB = 1;

type
  UIPickColorStartType = UInt16;

procedure UIContrastAdjust; syscall sysTrapUIContrastAdjust;

procedure UIBrightnessAdjust; syscall sysTrapUIBrightnessAdjust;

function UIPickColor(var indexP: IndexedColorType; var rgbP: RGBColorType;
                    start: UIPickColorStartType; const titleP, tipP: PChar): Boolean; syscall sysTrapUIPickColor;

implementation

end.