diff options
| author | vaxerski <vaxry@vaxry.net> | 2024-01-02 14:25:18 +0100 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2024-01-02 14:25:18 +0100 |
| commit | bd3ea8dcb5f7803b0cc05e25f84200102c0fad21 (patch) | |
| tree | 3d3c09391b441f5787b9ba185ced69933e6bb52e /example/examplePlugin/customLayout.hpp | |
| parent | 813af393f1b61ecd0105e126681986e58e73ffee (diff) | |
examples: remove example plugin
closes #4329
Diffstat (limited to 'example/examplePlugin/customLayout.hpp')
| -rw-r--r-- | example/examplePlugin/customLayout.hpp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/example/examplePlugin/customLayout.hpp b/example/examplePlugin/customLayout.hpp deleted file mode 100644 index 44797ccc..00000000 --- a/example/examplePlugin/customLayout.hpp +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once - -#define WLR_USE_UNSTABLE - -#include <hyprland/src/layout/IHyprLayout.hpp> - -struct SWindowData { - CWindow* pWindow = nullptr; -}; - -class CHyprCustomLayout : public IHyprLayout { - public: - virtual void onWindowCreatedTiling(CWindow*); - virtual void onWindowRemovedTiling(CWindow*); - virtual bool isWindowTiled(CWindow*); - virtual void recalculateMonitor(const int&); - virtual void recalculateWindow(CWindow*); - virtual void resizeActiveWindow(const Vector2D&, CWindow* pWindow = nullptr); - virtual void fullscreenRequestForWindow(CWindow*, eFullscreenMode, bool); - virtual std::any layoutMessage(SLayoutMessageHeader, std::string); - virtual SWindowRenderLayoutHints requestRenderHints(CWindow*); - virtual void switchWindows(CWindow*, CWindow*); - virtual void alterSplitRatio(CWindow*, float, bool); - virtual std::string getLayoutName(); - virtual void replaceWindowDataWith(CWindow* from, CWindow* to); - - virtual void onEnable(); - virtual void onDisable(); - - private: - std::vector<SWindowData> m_vWindowData; -};
\ No newline at end of file |
