2001-03-20 02:24:08 +01:00
|
|
|
/*
|
|
|
|
* DirectDraw HAL base interface
|
|
|
|
*
|
|
|
|
* Copyright 2001 TransGaming Technologies, Inc.
|
|
|
|
*/
|
|
|
|
#ifndef __WINE_X11DDRAW_H
|
|
|
|
#define __WINE_X11DDRAW_H
|
2001-11-06 21:57:11 +01:00
|
|
|
|
|
|
|
#ifndef __WINE_CONFIG_H
|
|
|
|
# error You must include config.h to use this header
|
|
|
|
#endif
|
|
|
|
|
2001-03-20 02:24:08 +01:00
|
|
|
#include "ddrawi.h"
|
|
|
|
|
|
|
|
extern LPDDRAWI_DDRAWSURFACE_LCL X11DRV_DD_Primary;
|
|
|
|
extern LPDDRAWI_DDRAWSURFACE_GBL X11DRV_DD_PrimaryGbl;
|
2001-04-16 21:54:07 +02:00
|
|
|
extern HWND X11DRV_DD_PrimaryWnd;
|
2001-03-20 02:24:08 +01:00
|
|
|
extern HBITMAP X11DRV_DD_PrimaryDIB;
|
|
|
|
extern BOOL X11DRV_DD_IsDirect;
|
|
|
|
|
2001-04-16 21:54:07 +02:00
|
|
|
void X11DRV_DDHAL_SwitchMode(DWORD dwModeIndex, LPVOID fb_addr, LPVIDMEM fb_mem);
|
2001-03-20 02:24:08 +01:00
|
|
|
void X11DRV_DDHAL_SetPalEntries(Colormap pal, DWORD dwBase, DWORD dwNumEntries,
|
|
|
|
LPPALETTEENTRY lpEntries);
|
|
|
|
|
2001-04-16 21:54:07 +02:00
|
|
|
typedef struct _X11DRIVERINFO {
|
|
|
|
const GUID * lpGuid;
|
|
|
|
DWORD dwSize;
|
|
|
|
LPVOID lpvData;
|
|
|
|
struct _X11DRIVERINFO*lpNext;
|
|
|
|
} X11DRIVERINFO,*LPX11DRIVERINFO;
|
|
|
|
|
|
|
|
typedef struct _X11DEVICE {
|
|
|
|
LPX11DRIVERINFO lpInfo;
|
|
|
|
} X11DEVICE,*LPX11DEVICE;
|
2001-03-20 02:24:08 +01:00
|
|
|
|
|
|
|
#endif /* __WINE_X11DDRAW_H */
|