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
ecaab0fc
Commit
ecaab0fc
authored
Sep 06, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 08, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLEventObj::get_screen[XY] implementation.
parent
be5e018b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
4 deletions
+34
-4
htmlevent.c
dlls/mshtml/htmlevent.c
+34
-4
No files found.
dlls/mshtml/htmlevent.c
View file @
ecaab0fc
...
...
@@ -514,15 +514,45 @@ static HRESULT WINAPI HTMLEventObj_get_offsetY(IHTMLEventObj *iface, LONG *p)
static
HRESULT
WINAPI
HTMLEventObj_get_screenX
(
IHTMLEventObj
*
iface
,
LONG
*
p
)
{
HTMLEventObj
*
This
=
HTMLEVENTOBJ_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
PRInt32
x
=
0
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
if
(
This
->
nsevent
)
{
nsIDOMMouseEvent
*
mouse_event
;
nsresult
nsres
;
nsres
=
nsIDOMEvent_QueryInterface
(
This
->
nsevent
,
&
IID_nsIDOMMouseEvent
,
(
void
**
)
&
mouse_event
);
if
(
NS_SUCCEEDED
(
nsres
))
{
nsIDOMMouseEvent_GetScreenX
(
mouse_event
,
&
x
);
nsIDOMMouseEvent_Release
(
mouse_event
);
}
}
*
p
=
x
;
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLEventObj_get_screenY
(
IHTMLEventObj
*
iface
,
LONG
*
p
)
{
HTMLEventObj
*
This
=
HTMLEVENTOBJ_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
PRInt32
y
=
0
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
if
(
This
->
nsevent
)
{
nsIDOMMouseEvent
*
mouse_event
;
nsresult
nsres
;
nsres
=
nsIDOMEvent_QueryInterface
(
This
->
nsevent
,
&
IID_nsIDOMMouseEvent
,
(
void
**
)
&
mouse_event
);
if
(
NS_SUCCEEDED
(
nsres
))
{
nsIDOMMouseEvent_GetScreenY
(
mouse_event
,
&
y
);
nsIDOMMouseEvent_Release
(
mouse_event
);
}
}
*
p
=
y
;
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLEventObj_get_srcFilter
(
IHTMLEventObj
*
iface
,
IDispatch
**
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