mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-05 17:06:00 +01:00
30 lines
712 B
C++
30 lines
712 B
C++
|
#pragma once
|
||
|
|
||
|
#include "IHyprWindowDecoration.hpp"
|
||
|
#include <deque>
|
||
|
|
||
|
class CHyprGroupBarDecoration : public IHyprWindowDecoration {
|
||
|
public:
|
||
|
CHyprGroupBarDecoration(CWindow*);
|
||
|
virtual ~CHyprGroupBarDecoration();
|
||
|
|
||
|
virtual SWindowDecorationExtents getWindowDecorationExtents();
|
||
|
|
||
|
virtual void draw(SMonitor*);
|
||
|
|
||
|
virtual eDecorationType getDecorationType();
|
||
|
|
||
|
virtual void updateWindow(CWindow*);
|
||
|
|
||
|
virtual void damageEntire();
|
||
|
|
||
|
private:
|
||
|
SWindowDecorationExtents m_seExtents;
|
||
|
|
||
|
CWindow* m_pWindow = nullptr;
|
||
|
|
||
|
Vector2D m_vLastWindowPos;
|
||
|
Vector2D m_vLastWindowSize;
|
||
|
|
||
|
std::deque<CWindow*> m_dwGroupMembers;
|
||
|
};
|