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
4a2db7cc
Commit
4a2db7cc
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 IHTMLElement::put_onmouseover implementation.
parent
9fb81984
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
6 deletions
+13
-6
htmlelem.c
dlls/mshtml/htmlelem.c
+4
-2
htmlevent.c
dlls/mshtml/htmlevent.c
+8
-4
htmlevent.h
dlls/mshtml/htmlevent.h
+1
-0
No files found.
dlls/mshtml/htmlelem.c
View file @
4a2db7cc
...
@@ -501,8 +501,10 @@ static HRESULT WINAPI HTMLElement_get_onmouseout(IHTMLElement *iface, VARIANT *p
...
@@ -501,8 +501,10 @@ static HRESULT WINAPI HTMLElement_get_onmouseout(IHTMLElement *iface, VARIANT *p
static
HRESULT
WINAPI
HTMLElement_put_onmouseover
(
IHTMLElement
*
iface
,
VARIANT
v
)
static
HRESULT
WINAPI
HTMLElement_put_onmouseover
(
IHTMLElement
*
iface
,
VARIANT
v
)
{
{
HTMLElement
*
This
=
HTMLELEM_THIS
(
iface
);
HTMLElement
*
This
=
HTMLELEM_THIS
(
iface
);
FIXME
(
"(%p)->()
\n
"
,
This
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->()
\n
"
,
This
);
return
set_node_event
(
&
This
->
node
,
EVENTID_MOUSEOVER
,
&
v
);
}
}
static
HRESULT
WINAPI
HTMLElement_get_onmouseover
(
IHTMLElement
*
iface
,
VARIANT
*
p
)
static
HRESULT
WINAPI
HTMLElement_get_onmouseover
(
IHTMLElement
*
iface
,
VARIANT
*
p
)
...
...
dlls/mshtml/htmlevent.c
View file @
4a2db7cc
...
@@ -48,6 +48,9 @@ static const WCHAR onkeyupW[] = {'o','n','k','e','y','u','p',0};
...
@@ -48,6 +48,9 @@ static const WCHAR onkeyupW[] = {'o','n','k','e','y','u','p',0};
static
const
WCHAR
loadW
[]
=
{
'l'
,
'o'
,
'a'
,
'd'
,
0
};
static
const
WCHAR
loadW
[]
=
{
'l'
,
'o'
,
'a'
,
'd'
,
0
};
static
const
WCHAR
onloadW
[]
=
{
'o'
,
'n'
,
'l'
,
'o'
,
'a'
,
'd'
,
0
};
static
const
WCHAR
onloadW
[]
=
{
'o'
,
'n'
,
'l'
,
'o'
,
'a'
,
'd'
,
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
};
typedef
struct
{
typedef
struct
{
LPCWSTR
name
;
LPCWSTR
name
;
LPCWSTR
attr_name
;
LPCWSTR
attr_name
;
...
@@ -57,10 +60,11 @@ typedef struct {
...
@@ -57,10 +60,11 @@ typedef struct {
#define EVENT_DEFAULTLISTENER 0x0001
#define EVENT_DEFAULTLISTENER 0x0001
static
const
event_info_t
event_info
[]
=
{
static
const
event_info_t
event_info
[]
=
{
{
changeW
,
onchangeW
,
EVENT_DEFAULTLISTENER
},
{
changeW
,
onchangeW
,
EVENT_DEFAULTLISTENER
},
{
clickW
,
onclickW
,
EVENT_DEFAULTLISTENER
},
{
clickW
,
onclickW
,
EVENT_DEFAULTLISTENER
},
{
keyupW
,
onkeyupW
,
EVENT_DEFAULTLISTENER
},
{
keyupW
,
onkeyupW
,
EVENT_DEFAULTLISTENER
},
{
loadW
,
onloadW
,
0
}
{
loadW
,
onloadW
,
0
},
{
mouseoverW
,
onmouseoverW
,
EVENT_DEFAULTLISTENER
}
};
};
eventid_t
str_to_eid
(
LPCWSTR
str
)
eventid_t
str_to_eid
(
LPCWSTR
str
)
...
...
dlls/mshtml/htmlevent.h
View file @
4a2db7cc
...
@@ -21,6 +21,7 @@ typedef enum {
...
@@ -21,6 +21,7 @@ typedef enum {
EVENTID_CLICK
,
EVENTID_CLICK
,
EVENTID_KEYUP
,
EVENTID_KEYUP
,
EVENTID_LOAD
,
EVENTID_LOAD
,
EVENTID_MOUSEOVER
,
EVENTID_LAST
EVENTID_LAST
}
eventid_t
;
}
eventid_t
;
...
...
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