MCPcopy Create free account
hub / github.com/Norbyte/bg3se / AddButton

Method AddButton

BG3Extender/Extender/Client/IMGUI/IMGUI.cpp:518–523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

516
517
518lua::ImguiHandle TreeParent::AddButton(char const* label)
519{
520 auto btn = AddChild<Button>();
521 btn->Label = label;
522 return btn;
523}
524
525
526lua::ImguiHandle TreeParent::AddImageButton(char const* label, FixedString iconOrTexture,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected