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

Method addButton

source/ui/controls/ImGuiLayout.cpp:328–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326}
327
328std::shared_ptr<LayoutButtonControl> LayoutSection::addButton(Msg labelId, Msg helpId, BString buttonLabel) {
329 std::shared_ptr<LayoutRow> row = this->addRow(labelId, helpId);
330 return row->addButton(buttonLabel);
331}
332
333std::shared_ptr<LayoutTextInputControl> LayoutRow::addTextInput(BString initialValue, bool readOnly) {
334 std::shared_ptr<LayoutTextInputControl> control = std::make_shared<LayoutTextInputControl>(shared_from_this());

Callers 3

ContainersViewMethod · 0.80
createInstallTabMethod · 0.80
createGeneralTabMethod · 0.80

Calls 4

addRowMethod · 0.95
setLabelMethod · 0.80
lengthMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected