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
62c8c143
Commit
62c8c143
authored
Feb 21, 2011
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Feb 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Add support for get/put mousemove event.
parent
e0f5dddd
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
8 deletions
+22
-8
htmldoc.c
dlls/mshtml/htmldoc.c
+8
-4
htmlelem.c
dlls/mshtml/htmlelem.c
+8
-4
htmlevent.c
dlls/mshtml/htmlevent.c
+5
-0
htmlevent.h
dlls/mshtml/htmlevent.h
+1
-0
No files found.
dlls/mshtml/htmldoc.c
View file @
62c8c143
...
...
@@ -1146,15 +1146,19 @@ static HRESULT WINAPI HTMLDocument_get_onmousedown(IHTMLDocument2 *iface, VARIAN
static
HRESULT
WINAPI
HTMLDocument_put_onmousemove
(
IHTMLDocument2
*
iface
,
VARIANT
v
)
{
HTMLDocument
*
This
=
impl_from_IHTMLDocument2
(
iface
);
FIXME
(
"(%p)
\n
"
,
This
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->()
\n
"
,
This
);
return
set_doc_event
(
This
,
EVENTID_MOUSEMOVE
,
&
v
);
}
static
HRESULT
WINAPI
HTMLDocument_get_onmousemove
(
IHTMLDocument2
*
iface
,
VARIANT
*
p
)
{
HTMLDocument
*
This
=
impl_from_IHTMLDocument2
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
get_doc_event
(
This
,
EVENTID_MOUSEMOVE
,
p
);
}
static
HRESULT
WINAPI
HTMLDocument_put_onmouseout
(
IHTMLDocument2
*
iface
,
VARIANT
v
)
...
...
dlls/mshtml/htmlelem.c
View file @
62c8c143
...
...
@@ -592,15 +592,19 @@ static HRESULT WINAPI HTMLElement_get_onmouseover(IHTMLElement *iface, VARIANT *
static
HRESULT
WINAPI
HTMLElement_put_onmousemove
(
IHTMLElement
*
iface
,
VARIANT
v
)
{
HTMLElement
*
This
=
impl_from_IHTMLElement
(
iface
);
FIXME
(
"(%p)->()
\n
"
,
This
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->()
\n
"
,
This
);
return
set_node_event
(
&
This
->
node
,
EVENTID_MOUSEMOVE
,
&
v
);
}
static
HRESULT
WINAPI
HTMLElement_get_onmousemove
(
IHTMLElement
*
iface
,
VARIANT
*
p
)
{
HTMLElement
*
This
=
impl_from_IHTMLElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
get_node_event
(
&
This
->
node
,
EVENTID_MOUSEMOVE
,
p
);
}
static
HRESULT
WINAPI
HTMLElement_put_onmousedown
(
IHTMLElement
*
iface
,
VARIANT
v
)
...
...
dlls/mshtml/htmlevent.c
View file @
62c8c143
...
...
@@ -83,6 +83,9 @@ static const WCHAR onloadW[] = {'o','n','l','o','a','d',0};
static
const
WCHAR
mousedownW
[]
=
{
'm'
,
'o'
,
'u'
,
's'
,
'e'
,
'd'
,
'o'
,
'w'
,
'n'
,
0
};
static
const
WCHAR
onmousedownW
[]
=
{
'o'
,
'n'
,
'm'
,
'o'
,
'u'
,
's'
,
'e'
,
'd'
,
'o'
,
'w'
,
'n'
,
0
};
static
const
WCHAR
mousemoveW
[]
=
{
'm'
,
'o'
,
'u'
,
's'
,
'e'
,
'm'
,
'o'
,
'v'
,
'e'
,
0
};
static
const
WCHAR
onmousemoveW
[]
=
{
'o'
,
'n'
,
'm'
,
'o'
,
'u'
,
's'
,
'e'
,
'm'
,
'o'
,
'v'
,
'e'
,
0
};
static
const
WCHAR
mouseoutW
[]
=
{
'm'
,
'o'
,
'u'
,
's'
,
'e'
,
'o'
,
'u'
,
't'
,
0
};
static
const
WCHAR
onmouseoutW
[]
=
{
'o'
,
'n'
,
'm'
,
'o'
,
'u'
,
's'
,
'e'
,
'o'
,
'u'
,
't'
,
0
};
...
...
@@ -162,6 +165,8 @@ static const event_info_t event_info[] = {
EVENT_NODEHANDLER
},
{
mousedownW
,
onmousedownW
,
EVENTT_MOUSE
,
DISPID_EVMETH_ONMOUSEDOWN
,
EVENT_DEFAULTLISTENER
|
EVENT_BUBBLE
},
{
mousemoveW
,
onmousemoveW
,
EVENTT_MOUSE
,
DISPID_EVMETH_ONMOUSEMOVE
,
EVENT_DEFAULTLISTENER
|
EVENT_BUBBLE
},
{
mouseoutW
,
onmouseoutW
,
EVENTT_MOUSE
,
DISPID_EVMETH_ONMOUSEOUT
,
EVENT_DEFAULTLISTENER
|
EVENT_BUBBLE
},
{
mouseoverW
,
onmouseoverW
,
EVENTT_MOUSE
,
DISPID_EVMETH_ONMOUSEOVER
,
...
...
dlls/mshtml/htmlevent.h
View file @
62c8c143
...
...
@@ -30,6 +30,7 @@ typedef enum {
EVENTID_KEYUP
,
EVENTID_LOAD
,
EVENTID_MOUSEDOWN
,
EVENTID_MOUSEMOVE
,
EVENTID_MOUSEOUT
,
EVENTID_MOUSEOVER
,
EVENTID_MOUSEUP
,
...
...
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