mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2025-01-09 22:09:48 +01:00
20 lines
574 B
C++
20 lines
574 B
C++
|
#pragma once
|
||
|
#include <hyprland/src/render/pass/PassElement.hpp>
|
||
|
|
||
|
class COverview;
|
||
|
|
||
|
class COverviewPassElement : public IPassElement {
|
||
|
public:
|
||
|
COverviewPassElement();
|
||
|
virtual ~COverviewPassElement() = default;
|
||
|
|
||
|
virtual void draw(const CRegion& damage);
|
||
|
virtual bool needsLiveBlur();
|
||
|
virtual bool needsPrecomputeBlur();
|
||
|
virtual std::optional<CBox> boundingBox();
|
||
|
virtual CRegion opaqueRegion();
|
||
|
|
||
|
virtual const char* passName() {
|
||
|
return "COverviewPassElement";
|
||
|
}
|
||
|
};
|