Upload files to 'Software'
This commit is contained in:
parent
e3bca42d2e
commit
f55627daf1
5 changed files with 1328 additions and 0 deletions
43
Software/editor.h
Normal file
43
Software/editor.h
Normal file
|
@ -0,0 +1,43 @@
|
|||
#ifndef _EDITOR_H_
|
||||
#define _EDITOR_H_
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
// fwd decl for other headers
|
||||
class Editor;
|
||||
|
||||
#include "panel-scanner.h"
|
||||
#include "editor-modes.h"
|
||||
|
||||
class Editor
|
||||
{
|
||||
public:
|
||||
|
||||
enum EditorMode
|
||||
{
|
||||
eMODE_STEP_EDIT = 0,
|
||||
eMODE_STEP_ACCENT,
|
||||
eMODE_VOICE_SEL,
|
||||
eMODE_MUTE_SEL,
|
||||
eMODE_PATT_SEL,
|
||||
eMODE_CHAIN_EDIT,
|
||||
eMODE_UTILITY
|
||||
};
|
||||
|
||||
Editor();
|
||||
|
||||
void receiveKey(uint32_t keynum, bool pressed);
|
||||
void setMode(EditorMode);
|
||||
void forceLEDs();
|
||||
|
||||
private:
|
||||
|
||||
pvEditorMode* current_mode_p;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif // keepout
|
Loading…
Add table
Add a link
Reference in a new issue