summaryrefslogtreecommitdiff
path: root/src/Window.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-04-22 14:37:38 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-04-22 14:37:38 +0200
commit94811485c9e50eb310d8abf19ab60ea01fc3860d (patch)
tree426645b8d7569775ebc51ddae9e28ac3d8d8487f /src/Window.hpp
parenta8e5e9c5587b02f6fbbd9bdff97b3913f32f490f (diff)
added opacity rule
Diffstat (limited to 'src/Window.hpp')
-rw-r--r--src/Window.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Window.hpp b/src/Window.hpp
index 216773fb..6969213a 100644
--- a/src/Window.hpp
+++ b/src/Window.hpp
@@ -4,6 +4,9 @@
#include "events/Events.hpp"
#include "helpers/SubsurfaceTree.hpp"
+struct SWindowSpecialRenderData {
+ float alpha = 1.f;
+};
class CWindow {
public:
@@ -76,6 +79,8 @@ public:
// For hidden windows and stuff
bool m_bHidden = false;
+ // Special render data, rules, etc
+ SWindowSpecialRenderData m_sSpecialRenderData;
// For the list lookup
bool operator==(const CWindow& rhs) {