Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- a/src/video/Xext/extensions/xme.h Thu Jul 06 18:01:37 2006 +0000 +++ b/src/video/Xext/extensions/xme.h Mon Jul 10 21:04:37 2006 +0000 @@ -12,30 +12,31 @@ */ -#ifndef _XME_H_INCLUDED +#ifndef _XME_H_INCLUDED #define _XME_H_INCLUDED -typedef struct { - short x; - short y; - unsigned short w; - unsigned short h; +typedef struct +{ + short x; + short y; + unsigned short w; + unsigned short h; } XiGMiscViewInfo; -typedef struct { - unsigned short width; - unsigned short height; - int refresh; +typedef struct +{ + unsigned short width; + unsigned short height; + int refresh; } XiGMiscResolutionInfo; -extern Bool XiGMiscQueryVersion(Display *dpy, int *major, int *minor); -extern int XiGMiscQueryViews(Display *dpy, int screen, - XiGMiscViewInfo **pviews); -extern int XiGMiscQueryResolutions(Display *dpy, int screen, int view, - int *pactive, - XiGMiscResolutionInfo **presolutions); -extern void XiGMiscChangeResolution(Display *dpy, int screen, int view, - int width, int height, int refresh); +extern Bool XiGMiscQueryVersion(Display * dpy, int *major, int *minor); +extern int XiGMiscQueryViews(Display * dpy, int screen, + XiGMiscViewInfo ** pviews); +extern int XiGMiscQueryResolutions(Display * dpy, int screen, int view, + int *pactive, + XiGMiscResolutionInfo ** presolutions); +extern void XiGMiscChangeResolution(Display * dpy, int screen, int view, + int width, int height, int refresh); #endif /* _XME_H_INCLUDED */ - - +/* vi: set ts=4 sw=4 expandtab: */