10void log_button(
const char *tag,
const char *prefix,
const char *
type, Button *obj);
12#define LOG_BUTTON(prefix, type, obj) log_button(TAG, prefix, LOG_STR_LITERAL(type), obj)
14#define SUB_BUTTON(name) \
16 button::Button *name##_button_{nullptr}; \
19 void set_##name##_button(button::Button *button) { this->name##_button_ = button; }