Andrew Belt
d5b86f458b
Add doc comments to dsp and engine namespaces.
3 years ago
Andrew Belt
75d5d8b5de
Fix handle position of Module-less ModuleWidgets. Move a few member variables to Internal struct.
3 years ago
Andrew Belt
bb9e9b78ce
Add pimpl Internal* struct to several classes that have a possibility of needing more member variables in 2.x.
3 years ago
Andrew Belt
697571648d
Set default component ID to -1 in all classes.
3 years ago
Andrew Belt
5484126aaa
Change `event::Foo` to `FooEvent`.
3 years ago
Andrew Belt
ae19e33774
Make PortInfo a virtual class.
5 years ago
Andrew Belt
4a462fadc5
Add "Connected to" to PortTooltip.
5 years ago
Andrew Belt
0dbce1683d
Work on PortTooltips.
5 years ago
Andrew Belt
ccb4fe41ec
Add ParamWidget::appendContextMenu(). Fix helper.hpp member field setting.
5 years ago
Andrew Belt
99b17727ab
WIP:
- Make ParamWidget hold module/paramId instead of paramQuantity.
- Add configInput/configOutput.
- Add engine::PortInfo.
- Avoid calling particular events when cursor is locked.
- Add PortTooltip.
5 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
696939069d
Use <> instead of "" for include directive.
5 years ago
Andrew Belt
9d609fee2b
Rename `widget::*Event` to `event::*`.
5 years ago
Andrew Belt
13b3fabd8b
Replace `Event::consumed` with `target` and `propogating`.
5 years ago
Andrew Belt
6660c88885
Change app::ParamQuantity to engine::ParamQuantity.
5 years ago
Andrew Belt
6fe14dca06
Move reset and randomize from Param to ParamWidget.
5 years ago
Andrew Belt
b84e2f57fa
Merge event:: namespace with widget:: namespace. Rename event::* to widget::*Event.
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
52151a709d
Add various API documentation
5 years ago
Andrew Belt
3830667543
Add event::DoubleClick. Change ParamWidget reset to double-click.
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
9a4a89b234
Allow param data entry in context menu. Don't allow nested FramebufferWidget drawing.
5 years ago
Andrew Belt
f73dae1384
Refactor ParamWidget and ModuleWidget. Add context menu to ParamWidget on right-click.
5 years ago
Andrew Belt
ad69fc648a
Add Knob::smooth variable for disabling param smoothing. Clean up various code.
5 years ago
Andrew Belt
418499159b
Add snapping to Knob
5 years ago
Andrew Belt
6dad6ec000
Add param smoothing when moving Knob
5 years ago
Andrew Belt
c59b9ba67d
Add history actions: ModuleAdd, ModuleRemove, ModuleMove, ParamChange, WireAdd, WireRemove, WireMove
5 years ago
Andrew Belt
4ef58cbf78
Add tooltip to ParamWidget. Make Widget call event::State::finalizeWidget() when removed, not when deleted.
5 years ago
Andrew Belt
e845373ee9
Make event callbacks use const
5 years ago
Andrew Belt
1a7aeb6c3b
Create event context for each event that is triggered
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
c999df235d
Clean up ModuleWidget
5 years ago
Andrew Belt
960ac66b73
Fix event drag handling, fix ParamQuantity and tweak its API
5 years ago
Andrew Belt
95f6016e7a
Remove app.hpp/cpp, fix headers of app headers, rename RackScene to Scene
5 years ago
Andrew Belt
316518a794
Wrap engine state into class Engine
5 years ago
Andrew Belt
f64ea2e181
Large architectural changes. Created Quantity class.
5 years ago
Andrew Belt
92951206b6
Rename WidgetState to event::Context, move color.hpp implementations to source
6 years ago
Andrew Belt
4b55d428e8
Split app.hpp into individual headers
6 years ago