#include <uisettingspanel.hpp> struct CustomWidgetSetting { // fields std::function<UIWidget*(UIWidget*parent)> create; };