subsurface: Rewrite the subsurface tree (#4877)

This commit is contained in:
Vaxry
2024-02-29 00:03:28 +00:00
committed by GitHub
parent 1e7eb3a5a5
commit b1c0f1cc01
11 changed files with 312 additions and 414 deletions

View File

@@ -1,7 +1,7 @@
#pragma once
#include "defines.hpp"
#include "helpers/SubsurfaceTree.hpp"
#include "helpers/Subsurface.hpp"
#include "helpers/AnimatedVariable.hpp"
#include "render/decorations/IHyprWindowDecoration.hpp"
#include <deque>
@@ -276,9 +276,10 @@ class CWindow {
bool m_bWantsInitialFullscreen = false;
// bitfield eSuppressEvents
uint64_t m_eSuppressedEvents = SUPPRESS_NONE;
uint64_t m_eSuppressedEvents = SUPPRESS_NONE;
SSurfaceTreeNode* m_pSurfaceTree = nullptr;
// for the subsurface tree
std::unique_ptr<CSubsurface> m_pSubsurfaceHead;
// Animated border
CGradientValueData m_cRealBorderColor = {0};