mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-05 15:46:00 +01:00
98a4fa2b0d
* clang-format stuff and format files
27 lines
No EOL
744 B
C++
27 lines
No EOL
744 B
C++
#pragma once
|
|
|
|
#include "IHyprWindowDecoration.hpp"
|
|
|
|
class CHyprDropShadowDecoration : public IHyprWindowDecoration {
|
|
public:
|
|
CHyprDropShadowDecoration(CWindow*);
|
|
virtual ~CHyprDropShadowDecoration();
|
|
|
|
virtual SWindowDecorationExtents getWindowDecorationExtents();
|
|
|
|
virtual void draw(CMonitor*, float a, const Vector2D& offset);
|
|
|
|
virtual eDecorationType getDecorationType();
|
|
|
|
virtual void updateWindow(CWindow*);
|
|
|
|
virtual void damageEntire();
|
|
|
|
private:
|
|
SWindowDecorationExtents m_seExtents;
|
|
|
|
CWindow* m_pWindow = nullptr;
|
|
|
|
Vector2D m_vLastWindowPos;
|
|
Vector2D m_vLastWindowSize;
|
|
}; |