diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-28 20:46:20 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-28 20:46:20 +0200 |
| commit | bdf1c1619529792e95cd6cf2aa1d68e51db76252 (patch) | |
| tree | c1fc311647342d21ba49707651ce70e654aa7b81 /src/render/decorations/IHyprWindowDecoration.hpp | |
| parent | b1b24cb21a36713aa7c8c0d39464504c97423139 (diff) | |
Added IHyprWindowDecoration and Group Bars
Diffstat (limited to 'src/render/decorations/IHyprWindowDecoration.hpp')
| -rw-r--r-- | src/render/decorations/IHyprWindowDecoration.hpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/render/decorations/IHyprWindowDecoration.hpp b/src/render/decorations/IHyprWindowDecoration.hpp new file mode 100644 index 00000000..0815273d --- /dev/null +++ b/src/render/decorations/IHyprWindowDecoration.hpp @@ -0,0 +1,31 @@ +#pragma once + +#include "../../defines.hpp" + +enum eDecorationType { + DECORATION_NONE = -1, + DECORATION_GROUPBAR +}; + +struct SWindowDecorationExtents { + Vector2D topLeft; + Vector2D bottomRight; +}; + +class CWindow; +struct SMonitor; + +class IHyprWindowDecoration { +public: + virtual ~IHyprWindowDecoration() = 0; + + virtual SWindowDecorationExtents getWindowDecorationExtents() = 0; + + virtual void draw(SMonitor*) = 0; + + virtual eDecorationType getDecorationType() = 0; + + virtual void updateWindow(CWindow*) = 0; + + virtual void damageEntire() = 0; +};
\ No newline at end of file |
