added opacity rule

This commit is contained in:
vaxerski
2022-04-22 14:37:38 +02:00
parent a8e5e9c558
commit 94811485c9
4 changed files with 16 additions and 1 deletions

View File

@@ -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) {