#include <uisettingspanel.hpp> struct ActionSetting { // fields String buttonText; std::function<void()> action; };