MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / getMenu

Method getMenu

src/ui/menu.cpp:212–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212Menu* MenuBox::getMenu()
213{
214 if (children().empty())
215 return nullptr;
216 else
217 return static_cast<Menu*>(children().front());
218}
219
220MenuBaseData* MenuBox::createBase()
221{

Callers 3

onProcessMessageMethod · 0.80
get_base_menuboxFunction · 0.80
closeSubmenuMethod · 0.80

Calls 2

emptyMethod · 0.45
frontMethod · 0.45

Tested by

no test coverage detected