7#include "SD/export.hpp"
11struct ApplicationRuntime;
34 void save_layout(
const std::string& name);
43 std::vector<std::string> get_user_layout_names()
const;
46 bool has_layout(
const std::string& name)
const;
52 void ensure_layouts_directory_exists();
53 std::string get_layout_path(
const std::string& name)
const;
54 void save_current_layout_name();
55 void refresh_layout_list();
58 std::string m_current_layout =
"Default";
60 bool m_is_initialized =
false;
61 bool m_has_applied_initial_layout =
false;
Manages window layouts using ImGui DockBuilder for presets and INI for user layouts.
Definition LayoutManager.hpp:14
std::map< std::string, std::string > m_user_layouts
Definition LayoutManager.hpp:57
Preset
Definition LayoutManager.hpp:16
std::string m_pending_layout
Definition LayoutManager.hpp:59
const std::string & get_current_layout() const
Get the currently active layout/preset name.
Definition LayoutManager.hpp:49
Definition Application.hpp:28
Definition ApplicationRuntime.hpp:12
constexpr T g_type_max
Definition types.hpp:21