Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
212
Menu* MenuBox::getMenu()
213
{
214
if (children().empty())
215
return nullptr;
216
else
217
return static_cast<Menu*>(children().front());
218
}
219
220
MenuBaseData* MenuBox::createBase()
221
{
Callers
3
onProcessMessage
Method · 0.80
get_base_menubox
Function · 0.80
closeSubmenu
Method · 0.80
Calls
2
empty
Method · 0.45
front
Method · 0.45
Tested by
no test coverage detected