diff options
Diffstat (limited to 'core/src/UI/States.hpp')
-rw-r--r-- | core/src/UI/States.hpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/core/src/UI/States.hpp b/core/src/UI/States.hpp deleted file mode 100644 index d314494..0000000 --- a/core/src/UI/States.hpp +++ /dev/null @@ -1,23 +0,0 @@ -#pragma once - -#include "cplt_fwd.hpp" - -#include <imgui.h> -#include <memory> - -/// Minimal state shared by all UI components, such as database, items, export, etc. -/// Note that global components (settings) is not supposed to access these. -class UIState -{ -public: - static void Init(); - static void Shutdown(); - static UIState& GetInstance(); - -public: - std::unique_ptr<Project> CurrentProject; - -public: - void SetCurrentProject(std::unique_ptr<Project> project); - void CloseCurrentProject(); -}; |