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
feb957b2
Commit
feb957b2
authored
Feb 05, 2018
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 05, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IDOMMouseEvent position getters implementation.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
aa2be899
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
8 deletions
+44
-8
htmlevent.c
dlls/mshtml/htmlevent.c
+44
-8
No files found.
dlls/mshtml/htmlevent.c
View file @
feb957b2
...
...
@@ -1263,29 +1263,65 @@ static HRESULT WINAPI DOMMouseEvent_Invoke(IDOMMouseEvent *iface, DISPID dispIdM
static
HRESULT
WINAPI
DOMMouseEvent_get_screenX
(
IDOMMouseEvent
*
iface
,
LONG
*
p
)
{
DOMEvent
*
This
=
impl_from_IDOMMouseEvent
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
INT32
screen_x
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
nsres
=
nsIDOMMouseEvent_GetScreenX
(
This
->
mouse_event
,
&
screen_x
);
if
(
NS_FAILED
(
nsres
))
return
E_FAIL
;
*
p
=
screen_x
;
return
S_OK
;
}
static
HRESULT
WINAPI
DOMMouseEvent_get_screenY
(
IDOMMouseEvent
*
iface
,
LONG
*
p
)
{
DOMEvent
*
This
=
impl_from_IDOMMouseEvent
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
INT32
screen_y
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
nsres
=
nsIDOMMouseEvent_GetScreenY
(
This
->
mouse_event
,
&
screen_y
);
if
(
NS_FAILED
(
nsres
))
return
E_FAIL
;
*
p
=
screen_y
;
return
S_OK
;
}
static
HRESULT
WINAPI
DOMMouseEvent_get_clientX
(
IDOMMouseEvent
*
iface
,
LONG
*
p
)
{
DOMEvent
*
This
=
impl_from_IDOMMouseEvent
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
INT32
client_x
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
nsres
=
nsIDOMMouseEvent_GetClientX
(
This
->
mouse_event
,
&
client_x
);
if
(
NS_FAILED
(
nsres
))
return
E_FAIL
;
*
p
=
client_x
;
return
S_OK
;
}
static
HRESULT
WINAPI
DOMMouseEvent_get_clientY
(
IDOMMouseEvent
*
iface
,
LONG
*
p
)
{
DOMEvent
*
This
=
impl_from_IDOMMouseEvent
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
INT32
client_y
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
nsres
=
nsIDOMMouseEvent_GetClientY
(
This
->
mouse_event
,
&
client_y
);
if
(
NS_FAILED
(
nsres
))
return
E_FAIL
;
*
p
=
client_y
;
return
S_OK
;
}
static
HRESULT
WINAPI
DOMMouseEvent_get_ctrlKey
(
IDOMMouseEvent
*
iface
,
VARIANT_BOOL
*
p
)
...
...
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