1#ifndef SENSESP_UI_UI_BUTTON_H
2#define SENSESP_UI_UI_BUTTON_H
20 UIButton(String title, String name,
bool must_confirm)
31 static UIButton*
add(String name, String title,
bool must_confirm =
true) {
32 auto new_cmd = std::make_shared<UIButton>(title, name, must_confirm);
43 static std::map<String, std::shared_ptr<UIButton>>
ui_buttons_;
A base class which allow observers to attach callbacks to themselves. The callbacks will be called wh...