Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atraczyk/2d-engine
/ addItem
Method
addItem
engine/src/menu.cpp:40–43 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
38
}
39
40
void MenuList::addItem(float _x, float _y, bool is_slider, char* _name, void(*_function)())
41
{
42
items.push_back(MenuItem(_x, _y, is_slider, _name, _function));
43
}
Callers
1
G_initializeMenus
Function · 0.80
Calls
1
MenuItem
Class · 0.85
Tested by
no test coverage detected