Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Latest commit

 

History

History
46 lines (39 loc) · 1.22 KB

File metadata and controls

46 lines (39 loc) · 1.22 KB
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
* Copyright 1993-2001 by Xi Graphics, Inc.
* All Rights Reserved.
*
* Please see the LICENSE file accompanying this distribution for licensing
* information.
*
* Please send any bug fixes and modifications to src@xig.com.
*
* $XiGId: xme.h,v 1.1.1.1 2001/11/19 19:01:10 jon Exp $
*
*/
Jul 10, 2006
Jul 10, 2006
15
#ifndef _XME_H_INCLUDED
16
17
#define _XME_H_INCLUDED
Jul 10, 2006
Jul 10, 2006
18
19
20
21
22
23
typedef struct
{
short x;
short y;
unsigned short w;
unsigned short h;
Jul 10, 2006
Jul 10, 2006
26
27
28
29
30
typedef struct
{
unsigned short width;
unsigned short height;
int refresh;
31
32
} XiGMiscResolutionInfo;
Jul 10, 2006
Jul 10, 2006
33
34
35
36
37
38
39
40
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);
Oct 29, 2006
Oct 29, 2006
41
42
43
44
/* SDL addition from Ryan: free memory used by xme. */
extern void XiGMiscDestroy(void);
45
#endif /* _XME_H_INCLUDED */
Jul 10, 2006
Jul 10, 2006
46
/* vi: set ts=4 sw=4 expandtab: */