mirror of
https://github.com/vale981/Hyprland
synced 2025-03-17 16:06:38 -04:00
27 lines
650 B
C++
27 lines
650 B
C++
![]() |
#pragma once
|
||
|
|
||
|
#include "IHyprWindowDecoration.hpp"
|
||
|
|
||
|
class CHyprDropShadowDecoration : public IHyprWindowDecoration {
|
||
|
public:
|
||
|
CHyprDropShadowDecoration(CWindow*);
|
||
|
virtual ~CHyprDropShadowDecoration();
|
||
|
|
||
|
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;
|
||
|
};
|