mirror of
https://github.com/vale981/Hyprland
synced 2025-03-15 06:56:41 -04:00
32 lines
No EOL
606 B
C++
32 lines
No EOL
606 B
C++
#pragma once
|
|
|
|
#include "../../defines.hpp"
|
|
|
|
enum eDecorationType {
|
|
DECORATION_NONE = -1,
|
|
DECORATION_GROUPBAR,
|
|
DECORATION_SHADOW
|
|
};
|
|
|
|
struct SWindowDecorationExtents {
|
|
Vector2D topLeft;
|
|
Vector2D bottomRight;
|
|
};
|
|
|
|
class CWindow;
|
|
class CMonitor;
|
|
|
|
interface IHyprWindowDecoration {
|
|
public:
|
|
virtual ~IHyprWindowDecoration() = 0;
|
|
|
|
virtual SWindowDecorationExtents getWindowDecorationExtents() = 0;
|
|
|
|
virtual void draw(CMonitor*, float a) = 0;
|
|
|
|
virtual eDecorationType getDecorationType() = 0;
|
|
|
|
virtual void updateWindow(CWindow*) = 0;
|
|
|
|
virtual void damageEntire() = 0;
|
|
}; |