mirror of
https://github.com/vale981/Hyprland
synced 2025-03-16 15:36:41 -04:00
30 lines
No EOL
721 B
C++
30 lines
No EOL
721 B
C++
#pragma once
|
|
|
|
#include "IHyprWindowDecoration.hpp"
|
|
#include <deque>
|
|
|
|
class CHyprGroupBarDecoration : public IHyprWindowDecoration {
|
|
public:
|
|
CHyprGroupBarDecoration(CWindow*);
|
|
virtual ~CHyprGroupBarDecoration();
|
|
|
|
virtual SWindowDecorationExtents getWindowDecorationExtents();
|
|
|
|
virtual void draw(CMonitor*, float a);
|
|
|
|
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;
|
|
}; |