From e94e35431e3a8791345ac9cac4eda239e519a734 Mon Sep 17 00:00:00 2001 From: Veksler Michael Date: Mon, 22 Mar 1999 12:41:26 +0000 Subject: [PATCH] Removed winuser16.h from x11drv.h. --- graphics/wing.c | 1 + graphics/x11drv/xfont.c | 1 + include/wine/winuser16.h | 2 +- include/winuser.h | 4 ++-- include/x11drv.h | 11 +++++++---- misc/main.c | 1 + windows/x11drv/clipboard.c | 1 + windows/x11drv/keyboard.c | 1 + 8 files changed, 15 insertions(+), 7 deletions(-) diff --git a/graphics/wing.c b/graphics/wing.c index b6e14040361..2eac6066e8a 100644 --- a/graphics/wing.c +++ b/graphics/wing.c @@ -17,6 +17,7 @@ #endif /* defined(HAVE_LIBXXSHM) */ #include "x11drv.h" +#include "wine/winuser16.h" #include "bitmap.h" #include "palette.h" #include "dc.h" diff --git a/graphics/x11drv/xfont.c b/graphics/x11drv/xfont.c index 5c4de2fd297..36d05b849ab 100644 --- a/graphics/x11drv/xfont.c +++ b/graphics/x11drv/xfont.c @@ -26,6 +26,7 @@ #include #include #include +#include "winuser.h" #include "heap.h" #include "options.h" #include "font.h" diff --git a/include/wine/winuser16.h b/include/wine/winuser16.h index df7f27fb673..1995448052d 100644 --- a/include/wine/winuser16.h +++ b/include/wine/winuser16.h @@ -68,7 +68,7 @@ typedef struct /* Cursors / Icons */ -typedef struct +typedef struct tagCURSORICONINFO { POINT16 ptHotSpot; WORD nWidth; diff --git a/include/winuser.h b/include/winuser.h index 258f6118f9d..1e56ea5357e 100644 --- a/include/winuser.h +++ b/include/winuser.h @@ -648,7 +648,7 @@ typedef struct /****** Window classes ******/ -typedef struct +typedef struct tagCREATESTRUCTA { LPVOID lpCreateParams; HINSTANCE hInstance; @@ -785,7 +785,7 @@ typedef struct #define DBGFILL_STACK 0xf7 /* WM_WINDOWPOSCHANGING/CHANGED struct */ -typedef struct +typedef struct tagWINDOWPOS { HWND hwnd; HWND hwndInsertAfter; diff --git a/include/x11drv.h b/include/x11drv.h index a2d2c1800c6..153b6c5e70f 100644 --- a/include/x11drv.h +++ b/include/x11drv.h @@ -14,14 +14,17 @@ #include #endif /* !defined(X_DISPLAY_MISSING) */ +#include "winbase.h" #include "gdi.h" #include "windef.h" -#include "wine/winuser16.h" struct tagCLASS; struct tagDC; struct tagDeviceCaps; struct tagWND; +struct tagCREATESTRUCTA; +struct tagWINDOWPOS; +struct tagCURSORICONINFO; /* X physical pen */ typedef struct @@ -316,7 +319,7 @@ extern int X11DRV_MONITOR_GetDepth(struct tagMONITOR *pMonitor); extern struct _MOUSE_DRIVER X11DRV_MOUSE_Driver; -extern void X11DRV_MOUSE_SetCursor(CURSORICONINFO *lpCursor); +extern void X11DRV_MOUSE_SetCursor(struct tagCURSORICONINFO *lpCursor); extern void X11DRV_MOUSE_MoveCursor(WORD wAbsX, WORD wAbsY); /* X11 windows driver */ @@ -335,11 +338,11 @@ extern Window X11DRV_WND_GetXRootWindow(struct tagWND *wndPtr); extern void X11DRV_WND_Initialize(struct tagWND *wndPtr); extern void X11DRV_WND_Finalize(struct tagWND *wndPtr); extern BOOL X11DRV_WND_CreateDesktopWindow(struct tagWND *wndPtr, struct tagCLASS *classPtr, BOOL bUnicode); -extern BOOL X11DRV_WND_CreateWindow(struct tagWND *wndPtr, struct tagCLASS *classPtr, CREATESTRUCTA *cs, BOOL bUnicode); +extern BOOL X11DRV_WND_CreateWindow(struct tagWND *wndPtr, struct tagCLASS *classPtr, struct tagCREATESTRUCTA *cs, BOOL bUnicode); extern BOOL X11DRV_WND_DestroyWindow(struct tagWND *pWnd); extern struct tagWND *X11DRV_WND_SetParent(struct tagWND *wndPtr, struct tagWND *pWndParent); extern void X11DRV_WND_ForceWindowRaise(struct tagWND *pWnd); -extern void X11DRV_WND_SetWindowPos(struct tagWND *wndPtr, const WINDOWPOS *winpos, BOOL bSMC_SETXPOS); +extern void X11DRV_WND_SetWindowPos(struct tagWND *wndPtr, const struct tagWINDOWPOS *winpos, BOOL bSMC_SETXPOS); extern void X11DRV_WND_SetText(struct tagWND *wndPtr, LPCSTR text); extern void X11DRV_WND_SetFocus(struct tagWND *wndPtr); extern void X11DRV_WND_PreSizeMove(struct tagWND *wndPtr); diff --git a/misc/main.c b/misc/main.c index d2deec242fc..46353d0e766 100644 --- a/misc/main.c +++ b/misc/main.c @@ -21,6 +21,7 @@ #ifdef MALLOC_DEBUGGING # include #endif +#include "wine/winuser16.h" #include "winbase.h" #include "winsock.h" #include "heap.h" diff --git a/windows/x11drv/clipboard.c b/windows/x11drv/clipboard.c index 9e7d136f946..9a730c7199a 100644 --- a/windows/x11drv/clipboard.c +++ b/windows/x11drv/clipboard.c @@ -12,6 +12,7 @@ #include #include "ts_xlib.h" +#include "wine/winuser16.h" #include "clipboard.h" #include "debug.h" #include "message.h" diff --git a/windows/x11drv/keyboard.c b/windows/x11drv/keyboard.c index 7027945b8a2..9ae2d275895 100644 --- a/windows/x11drv/keyboard.c +++ b/windows/x11drv/keyboard.c @@ -19,6 +19,7 @@ #include "ts_xresource.h" #include "ts_xutil.h" +#include "wine/winuser16.h" #include "debug.h" #include "keyboard.h" #include "message.h"