0N/A/*
0N/A * reserved comment block
0N/A * DO NOT REMOVE OR ALTER!
0N/A */
0N/A/*
0N/A * $XFree86: xc/include/extensions/randr.h,v 1.4 2001/11/24 07:24:58 keithp Exp $
0N/A *
0N/A * Copyright � 2000, Compaq Computer Corporation,
0N/A * Copyright � 2002, Hewlett Packard, Inc.
0N/A *
0N/A * Permission to use, copy, modify, distribute, and sell this software and its
0N/A * documentation for any purpose is hereby granted without fee, provided that
0N/A * the above copyright notice appear in all copies and that both that
0N/A * copyright notice and this permission notice appear in supporting
0N/A * documentation, and that the name of Compaq or HP not be used in advertising
0N/A * or publicity pertaining to distribution of the software without specific,
0N/A * written prior permission. HP makes no representations about the
0N/A * suitability of this software for any purpose. It is provided "as is"
0N/A * without express or implied warranty.
0N/A *
0N/A * HP DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
0N/A * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL HP
0N/A * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
0N/A * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
0N/A * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
0N/A * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
0N/A *
0N/A * Author: Jim Gettys, HP Labs, Hewlett-Packard, Inc.
0N/A */
0N/A
0N/A#ifndef _RANDR_H_
0N/A#define _RANDR_H_
0N/A
0N/Atypedef unsigned short Rotation;
0N/Atypedef unsigned short SizeID;
0N/Atypedef unsigned short SubpixelOrder;
0N/A
0N/A#define RANDR_NAME "RANDR"
0N/A#define RANDR_MAJOR 1
0N/A#define RANDR_MINOR 1
0N/A
0N/A#define RRNumberErrors 0
0N/A#define RRNumberEvents 1
0N/A
0N/A#define X_RRQueryVersion 0
0N/A/* we skip 1 to make old clients fail pretty immediately */
0N/A#define X_RROldGetScreenInfo 1
0N/A#define X_RR1_0SetScreenConfig 2
0N/A/* V1.0 apps share the same set screen config request id */
0N/A#define X_RRSetScreenConfig 2
0N/A#define X_RROldScreenChangeSelectInput 3
0N/A/* 3 used to be ScreenChangeSelectInput; deprecated */
0N/A#define X_RRSelectInput 4
0N/A#define X_RRGetScreenInfo 5
0N/A
0N/A/* used in XRRSelectInput */
0N/A
0N/A#define RRScreenChangeNotifyMask (1L << 0)
0N/A
0N/A#define RRScreenChangeNotify 0
0N/A
0N/A/* used in the rotation field; rotation and reflection in 0.1 proto. */
0N/A#define RR_Rotate_0 1
0N/A#define RR_Rotate_90 2
0N/A#define RR_Rotate_180 4
0N/A#define RR_Rotate_270 8
0N/A
0N/A/* new in 1.0 protocol, to allow reflection of screen */
0N/A
0N/A#define RR_Reflect_X 16
0N/A#define RR_Reflect_Y 32
0N/A
0N/A#define RRSetConfigSuccess 0
0N/A#define RRSetConfigInvalidConfigTime 1
0N/A#define RRSetConfigInvalidTime 2
0N/A#define RRSetConfigFailed 3
0N/A
0N/A#endif /* _RANDR_H_ */