2022-05-28 20:46:20 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "IHyprWindowDecoration.hpp"
|
|
|
|
#include <deque>
|
|
|
|
|
|
|
|
class CHyprGroupBarDecoration : public IHyprWindowDecoration {
|
|
|
|
public:
|
|
|
|
CHyprGroupBarDecoration(CWindow*);
|
|
|
|
virtual ~CHyprGroupBarDecoration();
|
|
|
|
|
|
|
|
virtual SWindowDecorationExtents getWindowDecorationExtents();
|
|
|
|
|
2022-10-07 13:34:54 +02:00
|
|
|
virtual void draw(CMonitor*, float a, const Vector2D& offset);
|
2022-05-28 20:46:20 +02:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|