Hyprland/src/layout/IHyprLayout.hpp

19 lines
582 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;
2022-03-20 13:37:07 +01:00
virtual void onWindowCreatedFloating(CWindow*) = 0;
};