Andrew Belt
5f8f9b8e35
Change `bypass` variable name to `bypassed` when appropriate.
3 years ago
Andrew Belt
5e4124f66a
Rename bypassed to bypass everywhere.
4 years ago
Andrew Belt
f887faea79
Fix module and cable ID variables that were `int` instead of `int64_t`. Add `Engine::getNumCables()` and `Engine::getCableIds()`.
4 years ago
Andrew Belt
120aafe6d3
Change order of includes to C++ standard headers, library headers, and local project headers.
4 years ago
Andrew Belt
c9e0b82204
Add limit to undo history (currently 500 actions).
5 years ago
Andrew Belt
c33dc3c842
Rename module disabling to bypassing.
5 years ago
Andrew Belt
e4b6056ded
Massive WIP v2 overhaul:
- Add Engine::fromJson which can be called without the GUI at all.
- Make RackWidget::fromJson attach itself to existing Engine state. However, once attached, they own their Engine objects (Module, Cable).
- Remove Engine thread. Now Engine must be stepped by other threads, such as the audio thread. This is fantastic because there is no longer a mutex lock every audio buffer.
- Add concept of the "primary module", which is allowed to call Engine::step().
- Add many Module events.
5 years ago
Andrew Belt
dca30e2b53
Auto-format code with astyle.
5 years ago
Andrew Belt
696939069d
Use <> instead of "" for include directive.
5 years ago
Andrew Belt
de95175596
Since dragging a ModuleWidget can move all modules, push a ComplexAction of ModuleMove actions instead of a single action.
5 years ago
Andrew Belt
4d36193cf2
Fix ModuleWidget::getParam(), getInput(), and getOutput() returning incorrect object.
5 years ago
Andrew Belt
87cab493f3
Add saved state to history::State. Ask for user confirmation in patch::resetDialog() and patch::loadDialog() if patch is unsaved.
5 years ago
Andrew Belt
52151a709d
Add various API documentation
5 years ago
Andrew Belt
b40fbf7f0e
Add names to history::Actions.
5 years ago
Andrew Belt
c60339bcd3
Create `plugin::` namespace
5 years ago
Andrew Belt
8a5a806425
Add app::, ui::, and widget:: namespaces.
5 years ago
Andrew Belt
c6f8153d74
Use various other history actions when interacting with the rack
5 years ago
Andrew Belt
f6010e61a3
Add Undo/Redo menu items. Clean up Toolbar.
5 years ago
Andrew Belt
42e47732f9
Refactor ModuleAdd. Add history::State::clear()
5 years ago
Andrew Belt
94c33c5e77
Use cable history actions when interacting with cables
5 years ago
Andrew Belt
19d9fdd041
Add ModuleBypass. Serialize Module::bypass.
5 years ago
Andrew Belt
cb7e139b47
Make power meter display in microseconds instead of millisamples. Add history::ComplexAction. Split Param into Param and ParamInfo. Rename setup() to config().
5 years ago
Andrew Belt
3ab43a2ce0
Rename wire to cable
5 years ago
Andrew Belt
c59b9ba67d
Add history actions: ModuleAdd, ModuleRemove, ModuleMove, ParamChange, WireAdd, WireRemove, WireMove
5 years ago
Andrew Belt
2910af755f
Implement history::State. Add history::ModuleAdd declaration.
5 years ago
Andrew Belt
655f081965
Rename context() to app(). Add skeleton for history.
5 years ago