summaryrefslogtreecommitdiff
path: root/src/desktop/rule/layerRule/LayerRuleEffectContainer.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2025-11-17 18:34:02 +0000
committerGitHub <noreply@github.com>2025-11-17 18:34:02 +0000
commitc2670e9ab90bd657e87a1da2c5322e9007dce01f (patch)
treecd033fe3a9b87b1b0d457df043ecc50929ad3c8d /src/desktop/rule/layerRule/LayerRuleEffectContainer.hpp
parent95ee08b3403b90e2930d46425cada1d280f3524e (diff)
windowrules: rewrite completely (#12269)
Reworks the window rule syntax completely --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
Diffstat (limited to 'src/desktop/rule/layerRule/LayerRuleEffectContainer.hpp')
-rw-r--r--src/desktop/rule/layerRule/LayerRuleEffectContainer.hpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/desktop/rule/layerRule/LayerRuleEffectContainer.hpp b/src/desktop/rule/layerRule/LayerRuleEffectContainer.hpp
new file mode 100644
index 00000000..e3b3d26c
--- /dev/null
+++ b/src/desktop/rule/layerRule/LayerRuleEffectContainer.hpp
@@ -0,0 +1,33 @@
+#pragma once
+
+#include "../effect/EffectContainer.hpp"
+#include "../../../helpers/memory/Memory.hpp"
+
+#pragma once
+
+namespace Desktop::Rule {
+ enum eLayerRuleEffect : uint8_t {
+ LAYER_RULE_EFFECT_NONE = 0,
+
+ LAYER_RULE_EFFECT_NO_ANIM,
+ LAYER_RULE_EFFECT_BLUR,
+ LAYER_RULE_EFFECT_BLUR_POPUPS,
+ LAYER_RULE_EFFECT_IGNORE_ALPHA,
+ LAYER_RULE_EFFECT_DIM_AROUND,
+ LAYER_RULE_EFFECT_XRAY,
+ LAYER_RULE_EFFECT_ANIMATION,
+ LAYER_RULE_EFFECT_ORDER,
+ LAYER_RULE_EFFECT_ABOVE_LOCK,
+ LAYER_RULE_EFFECT_NO_SCREEN_SHARE,
+
+ LAYER_RULE_EFFECT_LAST_STATIC,
+ };
+
+ class CLayerRuleEffectContainer : public IEffectContainer<eLayerRuleEffect> {
+ public:
+ CLayerRuleEffectContainer();
+ virtual ~CLayerRuleEffectContainer() = default;
+ };
+
+ SP<CLayerRuleEffectContainer> layerEffects();
+}; \ No newline at end of file