Fixed a silly VGA-emulation palette bug.
[wine/multimedia.git] / include / ts_xf86vmode.h
blob825c84ff584f10b1d99e71f2497f026b616b4c42
1 /*
2 * Thread safe wrappers around xf86vmode calls.
3 * Always include this file instead of <X11/xf86vmode.h>.
4 * This file was generated automatically by tools/make_X11wrappers
6 * Copyright 1998 Kristian Nielsen
7 */
9 #ifndef __WINE_TSXF86VMODE_H
10 #define __WINE_TSXF86VMODE_H
12 #include "config.h"
14 #ifndef X_DISPLAY_MISSING
16 #include "wintypes.h"
17 #ifdef HAVE_LIBXXF86VM
18 #define XMD_H
20 #include <X11/Xlib.h>
21 #include <X11/extensions/xf86vmode.h>
23 extern Bool TSXF86VidModeQueryVersion(Display*,int*,int*);
24 extern Bool TSXF86VidModeQueryExtension(Display*,int*,int*);
25 extern Bool TSXF86VidModeGetModeLine(Display*,int,int*,XF86VidModeModeLine*);
26 extern Bool TSXF86VidModeGetAllModeLines(Display*,int,int*,XF86VidModeModeInfo***);
27 extern Bool TSXF86VidModeAddModeLine(Display*,int,XF86VidModeModeInfo*,XF86VidModeModeInfo*);
28 extern Bool TSXF86VidModeDeleteModeLine(Display*,int,XF86VidModeModeInfo*);
29 extern Bool TSXF86VidModeModModeLine(Display*,int,XF86VidModeModeLine*);
30 extern Status TSXF86VidModeValidateModeLine(Display*,int,XF86VidModeModeInfo*);
31 extern Bool TSXF86VidModeSwitchMode(Display*,int,int);
32 extern Bool TSXF86VidModeSwitchToMode(Display*,int,XF86VidModeModeInfo*);
33 extern Bool TSXF86VidModeLockModeSwitch(Display*,int,int);
34 extern Bool TSXF86VidModeGetMonitor(Display*,int,XF86VidModeMonitor*);
35 extern Bool TSXF86VidModeGetViewPort(Display*,int,int*,int*);
36 extern Bool TSXF86VidModeSetViewPort(Display*,int,int,int);
38 #endif /* defined(HAVE_LIBXXF86VM) */
40 #endif /* !defined(X_DISPLAY_MISSING) */
42 #endif /* __WINE_TSXF86VMODE_H */