SpiecsEngine
 
Loading...
Searching...
No Matches

◆ LoadLayout()

void Spices::SlateStyleLayout::LoadLayout ( )

Load Slate Layout in disk.

Definition at line 51 of file SlateStyleLayout.cpp.

52 {
54
55 std::string filepath = FileLibrary::FileLibrary_OpenInExplore(
56 "Slate Layout (*.ini)\0*.ini\0",
57 glfwGetWin32Window((GLFWwindow*)VulkanRenderBackend::GetState().m_Windows)
58 );
59
60 if (!filepath.empty())
61 {
63 ImGui::LoadIniSettingsFromDisk(filepath.c_str());
64 });
65 }
66 }
#define SPICES_PROFILE_ZONE
static std::string FileLibrary_OpenInExplore(const char *filter, HWND hwnd)
Select a file to open 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)...))>