1998-12-08 14:10:56 +01:00
|
|
|
/*
|
|
|
|
* Thread safe wrappers around xf86vmode calls.
|
|
|
|
* Always include this file instead of <X11/xf86vmode.h>.
|
|
|
|
* This file was generated automatically by tools/make_X11wrappers
|
|
|
|
*
|
|
|
|
* Copyright 1998 Kristian Nielsen
|
|
|
|
*/
|
|
|
|
|
1999-06-12 20:36:54 +02:00
|
|
|
#ifndef __WINE_TS_XF86VMODE_H
|
|
|
|
#define __WINE_TS_XF86VMODE_H
|
1998-12-08 14:10:56 +01:00
|
|
|
|
1999-02-04 11:51:35 +01:00
|
|
|
#include "config.h"
|
|
|
|
|
1999-03-14 17:35:05 +01:00
|
|
|
#include "windef.h"
|
1999-02-04 11:51:35 +01:00
|
|
|
#ifdef HAVE_LIBXXF86VM
|
|
|
|
#define XMD_H
|
1999-07-04 17:56:03 +02:00
|
|
|
#include "basetsd.h"
|
1999-02-04 11:51:35 +01:00
|
|
|
|
1998-12-08 14:10:56 +01:00
|
|
|
#include <X11/Xlib.h>
|
|
|
|
#include <X11/extensions/xf86vmode.h>
|
|
|
|
|
2000-12-06 01:04:10 +01:00
|
|
|
extern void (*wine_tsx11_lock)(void);
|
|
|
|
extern void (*wine_tsx11_unlock)(void);
|
|
|
|
|
1998-12-08 14:10:56 +01:00
|
|
|
extern Bool TSXF86VidModeQueryVersion(Display*,int*,int*);
|
|
|
|
extern Bool TSXF86VidModeQueryExtension(Display*,int*,int*);
|
|
|
|
extern Bool TSXF86VidModeGetModeLine(Display*,int,int*,XF86VidModeModeLine*);
|
|
|
|
extern Bool TSXF86VidModeGetAllModeLines(Display*,int,int*,XF86VidModeModeInfo***);
|
|
|
|
extern Bool TSXF86VidModeAddModeLine(Display*,int,XF86VidModeModeInfo*,XF86VidModeModeInfo*);
|
|
|
|
extern Bool TSXF86VidModeDeleteModeLine(Display*,int,XF86VidModeModeInfo*);
|
|
|
|
extern Bool TSXF86VidModeModModeLine(Display*,int,XF86VidModeModeLine*);
|
|
|
|
extern Status TSXF86VidModeValidateModeLine(Display*,int,XF86VidModeModeInfo*);
|
|
|
|
extern Bool TSXF86VidModeSwitchMode(Display*,int,int);
|
|
|
|
extern Bool TSXF86VidModeSwitchToMode(Display*,int,XF86VidModeModeInfo*);
|
|
|
|
extern Bool TSXF86VidModeLockModeSwitch(Display*,int,int);
|
|
|
|
extern Bool TSXF86VidModeGetMonitor(Display*,int,XF86VidModeMonitor*);
|
|
|
|
extern Bool TSXF86VidModeGetViewPort(Display*,int,int*,int*);
|
|
|
|
extern Bool TSXF86VidModeSetViewPort(Display*,int,int,int);
|
|
|
|
|
1999-02-04 11:51:35 +01:00
|
|
|
#endif /* defined(HAVE_LIBXXF86VM) */
|
|
|
|
|
1999-06-12 20:36:54 +02:00
|
|
|
#endif /* __WINE_TS_XF86VMODE_H */
|