mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:57:35 +00:00
LibWeb: Add barebones CanvasGradient object
Also add the CanvasRenderingContext2D APIs to go along with it. Note that it can't be used for anything yet.
This commit is contained in:
parent
545ec334f0
commit
dc3bf32307
10 changed files with 130 additions and 0 deletions
|
@ -22,6 +22,8 @@
|
|||
#include <LibWeb/Bindings/CSSStyleRulePrototype.h>
|
||||
#include <LibWeb/Bindings/CSSStyleSheetConstructor.h>
|
||||
#include <LibWeb/Bindings/CSSStyleSheetPrototype.h>
|
||||
#include <LibWeb/Bindings/CanvasGradientConstructor.h>
|
||||
#include <LibWeb/Bindings/CanvasGradientPrototype.h>
|
||||
#include <LibWeb/Bindings/CanvasRenderingContext2DConstructor.h>
|
||||
#include <LibWeb/Bindings/CanvasRenderingContext2DPrototype.h>
|
||||
#include <LibWeb/Bindings/CharacterDataConstructor.h>
|
||||
|
@ -303,6 +305,7 @@
|
|||
ADD_WINDOW_OBJECT_INTERFACE(CSSStyleDeclaration) \
|
||||
ADD_WINDOW_OBJECT_INTERFACE(CSSStyleRule) \
|
||||
ADD_WINDOW_OBJECT_INTERFACE(CSSStyleSheet) \
|
||||
ADD_WINDOW_OBJECT_INTERFACE(CanvasGradient) \
|
||||
ADD_WINDOW_OBJECT_INTERFACE(CanvasRenderingContext2D) \
|
||||
ADD_WINDOW_OBJECT_INTERFACE(CharacterData) \
|
||||
ADD_WINDOW_OBJECT_INTERFACE(CloseEvent) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue