mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-05 20:45:59 +01:00
18 lines
No EOL
517 B
C++
18 lines
No EOL
517 B
C++
#pragma once
|
|
|
|
#include "../defines.hpp"
|
|
#include "../Window.hpp"
|
|
|
|
interface IHyprLayout {
|
|
public:
|
|
|
|
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;
|
|
|
|
}; |