From 94811485c9e50eb310d8abf19ab60ea01fc3860d Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Fri, 22 Apr 2022 14:37:38 +0200 Subject: added opacity rule --- src/Window.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Window.hpp') 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) { -- cgit v1.2.3