Hyprland/src/managers/LayoutManager.hpp

24 lines
504 B
C++
Raw Normal View History

#pragma once
#include "../layout/DwindleLayout.hpp"
2022-07-16 15:57:31 +02:00
#include "../layout/MasterLayout.hpp"
class CLayoutManager {
public:
IHyprLayout* getCurrentLayout();
void switchToLayout(std::string);
private:
2022-12-26 12:05:34 +01:00
enum HYPRLAYOUTS {
LAYOUT_DWINDLE = 0,
LAYOUT_MASTER
};
2022-12-26 12:05:34 +01:00
HYPRLAYOUTS m_iCurrentLayoutID = LAYOUT_DWINDLE;
CHyprDwindleLayout m_cDwindleLayout;
2022-07-16 15:57:31 +02:00
CHyprMasterLayout m_cMasterLayout;
};
inline std::unique_ptr<CLayoutManager> g_pLayoutManager;