MCPcopy Create free account
hub / github.com/XorTroll/Goldleaf / OnNandPartitionSelected

Method OnNandPartitionSelected

Goldleaf/source/ui/ui_ExploreMenuLayout.cpp:154–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152 }
153
154 void ExploreMenuLayout::OnNandPartitionSelected(const fs::Partition partition) {
155 g_MainApplication->LoadCommonIconMenuData(true, cfg::Strings.GetString(1), CommonIconKind::NAND, "");
156 g_MainApplication->GetBrowserLayout()->ChangePartitionNAND(partition);
157 g_MainApplication->ShowLayout(g_MainApplication->GetBrowserLayout());
158 }
159
160 void ExploreMenuLayout::OnMountedExplorerSelected(fs::Explorer *exp, const std::string &name, pu::sdl2::TextureHandle::Ref icon) {
161 g_MainApplication->LoadMenuData(true, name, icon, g_MainApplication->GetBrowserLayout()->GetExplorer()->GetPresentableCwd());

Callers

nothing calls this directly

Calls 3

ChangePartitionNANDMethod · 0.80
ShowLayoutMethod · 0.80

Tested by

no test coverage detected