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

Method OnUsbDriveSelected

Goldleaf/source/ui/ui_ExploreMenuLayout.cpp:121–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119 }
120
121 void ExploreMenuLayout::OnUsbDriveSelected(const UsbHsFsDevice drv) {
122 g_MainApplication->LoadCommonIconMenuData(true, cfg::Strings.GetString(403), CommonIconKind::Drive, "");
123 g_MainApplication->GetBrowserLayout()->ChangePartitionDrive(drv);
124 g_MainApplication->ShowLayout(g_MainApplication->GetBrowserLayout());
125 }
126
127 void ExploreMenuLayout::OnUsbDriveSelectedX(const UsbHsFsDevice drv) {
128 std::string info;

Callers

nothing calls this directly

Calls 3

ChangePartitionDriveMethod · 0.80
ShowLayoutMethod · 0.80

Tested by

no test coverage detected