Mercurial > sdl-ios-xcode
comparison src/video/Xext/extensions/xme.h @ 1895:c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 10 Jul 2006 21:04:37 +0000 |
parents | caf0328c8058 |
children | dea73e1d07b0 |
comparison
equal
deleted
inserted
replaced
1894:c69cee13dd76 | 1895:c121d94672cb |
---|---|
10 * $XiGId: xme.h,v 1.1.1.1 2001/11/19 19:01:10 jon Exp $ | 10 * $XiGId: xme.h,v 1.1.1.1 2001/11/19 19:01:10 jon Exp $ |
11 * | 11 * |
12 */ | 12 */ |
13 | 13 |
14 | 14 |
15 #ifndef _XME_H_INCLUDED | 15 #ifndef _XME_H_INCLUDED |
16 #define _XME_H_INCLUDED | 16 #define _XME_H_INCLUDED |
17 | 17 |
18 typedef struct { | 18 typedef struct |
19 short x; | 19 { |
20 short y; | 20 short x; |
21 unsigned short w; | 21 short y; |
22 unsigned short h; | 22 unsigned short w; |
23 unsigned short h; | |
23 } XiGMiscViewInfo; | 24 } XiGMiscViewInfo; |
24 | 25 |
25 typedef struct { | 26 typedef struct |
26 unsigned short width; | 27 { |
27 unsigned short height; | 28 unsigned short width; |
28 int refresh; | 29 unsigned short height; |
30 int refresh; | |
29 } XiGMiscResolutionInfo; | 31 } XiGMiscResolutionInfo; |
30 | 32 |
31 extern Bool XiGMiscQueryVersion(Display *dpy, int *major, int *minor); | 33 extern Bool XiGMiscQueryVersion(Display * dpy, int *major, int *minor); |
32 extern int XiGMiscQueryViews(Display *dpy, int screen, | 34 extern int XiGMiscQueryViews(Display * dpy, int screen, |
33 XiGMiscViewInfo **pviews); | 35 XiGMiscViewInfo ** pviews); |
34 extern int XiGMiscQueryResolutions(Display *dpy, int screen, int view, | 36 extern int XiGMiscQueryResolutions(Display * dpy, int screen, int view, |
35 int *pactive, | 37 int *pactive, |
36 XiGMiscResolutionInfo **presolutions); | 38 XiGMiscResolutionInfo ** presolutions); |
37 extern void XiGMiscChangeResolution(Display *dpy, int screen, int view, | 39 extern void XiGMiscChangeResolution(Display * dpy, int screen, int view, |
38 int width, int height, int refresh); | 40 int width, int height, int refresh); |
39 #endif /* _XME_H_INCLUDED */ | 41 #endif /* _XME_H_INCLUDED */ |
40 | 42 /* vi: set ts=4 sw=4 expandtab: */ |
41 |