From 2aa4a82499d4becd2284cdb482213d541b8804dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 16:29:10 +0200 Subject: Adding upstream version 86.0.1. Signed-off-by: Daniel Baumann --- gfx/wr/wrench/examples/animated.anim | 13 +++++++++++++ gfx/wr/wrench/examples/animated.yaml | 13 +++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 gfx/wr/wrench/examples/animated.anim create mode 100644 gfx/wr/wrench/examples/animated.yaml (limited to 'gfx/wr/wrench/examples') diff --git a/gfx/wr/wrench/examples/animated.anim b/gfx/wr/wrench/examples/animated.anim new file mode 100644 index 0000000000..ee834e6cc2 --- /dev/null +++ b/gfx/wr/wrench/examples/animated.anim @@ -0,0 +1,13 @@ +--- + anim.color: + - red + - green + - blue + rect.pos: + - [100, 100, 100, 100] + - [100, 100, 120, 100] + - [100, 100, 140, 100] + bs.offset: + - [0, 0] + - [2, 0] + - [4, 0] diff --git a/gfx/wr/wrench/examples/animated.yaml b/gfx/wr/wrench/examples/animated.yaml new file mode 100644 index 0000000000..7f9026ad6e --- /dev/null +++ b/gfx/wr/wrench/examples/animated.yaml @@ -0,0 +1,13 @@ +--- +root: + items: + - type: rect + bounds: key(rect.pos) + color: key(anim.color) + - type: box-shadow + bounds: [ 100, 300, 100, 100 ] + blur-radius: 3 + border-radius: 10 + color: blue + clip-mode: outset + offset: key(bs.offset) -- cgit v1.2.3