blob: 3eb8aa9853faf63f481aeb4d9112468968a6b25c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include "IButtonScript.h"
#include <crepe/api/Script.h>
struct DeleteRecordingEvent : public crepe::Event {};
class ButtonReplaySubScript : public IButtonScript {
public:
void init() override;
bool on_button_press(const crepe::ButtonPressEvent & e);
private:
crepe::recording_t recording = 0;
bool set_recording();
bool delete_recording();
protected:
bool transition = false;
};
|