esp32_marauder/MenuFunctions.cpp
// Function to add MenuNodes to a menu
Function to add MenuNodes to a menu
Function to add MenuNodes to a menu
void MenuFunctions::addNodes(Menu * menu, String name, uint16_t color, Menu * child, int place, std::function<void()> callable)
{
  TouchButton new_button;
  menu->list->add(MenuNode{name, color, place, &new_button, callable});
}
void MenuFunctions :: addNodes ( Menu * menu , String name , uint16_t color , Menu * child , int place , std :: function < void ( ) > callable ) { TouchButton new_button ; menu -> list -> add ( MenuNode { name , color , place , & new_button , callable } ) ; }
Function to add MenuNodes to a menu
Function to add MenuNodes to a menu
//strcpy(menu->list->get(-1).icon, bluetooth_icon);