Hyprland/src/layout/IHyprLayout.hpp

18 lines
517 B
C++
Raw Normal View History

#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;
};