This is an automated email from the ASF dual-hosted git repository.
harbs pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 07b53b2356 Filter placeholders
07b53b2356 is described below
commit 07b53b2356b880d5328962fcd59a49f2064ec6b9
Author: Harbs <[email protected]>
AuthorDate: Mon Feb 23 18:35:00 2026 +0200
Filter placeholders
---
.../Style/src/main/resources/basic-manifest.xml | 8 +-
.../style/stylebeads/effects/BackdropFilter.as | 41 +++++++
.../style/stylebeads/effects/FilterEffect.as | 41 +++++++
.../style/stylebeads/effects/FilterEffectBase.as | 132 +++++++++++++++++++++
4 files changed, 220 insertions(+), 2 deletions(-)
diff --git a/frameworks/projects/Style/src/main/resources/basic-manifest.xml
b/frameworks/projects/Style/src/main/resources/basic-manifest.xml
index 7deea80cb4..b36db0f27a 100644
--- a/frameworks/projects/Style/src/main/resources/basic-manifest.xml
+++ b/frameworks/projects/Style/src/main/resources/basic-manifest.xml
@@ -39,7 +39,8 @@
<component id="SizeStyle"
class="org.apache.royale.style.stylebeads.SizeStyle"/>
<component id="WidthStyle"
class="org.apache.royale.style.stylebeads.WidthStyle"/>
- <!-- <component id="BackgroundBlendMode"
class="org.apache.royale.style.stylebeads.effects.BackgroundBlendMode"/>
+ <!--
+ <component id="BackgroundBlendMode"
class="org.apache.royale.style.stylebeads.effects.BackgroundBlendMode"/>
<component id="BoxShadow"
class="org.apache.royale.style.stylebeads.effects.BoxShadow"/>
<component id="MaskClip"
class="org.apache.royale.style.stylebeads.effects.MaskClip"/>
<component id="MaskComposite"
class="org.apache.royale.style.stylebeads.effects.MaskComposite"/>
@@ -51,7 +52,10 @@
<component id="MaskSize"
class="org.apache.royale.style.stylebeads.effects.MaskSize"/>
<component id="MaskType"
class="org.apache.royale.style.stylebeads.effects.MaskType"/>
<component id="OpacityStyle"
class="org.apache.royale.style.stylebeads.effects.OpacityStyle"/>
- <component id="TextShadow"
class="org.apache.royale.style.stylebeads.effects.TextShadow"/> -->
+ <component id="TextShadow"
class="org.apache.royale.style.stylebeads.effects.TextShadow"/>
+ <component id="FilterEffect"
class="org.apache.royale.style.stylebeads.effects.FilterEffect"/>
+ <component id="BackdropFilter"
class="org.apache.royale.style.stylebeads.effects.BackdropFilter"/>
+ -->
</componentPackage>
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/effects/BackdropFilter.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/effects/BackdropFilter.as
new file mode 100644
index 0000000000..3686ca197f
--- /dev/null
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/effects/BackdropFilter.as
@@ -0,0 +1,41 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.royale.style.stylebeads.effects
+{
+
+ public class BackdropFilter extends FilterEffectBase
+ {
+ public function BackdropFilter()
+ {
+ super();
+ }
+ /**
+ * TODO: Figure this out
+ */
+ override public function get selectors():Array
+ {
+ return [];
+ }
+
+ override public function get rules():Array
+ {
+ return [];
+ }
+ }
+}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/effects/FilterEffect.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/effects/FilterEffect.as
new file mode 100644
index 0000000000..1249a2d8ca
--- /dev/null
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/effects/FilterEffect.as
@@ -0,0 +1,41 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.royale.style.stylebeads.effects
+{
+
+ public class FilterEffect extends FilterEffectBase
+ {
+ public function FilterEffect()
+ {
+ super();
+ }
+ /**
+ * TODO: Figure this out
+ */
+ override public function get selectors():Array
+ {
+ return [];
+ }
+
+ override public function get rules():Array
+ {
+ return [];
+ }
+ }
+}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/effects/FilterEffectBase.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/effects/FilterEffectBase.as
new file mode 100644
index 0000000000..f9dd8af61b
--- /dev/null
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/effects/FilterEffectBase.as
@@ -0,0 +1,132 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.royale.style.stylebeads.effects
+{
+ import org.apache.royale.style.stylebeads.StyleBeadBase;
+
+ abstract public class FilterEffectBase extends StyleBeadBase
+ {
+ public function FilterEffectBase()
+ {
+ super();
+ }
+
+ private var _blur:String;
+ [Inspectable(category="General",
enumeration="xs,sm,md,lg,xl,2xl,3xl,none", defaultValue="none")]
+ public function get blur():String
+ {
+ return _blur;
+ }
+
+ public function set blur(value:String):void
+ {
+ _blur = value;
+ }
+ private var _dropShadow:String;
+
+ [Inspectable(category="General",
enumeration="xs,sm,md,lg,xl,2xl,none", defaultValue="none")]
+ public function get dropShadow():String
+ {
+ return _dropShadow;
+ }
+
+ public function set dropShadow(value:String):void
+ {
+ _dropShadow = value;
+ }
+ private var _brightness:Number;
+ [Inspectable(category="General", defaultValue="100",
minValue="0", maxValue="1000")]
+ public function get brightness():Number
+ {
+ return _brightness;
+ }
+
+ public function set brightness(value:Number):void
+ {
+ _brightness = value;
+ }
+ private var _contrast:Number;
+ [Inspectable(category="General", defaultValue="100",
minValue="0", maxValue="1000")]
+ public function get contrast():Number
+ {
+ return _contrast;
+ }
+
+ public function set contrast(value:Number):void
+ {
+ _contrast = value;
+ }
+ private var _grayscale:Number;
+ [Inspectable(category="General", defaultValue="0",
minValue="0", maxValue="100")]
+ public function get grayscale():Number
+ {
+ return _grayscale;
+ }
+
+ public function set grayscale(value:Number):void
+ {
+ _grayscale = value;
+ }
+ private var _invert:Number;
+ [Inspectable(category="General", defaultValue="0",
minValue="0", maxValue="100")]
+ public function get invert():Number
+ {
+ return _invert;
+ }
+
+ public function set invert(value:Number):void
+ {
+ _invert = value;
+ }
+ private var _saturate:Number;
+
+ [Inspectable(category="General", defaultValue="100",
minValue="0", maxValue="1000")]
+ public function get saturate():Number
+ {
+ return _saturate;
+ }
+
+ public function set saturate(value:Number):void
+ {
+ _saturate = value;
+ }
+ private var _sepia:Number;
+ [Inspectable(category="General", defaultValue="0",
minValue="0", maxValue="100")]
+ public function get sepia():Number
+ {
+ return _sepia;
+ }
+
+ public function set sepia(value:Number):void
+ {
+ _sepia = value;
+ }
+ private var _hueRotate:Number;
+ [Inspectable(category="General", defaultValue="0",
minValue="0", maxValue="360")]
+ public function get hueRotate():Number
+ {
+ return _hueRotate;
+ }
+
+ public function set hueRotate(value:Number):void
+ {
+ _hueRotate = value;
+ }
+ }
+}
\ No newline at end of file