SpiecsEngine
 
Loading...
Searching...
No Matches

◆ StoreLayout()

void Spices::SlateStyleLayout::StoreLayout ( )

Store Slate Layout to disk.

Definition at line 68 of file SlateStyleLayout.cpp.

69 {
71
72 std::string filepath = FileLibrary::FileLibrary_SaveInExplore(
73 "Slate Layout (*.ini)\0*.ini\0",
74 glfwGetWin32Window((GLFWwindow*)VulkanRenderBackend::GetState().m_Windows)
75 );
76
77 filepath.append(".ini");
78
79 if (!filepath.empty())
80 {
82 ImGui::SaveIniSettingsToDisk(filepath.c_str());
83 });
84 }
85 }
#define SPICES_PROFILE_ZONE
static std::string FileLibrary_SaveInExplore(const char *filter, HWND hwnd)
Select a file to save in explore.
static VulkanState & GetState()
Get VulkanState in use.
static auto AsyncTask(ThreadPoolEnum pool, F &&func, Args &&... args) -> std::future< decltype(func(std::forward< Args >(args)...))>