MCPcopy Create free account
hub / github.com/RevoSucks/BM64Recomp / ElementConfigSubMenu

Method ElementConfigSubMenu

src/ui/ui_config_sub_menu.cpp:247–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245// ElementConfigSubMenu
246
247ElementConfigSubMenu::ElementConfigSubMenu(const Rml::String &tag) : Rml::Element(tag) {
248 SetProperty(Rml::PropertyId::Display, Rml::Style::Display::Flex);
249 SetProperty("width", "100%");
250 SetProperty("height", "100%");
251
252 recompui::Element this_compat(this);
253 recompui::ContextId context = get_current_context();
254 config_sub_menu = context.create_element<ConfigSubMenu>(&this_compat);
255}
256
257ElementConfigSubMenu::~ElementConfigSubMenu() {
258

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected