< prev index next >

src/java.desktop/unix/native/libawt_xawt/awt/randr.h

Print this page


   1 /*
   2  * reserved comment block
   3  * DO NOT REMOVE OR ALTER!
   4  */
   5 /*
   6  * $XFree86: xc/include/extensions/randr.h,v 1.4 2001/11/24 07:24:58 keithp Exp $
   7  *
   8  * Copyright © 2000, Compaq Computer Corporation,
   9  * Copyright © 2002, Hewlett Packard, Inc.
  10  *
  11  * Permission to use, copy, modify, distribute, and sell this software and its
  12  * documentation for any purpose is hereby granted without fee, provided that
  13  * the above copyright notice appear in all copies and that both that
  14  * copyright notice and this permission notice appear in supporting
  15  * documentation, and that the name of Compaq or HP not be used in advertising
  16  * or publicity pertaining to distribution of the software without specific,
  17  * written prior permission.  HP makes no representations about the
  18  * suitability of this software for any purpose.  It is provided "as is"
  19  * without express or implied warranty.
  20  *
  21  * HP DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
  22  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL HP
  23  * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  24  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
  25  * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  26  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  27  *
  28  * Author:  Jim Gettys, HP Labs, Hewlett-Packard, Inc.
  29  */
  30 
  31 #ifndef _RANDR_H_
  32 #define _RANDR_H_
  33 

  34 typedef unsigned short  Rotation;
  35 typedef unsigned short  SizeID;
  36 typedef unsigned short  SubpixelOrder;
  37 
  38 #define RANDR_NAME              "RANDR"
  39 #define RANDR_MAJOR             1
  40 #define RANDR_MINOR             1
  41 
  42 #define RRNumberErrors          0
  43 #define RRNumberEvents          1
  44 
  45 #define X_RRQueryVersion        0
  46 /* we skip 1 to make old clients fail pretty immediately */
  47 #define X_RROldGetScreenInfo    1
  48 #define X_RR1_0SetScreenConfig  2
  49 /* V1.0 apps share the same set screen config request id */
  50 #define X_RRSetScreenConfig     2
  51 #define X_RROldScreenChangeSelectInput  3
  52 /* 3 used to be ScreenChangeSelectInput; deprecated */
  53 #define X_RRSelectInput         4


   1 /*
   2  * reserved comment block
   3  * DO NOT REMOVE OR ALTER!
   4  */
   5 /*
   6  * $XFree86: xc/include/extensions/randr.h,v 1.4 2001/11/24 07:24:58 keithp Exp $
   7  *
   8  * Copyright � 2000, Compaq Computer Corporation,
   9  * Copyright � 2002, Hewlett Packard, Inc.
  10  *
  11  * Permission to use, copy, modify, distribute, and sell this software and its
  12  * documentation for any purpose is hereby granted without fee, provided that
  13  * the above copyright notice appear in all copies and that both that
  14  * copyright notice and this permission notice appear in supporting
  15  * documentation, and that the name of Compaq or HP not be used in advertising
  16  * or publicity pertaining to distribution of the software without specific,
  17  * written prior permission.  HP makes no representations about the
  18  * suitability of this software for any purpose.  It is provided "as is"
  19  * without express or implied warranty.
  20  *
  21  * HP DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
  22  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL HP
  23  * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  24  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
  25  * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  26  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  27  *
  28  * Author:  Jim Gettys, HP Labs, Hewlett-Packard, Inc.
  29  */
  30 
  31 #ifndef _RANDR_H_
  32 #define _RANDR_H_
  33 
  34 typedef unsigned short  Connection;
  35 typedef unsigned short  Rotation;
  36 typedef unsigned short  SizeID;
  37 typedef unsigned short  SubpixelOrder;
  38 
  39 #define RANDR_NAME              "RANDR"
  40 #define RANDR_MAJOR             1
  41 #define RANDR_MINOR             1
  42 
  43 #define RRNumberErrors          0
  44 #define RRNumberEvents          1
  45 
  46 #define X_RRQueryVersion        0
  47 /* we skip 1 to make old clients fail pretty immediately */
  48 #define X_RROldGetScreenInfo    1
  49 #define X_RR1_0SetScreenConfig  2
  50 /* V1.0 apps share the same set screen config request id */
  51 #define X_RRSetScreenConfig     2
  52 #define X_RROldScreenChangeSelectInput  3
  53 /* 3 used to be ScreenChangeSelectInput; deprecated */
  54 #define X_RRSelectInput         4


< prev index next >