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-06-25 20:31:54 +02:00
|
|
|
virtual void draw(SMonitor*, float a);
|
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;
|
|
|
|
};
|