added a layoutmanager and basic dwindle

This commit is contained in:
vaxerski 2022-03-19 15:59:53 +01:00
parent e664b0b692
commit 61e10e2048
12 changed files with 308 additions and 16 deletions

View file

@ -0,0 +1,20 @@
#pragma once
#include "../layout/DwindleLayout.hpp"
class CLayoutManager {
public:
IHyprLayout* getCurrentLayout();
private:
enum HYPRLAYOUTS {
DWINDLE = 0,
};
HYPRLAYOUTS m_iCurrentLayoutID = DWINDLE;
CHyprDwindleLayout m_cDwindleLayout;
};
inline std::unique_ptr<CLayoutManager> g_pLayoutManager;