Mercurial > sdl-ios-xcode
comparison src/video/Xext/extensions/xme.h @ 1662:782fd950bd46 SDL-1.3
Revamp of the video system in progress - adding support for multiple displays, multiple windows, and a full video mode selection API.
WARNING: None of the video drivers have been updated for the new API yet! The API is still under design and very fluid.
The code is now run through a consistent indent format:
indent -i4 -nut -nsc -br -ce
The headers are being converted to automatically generate doxygen documentation.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 28 May 2006 13:04:16 +0000 |
parents | caf0328c8058 |
children | 4da1ee79c9af |
comparison
equal
deleted
inserted
replaced
1661:281d3f4870e5 | 1662:782fd950bd46 |
---|---|
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 |