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

Method fsItems_DefaultKey

Goldleaf/source/ui/ui_BrowserLayout.cpp:803–813  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

801 }
802
803 void BrowserLayout::fsItems_DefaultKey(const std::string &item) {
804 const auto full_item = this->cur_exp->FullPathFor(item);
805 const auto pres_full_item = this->cur_exp->FullPresentablePathFor(item);
806 if(this->cur_exp->NavigateForward(full_item)) {
807 g_EntryIndexStack.push(this->browse_menu->GetSelectedIndex());
808 this->UpdateElements();
809 }
810 else {
811 this->OnFileSelected(item, full_item, pres_full_item);
812 }
813 }
814
815 void BrowserLayout::fsItems_Y(const std::string &item) {
816 const auto full_item = this->cur_exp->FullPathFor(item);

Callers 1

HandleFileDirectlyMethod · 0.95

Calls 5

UpdateElementsMethod · 0.95
OnFileSelectedMethod · 0.95
FullPathForMethod · 0.80
NavigateForwardMethod · 0.80

Tested by

no test coverage detected