MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / setHelpId

Method setHelpId

source/ui/controls/ImGuiLayout.cpp:444–449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442 }
443}
444void LayoutControl::setHelpId(Msg helpId) {
445 std::shared_ptr<LayoutRow> r = this->row.lock();
446 if (r) {
447 r->setHelp(helpId);
448 }
449}
450
451int LayoutButtonControl::getRecommendedWidth() {
452 float w = ImGui::CalcTextSize(this->label.c_str()).x;

Callers 3

ContainersViewMethod · 0.80
setCurrentAppMethod · 0.80
createInstallTabMethod · 0.80

Calls 2

setHelpMethod · 0.80
lockMethod · 0.45

Tested by

no test coverage detected