/* * X11 display driver definitions */ #ifndef __WINE_X11DRV_H #define __WINE_X11DRV_H #include #include #include "windows.h" /* X physical pen */ typedef struct { int style; int pixel; int width; char * dashes; int dash_len; } X_PHYSPEN; /* X physical brush */ typedef struct { int style; int fillStyle; int pixel; Pixmap pixmap; } X_PHYSBRUSH; /* X physical font */ typedef struct { XFontStruct * fstruct; TEXTMETRIC16 metrics; } X_PHYSFONT; /* X physical device */ typedef struct { GC gc; /* X Window GC */ Drawable drawable; X_PHYSFONT font; X_PHYSPEN pen; X_PHYSBRUSH brush; } X11DRV_PDEVICE; /* Wine driver X11 functions */ struct tagDC; extern BOOL32 X11DRV_GetTextExtentPoint( struct tagDC *dc, LPCSTR str, INT32 count, LPSIZE32 size ); #endif /* __WINE_X11DRV_H */