Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
81b13c4b
Commit
81b13c4b
authored
Jan 20, 2005
by
Rémi Assailly
Committed by
Alexandre Julliard
Jan 20, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing declarations.
parent
b3a7f37a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
20 deletions
+21
-20
event.c
dlls/x11drv/event.c
+0
-17
window.c
dlls/x11drv/window.c
+0
-2
x11drv.h
dlls/x11drv/x11drv.h
+20
-0
xfont.c
dlls/x11drv/xfont.c
+1
-1
No files found.
dlls/x11drv/event.c
View file @
81b13c4b
...
...
@@ -42,7 +42,6 @@
#include "shlobj.h"
/* DROPFILES */
#include "win.h"
#include "winpos.h"
#include "winreg.h"
#include "x11drv.h"
#include "shellapi.h"
...
...
@@ -93,18 +92,6 @@ static void EVENT_SelectionClear( HWND hWnd, XSelectionClearEvent *event);
static
void
EVENT_PropertyNotify
(
XPropertyEvent
*
event
);
static
void
EVENT_ClientMessage
(
HWND
hWnd
,
XClientMessageEvent
*
event
);
extern
void
X11DRV_ButtonPress
(
HWND
hwnd
,
XButtonEvent
*
event
);
extern
void
X11DRV_ButtonRelease
(
HWND
hwnd
,
XButtonEvent
*
event
);
extern
void
X11DRV_MotionNotify
(
HWND
hwnd
,
XMotionEvent
*
event
);
extern
void
X11DRV_EnterNotify
(
HWND
hwnd
,
XCrossingEvent
*
event
);
extern
void
X11DRV_KeyEvent
(
HWND
hwnd
,
XKeyEvent
*
event
);
extern
void
X11DRV_KeymapNotify
(
HWND
hwnd
,
XKeymapEvent
*
event
);
extern
void
X11DRV_Expose
(
HWND
hwnd
,
XExposeEvent
*
event
);
extern
void
X11DRV_MapNotify
(
HWND
hwnd
,
XMapEvent
*
event
);
extern
void
X11DRV_UnmapNotify
(
HWND
hwnd
,
XUnmapEvent
*
event
);
extern
void
X11DRV_ConfigureNotify
(
HWND
hwnd
,
XConfigureEvent
*
event
);
extern
void
X11DRV_MappingNotify
(
XMappingEvent
*
event
);
#ifdef HAVE_LIBXXF86DGA2
static
int
DGAMotionEventType
;
static
int
DGAButtonPressEventType
;
...
...
@@ -114,10 +101,6 @@ static int DGAKeyReleaseEventType;
static
BOOL
DGAUsed
=
FALSE
;
static
HWND
DGAhwnd
=
0
;
extern
void
X11DRV_DGAMotionEvent
(
HWND
hwnd
,
XDGAMotionEvent
*
event
);
extern
void
X11DRV_DGAButtonPressEvent
(
HWND
hwnd
,
XDGAButtonEvent
*
event
);
extern
void
X11DRV_DGAButtonReleaseEvent
(
HWND
hwnd
,
XDGAButtonEvent
*
event
);
#endif
/* Static used for the current input method */
...
...
dlls/x11drv/window.c
View file @
81b13c4b
...
...
@@ -47,8 +47,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
x11drv
);
extern
Pixmap
X11DRV_BITMAP_Pixmap
(
HBITMAP
);
/* X context to associate a hwnd to an X window */
XContext
winContext
=
0
;
...
...
dlls/x11drv/x11drv.h
View file @
81b13c4b
...
...
@@ -34,6 +34,9 @@
#ifdef HAVE_LIBXXSHM
# include <X11/extensions/XShm.h>
#endif
/* defined(HAVE_LIBXXSHM) */
#ifdef HAVE_LIBXXF86DGA2
#include <X11/extensions/xf86dga.h>
#endif
#undef Status
/* avoid conflict with wintrnl.h */
typedef
int
Status
;
...
...
@@ -202,6 +205,7 @@ extern HBITMAP X11DRV_BITMAP_CreateBitmapHeaderFromPixmap(HDC hdc, Pixmap pixmap
extern
HGLOBAL
X11DRV_DIB_CreateDIBFromBitmap
(
HDC
hdc
,
HBITMAP
hBmp
);
extern
HGLOBAL
X11DRV_DIB_CreateDIBFromPixmap
(
Pixmap
pixmap
,
HDC
hdc
,
BOOL
bDeletePixmap
);
extern
Pixmap
X11DRV_DIB_CreatePixmapFromDIB
(
HGLOBAL
hPackedDIB
,
HDC
hdc
);
extern
Pixmap
X11DRV_BITMAP_Pixmap
(
HBITMAP
);
extern
RGNDATA
*
X11DRV_GetRegionData
(
HRGN
hrgn
,
HDC
hdc_lptodp
);
...
...
@@ -499,8 +503,24 @@ typedef enum {
}
INPUT_TYPE
;
extern
INPUT_TYPE
X11DRV_EVENT_SetInputMethod
(
INPUT_TYPE
type
);
extern
void
X11DRV_ButtonPress
(
HWND
hwnd
,
XButtonEvent
*
event
);
extern
void
X11DRV_ButtonRelease
(
HWND
hwnd
,
XButtonEvent
*
event
);
extern
void
X11DRV_MotionNotify
(
HWND
hwnd
,
XMotionEvent
*
event
);
extern
void
X11DRV_EnterNotify
(
HWND
hwnd
,
XCrossingEvent
*
event
);
extern
void
X11DRV_KeyEvent
(
HWND
hwnd
,
XKeyEvent
*
event
);
extern
void
X11DRV_KeymapNotify
(
HWND
hwnd
,
XKeymapEvent
*
event
);
extern
void
X11DRV_Expose
(
HWND
hwnd
,
XExposeEvent
*
event
);
extern
void
X11DRV_MapNotify
(
HWND
hwnd
,
XMapEvent
*
event
);
extern
void
X11DRV_UnmapNotify
(
HWND
hwnd
,
XUnmapEvent
*
event
);
extern
void
X11DRV_ConfigureNotify
(
HWND
hwnd
,
XConfigureEvent
*
event
);
extern
void
X11DRV_MappingNotify
(
XMappingEvent
*
event
);
#ifdef HAVE_LIBXXF86DGA2
void
X11DRV_EVENT_SetDGAStatus
(
HWND
hwnd
,
int
event_base
)
;
extern
void
X11DRV_DGAMotionEvent
(
HWND
hwnd
,
XDGAMotionEvent
*
event
);
extern
void
X11DRV_DGAButtonPressEvent
(
HWND
hwnd
,
XDGAButtonEvent
*
event
);
extern
void
X11DRV_DGAButtonReleaseEvent
(
HWND
hwnd
,
XDGAButtonEvent
*
event
);
#endif
extern
DWORD
EVENT_x11_time_to_win32_time
(
Time
time
);
...
...
dlls/x11drv/xfont.c
View file @
81b13c4b
...
...
@@ -1755,7 +1755,7 @@ static LPCSTR XFONT_UnAlias(char* font)
* set FR_REMOVED flag to delay removal until the resource is not in use
* any more.
*/
void
XFONT_RemoveFontResource
(
fontResource
**
ppfr
)
static
void
XFONT_RemoveFontResource
(
fontResource
**
ppfr
)
{
fontResource
*
pfr
=
*
ppfr
;
#if 0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment