~ubuntu-branches/ubuntu/lucid/fpc/lucid-proposed

« back to all changes in this revision

Viewing changes to fpcsrc/packages/extra/x11/randr.inc

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-10-09 23:29:00 UTC
  • mfrom: (4.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20081009232900-553f61m37jkp6upv
Tags: 2.2.2-4
[ Torsten Werner ]
* Update ABI version in fpc-depends automatically.
* Remove empty directories from binary package fpc-source.

[ Mazen Neifer ]
* Removed leading path when calling update-alternatives to remove a Linitian
  error.
* Fixed clean target.
* Improved description of packages. (Closes: #498882)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{*
2
 
 * $XFree86: xc/include/extensions/randr.h,v 1.4 2001/11/24 07:24:58 keithp Exp $
3
 
 *
4
 
 * Copyright (C) 2000, Compaq Computer Corporation, 
5
 
 * Copyright (C) 2002, Hewlett Packard, Inc.
6
 
 *
7
 
 * Permission to use, copy, modify, distribute, and sell this software and its
8
 
 * documentation for any purpose is hereby granted without fee, provided that
9
 
 * the above copyright notice appear in all copies and that both that
10
 
 * copyright notice and this permission notice appear in supporting
11
 
 * documentation, and that the name of Compaq or HP not be used in advertising
12
 
 * or publicity pertaining to distribution of the software without specific,
13
 
 * written prior permission.  HP makes no representations about the
14
 
 * suitability of this software for any purpose.  It is provided "as is"
15
 
 * without express or implied warranty.
16
 
 *
17
 
 * HP DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
18
 
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL HP
19
 
 * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
20
 
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
21
 
 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 
22
 
 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23
 
 *
24
 
 * Author:  Jim Gettys, HP Labs, Hewlett-Packard, Inc.
25
 
 *}
26
 
 
27
 
type
28
 
  PRotation      = ^TRotation;
29
 
  TRotation      = cushort;
30
 
  PSizeID        = ^TSizeID;
31
 
  TSizeID        = cushort;
32
 
  PSubpixelOrder = ^TSubpixelOrder;
33
 
  TSubpixelOrder = cushort;
34
 
 
35
 
const
36
 
  RANDR_NAME                     = 'RANDR';
37
 
  RANDR_MAJOR                    = 1;
38
 
  RANDR_MINOR                    = 1;
39
 
 
40
 
  RRNumberErrors                 = 0;
41
 
  RRNumberEvents                 = 1;
42
 
 
43
 
  X_RRQueryVersion               = 0;
44
 
{ we skip 1 to make old clients fail pretty immediately }
45
 
  X_RROldGetScreenInfo           = 1;
46
 
  X_RR1_0SetScreenConfig         = 2;
47
 
{ V1.0 apps share the same set screen config request id }
48
 
  X_RRSetScreenConfig            = 2;
49
 
  X_RROldScreenChangeSelectInput = 3;
50
 
{ 3 used to be ScreenChangeSelectInput; deprecated }
51
 
  X_RRSelectInput                = 4;
52
 
  X_RRGetScreenInfo              = 5;
53
 
 
54
 
{ used in XRRSelectInput }
55
 
 
56
 
  RRScreenChangeNotifyMask       = 1 shl 0;
57
 
 
58
 
  RRScreenChangeNotify           = 0;
59
 
 
60
 
{ used in the rotation field; rotation and reflection in 0.1 proto. }
61
 
  RR_Rotate_0                    = 1;
62
 
  RR_Rotate_90                   = 2;
63
 
  RR_Rotate_180                  = 4;
64
 
  RR_Rotate_270                  = 8;
65
 
 
66
 
{ new in 1.0 protocol, to allow reflection of screen }
67
 
 
68
 
  RR_Reflect_X                   = 16;
69
 
  RR_Reflect_Y                   = 32;
70
 
 
71
 
  RRSetConfigSuccess             = 0;
72
 
  RRSetConfigInvalidConfigTime   = 1;
73
 
  RRSetConfigInvalidTime         = 2;
74
 
  RRSetConfigFailed              = 3;