Andrew Belt
6e35afb053
Add engine::LightInfo and Module::configLight() helper for configuring the LightInfo. Add LightTooltip for LightWidgets.
4 years ago
Andrew Belt
5e4124f66a
Rename bypassed to bypass everywhere.
4 years ago
Andrew Belt
c9a08c7b24
Add CableWidget::releaseCable() and ModuleWidget::releaseModule().
4 years ago
Andrew Belt
9ea49664bb
Copy cable color when cloning cables with Ctrl+click.
4 years ago
Andrew Belt
ca9231e1b3
Rename App to Context and app.hpp to context.hpp. The APP macro is still valid.
4 years ago
Andrew Belt
4936df2c0b
Move ParamWidget/Knob/Switch properties to ParamQuantity. Fix static linking on Linux.
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
e0094d090f
Fix bug in RackWidget::toJson() where cable ID was being set on the root patch object. Refactor RackWidget, ModuleWidget, Module, and CableWidget to/fromJson().
5 years ago
Andrew Belt
696939069d
Use <> instead of "" for include directive.
5 years ago
Andrew Belt
d6488601d1
Add "cableColors" setting.
5 years ago
Andrew Belt
2cd29d62f0
Draw plugs under wires for CableWidgets in CableContainer.
5 years ago
Andrew Belt
9d609fee2b
Rename `widget::*Event` to `event::*`.
5 years ago
Andrew Belt
2446756c54
Make settings a namespace instead of a global class.
5 years ago
Andrew Belt
2210287039
Move handling of RackWidget from Scene to RackScrollWidget.
5 years ago
Andrew Belt
b84e2f57fa
Merge event:: namespace with widget:: namespace. Rename event::* to widget::*Event.
5 years ago
Andrew Belt
11544f25b3
Update rack0.hpp header
5 years ago
Andrew Belt
f967c68110
Header cleanup. ModuleBrowser work.
5 years ago
Andrew Belt
a509fab1c1
Move and rename widget::DrawContext to widget::Widget::DrawArgs. Rename Module::ProcessContext to Module::ProcessArgs.
5 years ago
Andrew Belt
da4110367a
Move DSP window functions to window.hpp. Use 0-indexed module/cable IDs instead of 1-indexed. Unserialize module/cable IDs as they are in the patch file.
5 years ago
Andrew Belt
e625a1cd27
Change poly cable thickness. Change double-click behavior. Fix input default number of channels.
5 years ago
Andrew Belt
c127afdf1b
Add ExponentialSlewLimiter. Add "Poly" tag. Tweak appearance of port and cable widgets.
5 years ago
Andrew Belt
62214d106a
Convert settings namespace into class
5 years ago
Andrew Belt
59630bf52e
Remove unnecessary resetting of output channels in engine module step function.
5 years ago
Andrew Belt
510f7b2179
Change behavior of Port::getPolyVoltage(). Change port behavior when module is bypassed.
5 years ago
Andrew Belt
02e5e382d5
Require Enter, Select, DragStart, and DragEnter to be consumed in order to the event State to be set.
5 years ago
Andrew Belt
cc3b9acb7c
Create `component::` namespace
5 years ago
Andrew Belt
64602576b0
Create `engine::` namespace
5 years ago
Andrew Belt
8a5a806425
Add app::, ui::, and widget:: namespaces.
5 years ago
Andrew Belt
6d1142b449
Add new Widget::draw() method. Deprecate old method.
5 years ago
Andrew Belt
98aa18d354
Rename a few variables and methods
5 years ago
Andrew Belt
0a22c3e378
Use engine mutex for bypassing module
5 years ago
Andrew Belt
6d86a8280c
Add convenience methods to Port. Draw blue plug lights for polyphonic ports.
5 years ago
Andrew Belt
d35de0b6f1
Merge Port::channels and Port::active concept. Add third Light to plug for polyphony.
5 years ago
Andrew Belt
c4a33bedc3
Move CableContainer methods into RackWidget
5 years ago
Andrew Belt
94c33c5e77
Use cable history actions when interacting with cables
5 years ago
Andrew Belt
8cc4cb3c2b
Add PatchManager. Clean up and refactor RackWidget and CableContainer.
5 years ago
Andrew Belt
5266641777
Big cable refactor.
5 years ago
Andrew Belt
2862703f4c
Add CV-MIDI to Core. Move arrow key scrolling from ScrollWidget to RackWidget.
5 years ago
Andrew Belt
ad69fc648a
Add Knob::smooth variable for disabling param smoothing. Clean up various code.
5 years ago
Andrew Belt
3ab43a2ce0
Rename wire to cable
5 years ago
Andrew Belt
655f081965
Rename context() to app(). Add skeleton for history.
5 years ago
Andrew Belt
5eb5579fb9
Add menu item to save template patch
5 years ago
Andrew Belt
3d6de43a78
Refactor ParamWidget event behavior, draw polyphonic wires with greater thickness, fix serialization bug in Module
5 years ago
Andrew Belt
f40d3343fb
Add polyphony to ports and wires
5 years ago
Andrew Belt
7c04ff0abf
Rename Port to PortWidget
5 years ago
Andrew Belt
f5601d2042
Work on toolbar, event context
5 years ago
Andrew Belt
20b78190c1
Put math in namespace
5 years ago
Andrew Belt
402f42a354
Add Context class for storing global state
5 years ago
Andrew Belt
95f6016e7a
Remove app.hpp/cpp, fix headers of app headers, rename RackScene to Scene
5 years ago