comparison src/video/Xext/extensions/xme.h @ 1242:caf0328c8058

Add XME hooks to X11 driver instead of relying on libxme...libxme hasn't changed in five years, and it's a small .c file that just calls into the X11 dependencies we already use elsewhere. Including it directly allows us to make use of the dynamic X11 code. Fixes Bugzilla #41. --ryan.
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 12 Jan 2006 22:46:36 +0000
parents
children 782fd950bd46 c121d94672cb a10bddfdc40f
comparison
equal deleted inserted replaced
1241:4b2146866b82 1242:caf0328c8058
1 /*
2 * Copyright 1993-2001 by Xi Graphics, Inc.
3 * All Rights Reserved.
4 *
5 * Please see the LICENSE file accompanying this distribution for licensing
6 * information.
7 *
8 * Please send any bug fixes and modifications to src@xig.com.
9 *
10 * $XiGId: xme.h,v 1.1.1.1 2001/11/19 19:01:10 jon Exp $
11 *
12 */
13
14
15 #ifndef _XME_H_INCLUDED
16 #define _XME_H_INCLUDED
17
18 typedef struct {
19 short x;
20 short y;
21 unsigned short w;
22 unsigned short h;
23 } XiGMiscViewInfo;
24
25 typedef struct {
26 unsigned short width;
27 unsigned short height;
28 int refresh;
29 } XiGMiscResolutionInfo;
30
31 extern Bool XiGMiscQueryVersion(Display *dpy, int *major, int *minor);
32 extern int XiGMiscQueryViews(Display *dpy, int screen,
33 XiGMiscViewInfo **pviews);
34 extern int XiGMiscQueryResolutions(Display *dpy, int screen, int view,
35 int *pactive,
36 XiGMiscResolutionInfo **presolutions);
37 extern void XiGMiscChangeResolution(Display *dpy, int screen, int view,
38 int width, int height, int refresh);
39 #endif /* _XME_H_INCLUDED */
40
41