#include "PreviewStartRecSubScript.h" #include "PreviewReplaySubScript.h" #include #include using namespace crepe; using namespace std; void PreviewStartRecSubScript::init() { IButtonScript::init(); this->subscribe([this](const ButtonPressEvent & e) { return this->on_button_press(e); }); } bool PreviewStartRecSubScript::on_button_press(const ButtonPressEvent & e) { this->trigger_event(); return false; }