2022-03-19 15:59:53 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "../defines.hpp"
|
|
|
|
#include "../Window.hpp"
|
|
|
|
|
|
|
|
interface IHyprLayout {
|
|
|
|
public:
|
|
|
|
|
2022-03-20 11:14:24 +01:00
|
|
|
virtual void onWindowCreated(CWindow*) = 0;
|
|
|
|
virtual void onWindowRemoved(CWindow*) = 0;
|
|
|
|
virtual void recalculateMonitor(const int&) = 0;
|
|
|
|
|
|
|
|
// Floating windows
|
|
|
|
virtual void changeWindowFloatingMode(CWindow*) = 0;
|
|
|
|
virtual void onBeginDragWindow() = 0;
|
|
|
|
virtual void onMouseMove(const Vector2D&) = 0;
|
2022-03-20 13:37:07 +01:00
|
|
|
virtual void onWindowCreatedFloating(CWindow*) = 0;
|
2022-03-19 15:59:53 +01:00
|
|
|
|
|
|
|
};
|