mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:57:35 +00:00
LibWeb: Generate Event and MouseEvent bindings from IDL :^)
We still have to hand-write a function to turn an Event& into a wrapper but this is still a hue improvement. Eventually we'll find a way to auto-generate that function as well.
This commit is contained in:
parent
dd29ff884f
commit
e1bd815a6a
12 changed files with 29 additions and 177 deletions
|
@ -1,9 +1,8 @@
|
|||
set(SOURCES
|
||||
Bindings/CanvasRenderingContext2DWrapper.cpp
|
||||
Bindings/EventListenerWrapper.cpp
|
||||
Bindings/EventWrapper.cpp
|
||||
Bindings/EventWrapperFactory.cpp
|
||||
Bindings/LocationObject.cpp
|
||||
Bindings/MouseEventWrapper.cpp
|
||||
Bindings/NavigatorObject.cpp
|
||||
Bindings/NodeWrapperFactory.cpp
|
||||
Bindings/WindowObject.cpp
|
||||
|
@ -158,6 +157,8 @@ libweb_js_wrapper(HTMLElement)
|
|||
libweb_js_wrapper(HTMLImageElement)
|
||||
libweb_js_wrapper(HTMLCanvasElement)
|
||||
libweb_js_wrapper(ImageData)
|
||||
libweb_js_wrapper(Event)
|
||||
libweb_js_wrapper(MouseEvent)
|
||||
|
||||
get_property(WRAPPER_SOURCES GLOBAL PROPERTY wrapper_sources)
|
||||
set(SOURCES ${SOURCES} ${WRAPPER_SOURCES})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue