#pragma once #include class CHyprBar; class CBarPassElement : public IPassElement { public: struct SBarData { CHyprBar* deco = nullptr; float a = 1.F; }; CBarPassElement(const SBarData& data_); virtual ~CBarPassElement() = default; virtual void draw(const CRegion& damage); virtual bool needsLiveBlur(); virtual bool needsPrecomputeBlur(); virtual std::optional boundingBox(); virtual const char* passName() { return "CBarPassElement"; } private: SBarData data; };