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
46434fac
Commit
46434fac
authored
Oct 10, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 13, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added element mouseout and selectstart event implementation.
parent
b21e90ee
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
10 deletions
+25
-10
htmlelem.c
dlls/mshtml/htmlelem.c
+20
-10
htmlevent.c
dlls/mshtml/htmlevent.c
+4
-0
htmlevent.h
dlls/mshtml/htmlevent.h
+1
-0
No files found.
dlls/mshtml/htmlelem.c
View file @
46434fac
...
...
@@ -422,8 +422,10 @@ static HRESULT WINAPI HTMLElement_put_onclick(IHTMLElement *iface, VARIANT v)
static
HRESULT
WINAPI
HTMLElement_get_onclick
(
IHTMLElement
*
iface
,
VARIANT
*
p
)
{
HTMLElement
*
This
=
HTMLELEM_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
get_node_event
(
&
This
->
node
,
EVENTID_CLICK
,
p
);
}
static
HRESULT
WINAPI
HTMLElement_put_ondblclick
(
IHTMLElement
*
iface
,
VARIANT
v
)
...
...
@@ -491,15 +493,19 @@ static HRESULT WINAPI HTMLElement_get_onkeypress(IHTMLElement *iface, VARIANT *p
static
HRESULT
WINAPI
HTMLElement_put_onmouseout
(
IHTMLElement
*
iface
,
VARIANT
v
)
{
HTMLElement
*
This
=
HTMLELEM_THIS
(
iface
);
FIXME
(
"(%p)->()
\n
"
,
This
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_variant
(
&
v
));
return
set_node_event
(
&
This
->
node
,
EVENTID_MOUSEOUT
,
&
v
);
}
static
HRESULT
WINAPI
HTMLElement_get_onmouseout
(
IHTMLElement
*
iface
,
VARIANT
*
p
)
{
HTMLElement
*
This
=
HTMLELEM_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
get_node_event
(
&
This
->
node
,
EVENTID_MOUSEOUT
,
p
);
}
static
HRESULT
WINAPI
HTMLElement_put_onmouseover
(
IHTMLElement
*
iface
,
VARIANT
v
)
...
...
@@ -634,15 +640,19 @@ static HRESULT WINAPI HTMLElement_get_language(IHTMLElement *iface, BSTR *p)
static
HRESULT
WINAPI
HTMLElement_put_onselectstart
(
IHTMLElement
*
iface
,
VARIANT
v
)
{
HTMLElement
*
This
=
HTMLELEM_THIS
(
iface
);
FIXME
(
"(%p)->()
\n
"
,
This
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_variant
(
&
v
));
return
set_node_event
(
&
This
->
node
,
EVENTID_SELECTSTART
,
&
v
);
}
static
HRESULT
WINAPI
HTMLElement_get_onselectstart
(
IHTMLElement
*
iface
,
VARIANT
*
p
)
{
HTMLElement
*
This
=
HTMLELEM_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
get_node_event
(
&
This
->
node
,
EVENTID_SELECTSTART
,
p
);
}
static
HRESULT
WINAPI
HTMLElement_scrollIntoView
(
IHTMLElement
*
iface
,
VARIANT
varargStart
)
...
...
dlls/mshtml/htmlevent.c
View file @
46434fac
...
...
@@ -66,6 +66,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
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
};
static
const
WCHAR
mouseoverW
[]
=
{
'm'
,
'o'
,
'u'
,
's'
,
'e'
,
'o'
,
'v'
,
'e'
,
'r'
,
0
};
static
const
WCHAR
onmouseoverW
[]
=
{
'o'
,
'n'
,
'm'
,
'o'
,
'u'
,
's'
,
'e'
,
'o'
,
'v'
,
'e'
,
'r'
,
0
};
...
...
@@ -98,6 +101,7 @@ static const event_info_t event_info[] = {
{
keyupW
,
onkeyupW
,
EVENT_DEFAULTLISTENER
|
EVENT_BUBBLE
},
{
loadW
,
onloadW
,
0
},
{
mousedownW
,
onmousedownW
,
EVENT_DEFAULTLISTENER
|
EVENT_BUBBLE
},
{
mouseoutW
,
onmouseoutW
,
EVENT_DEFAULTLISTENER
|
EVENT_BUBBLE
},
{
mouseoverW
,
onmouseoverW
,
EVENT_DEFAULTLISTENER
|
EVENT_BUBBLE
},
{
mouseupW
,
onmouseupW
,
EVENT_DEFAULTLISTENER
|
EVENT_BUBBLE
},
{
pasteW
,
onpasteW
,
0
},
...
...
dlls/mshtml/htmlevent.h
View file @
46434fac
...
...
@@ -27,6 +27,7 @@ typedef enum {
EVENTID_KEYUP
,
EVENTID_LOAD
,
EVENTID_MOUSEDOWN
,
EVENTID_MOUSEOUT
,
EVENTID_MOUSEOVER
,
EVENTID_MOUSEUP
,
EVENTID_PASTE
,
...
...
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