VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/7.0/X11/extensions/randr.h@ 17234

最後變更 在這個檔案從17234是 17234,由 vboxsync 提交於 16 年 前

Additions/x11/x11include: blast! Corrected svn:keywords property on all files as per http://linserv.germany/vbox/wiki/SvnKeywords

  • 屬性 svn:eol-style 設為 native
檔案大小: 2.5 KB
 
1/*
2 * $XFree86: xc/include/extensions/randr.h,v 1.4 2001/11/24 07:24:58 keithp Exp $
3 *
4 * Copyright © 2000, Compaq Computer Corporation,
5 * Copyright © 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#ifndef _RANDR_H_
28#define _RANDR_H_
29
30typedef unsigned short Rotation;
31typedef unsigned short SizeID;
32typedef unsigned short SubpixelOrder;
33
34#define RANDR_NAME "RANDR"
35#define RANDR_MAJOR 1
36#define RANDR_MINOR 1
37
38#define RRNumberErrors 0
39#define RRNumberEvents 1
40
41#define X_RRQueryVersion 0
42/* we skip 1 to make old clients fail pretty immediately */
43#define X_RROldGetScreenInfo 1
44#define X_RR1_0SetScreenConfig 2
45/* V1.0 apps share the same set screen config request id */
46#define X_RRSetScreenConfig 2
47#define X_RROldScreenChangeSelectInput 3
48/* 3 used to be ScreenChangeSelectInput; deprecated */
49#define X_RRSelectInput 4
50#define X_RRGetScreenInfo 5
51
52/* used in XRRSelectInput */
53
54#define RRScreenChangeNotifyMask (1L << 0)
55
56#define RRScreenChangeNotify 0
57
58/* used in the rotation field; rotation and reflection in 0.1 proto. */
59#define RR_Rotate_0 1
60#define RR_Rotate_90 2
61#define RR_Rotate_180 4
62#define RR_Rotate_270 8
63
64/* new in 1.0 protocol, to allow reflection of screen */
65
66#define RR_Reflect_X 16
67#define RR_Reflect_Y 32
68
69#define RRSetConfigSuccess 0
70#define RRSetConfigInvalidConfigTime 1
71#define RRSetConfigInvalidTime 2
72#define RRSetConfigFailed 3
73
74#endif /* _RANDR_H_ */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette