Andrew Belt
6e35afb053
Add engine::LightInfo and Module::configLight() helper for configuring the LightInfo. Add LightTooltip for LightWidgets.
4 years ago
Andrew Belt
9086c1aeed
Hide ParamResetItem if param is unbounded.
5 years ago
Andrew Belt
8ace079ee5
Fix randomization of snapped params.
5 years ago
Andrew Belt
f819bd4255
Use menu items for selecting SwitchQuantity params.
5 years ago
Andrew Belt
ca9231e1b3
Rename App to Context and app.hpp to context.hpp. The APP macro is still valid.
5 years ago
Andrew Belt
804dc4daf2
Interpret blank ParamQuantity/PortInfo name as "#id".
5 years ago
Andrew Belt
4a462fadc5
Add "Connected to" to PortTooltip.
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
08f97d24f1
Nudge ParamTooltip inside parent.
5 years ago
Andrew Belt
dca30e2b53
Auto-format code with astyle.
5 years ago
Andrew Belt
f4151bed2e
Clean up code and issue templates.
5 years ago
Andrew Belt
a272cf29bd
Change MIDI-Map color to yellow. Change ParamHandle indicator from circle to square.
6 years ago
Andrew Belt
08a4d73457
Add text and color to ParamHandle.
6 years ago
Andrew Belt
41552e79f2
Restructure ParamHandle Engine internals.
6 years ago
Andrew Belt
696939069d
Use <> instead of "" for include directive.
6 years ago
Andrew Belt
1a0b3c657d
Add RACK_HELD key action to SelectKey and HoverKey. Consume arrow keys in RackScrollWidget and delete/backspace in ModuleWidget using HoverKey RACK_HELD instead of Hover.
6 years ago
Andrew Belt
2c9644d80d
Rename WINDOW_ macros to RACK_. Require rack:: namespace for APP macro.
6 years ago
Andrew Belt
735dc02065
Add ModuleBrowser tooltip to module boxes.
6 years ago
Andrew Belt
faa96068af
Remove useless `e.consume(this)` from events that no longer need it. Fix bugs introduced by change of event system behavior.
6 years ago
Andrew Belt
421793d00d
Create Action event when Knob is pressed but not moved.
6 years ago
Andrew Belt
9ee9ef0352
Call onAction when clicking ParamWidgets.
6 years ago
Andrew Belt
a5d7a0b75b
Add middle-click-drag to ScrollWidget. Fix numerous bugs introduced by event system changes.
6 years ago
Andrew Belt
9d609fee2b
Rename `widget::*Event` to `event::*`.
6 years ago
Andrew Belt
13b3fabd8b
Replace `Event::consumed` with `target` and `propogating`.
6 years ago
Andrew Belt
357952c3d3
Move all metadata from Param to ParamQuantity.
6 years ago
Andrew Belt
6660c88885
Change app::ParamQuantity to engine::ParamQuantity.
6 years ago
Andrew Belt
b932a8d87c
Move ui::Quantity to Quantity.
6 years ago
Andrew Belt
2446756c54
Make settings a namespace instead of a global class.
6 years ago
Andrew Belt
6fe14dca06
Move reset and randomize from Param to ParamWidget.
6 years ago
Andrew Belt
2210287039
Move handling of RackWidget from Scene to RackScrollWidget.
6 years ago
Andrew Belt
b84e2f57fa
Merge event:: namespace with widget:: namespace. Rename event::* to widget::*Event.
6 years ago
Andrew Belt
0b17f9e2ca
Move App from rack::app:: to rack::. Remove ambiguous operator overloads in simd.hpp. Include simd.hpp in rack.hpp.
6 years ago
Andrew Belt
e5a88dfad2
Add factory preset submenu to module context menu.
6 years ago
Andrew Belt
d6f5a84178
Draw FramebufferWidgets during step() instead of draw() so we can use the same NanoVG context.
6 years ago
Andrew Belt
a509fab1c1
Move and rename widget::DrawContext to widget::Widget::DrawArgs. Rename Module::ProcessContext to Module::ProcessArgs.
6 years ago
Andrew Belt
d699c2e07d
Don't overwrite param handles when duplicating MIDI-Map.
6 years ago
Andrew Belt
83ad8523c2
Add unmap context menu item to ParamWidget. Add indicator on mapped ParamWidgets.
6 years ago
Andrew Belt
66aa746476
Replace ModuleHandle with ParamHandle. Move touchedParam from Engine to RackWidget. Fix param mapping bugs in MIDI-Map.
6 years ago
Andrew Belt
7458b5d709
Add param touch to engine. Add param learning to MIDI-Map.
6 years ago
Andrew Belt
b40fbf7f0e
Add names to history::Actions.
6 years ago
Andrew Belt
62214d106a
Convert settings namespace into class
6 years ago
Andrew Belt
3830667543
Add event::DoubleClick. Change ParamWidget reset to double-click.
6 years ago
Andrew Belt
02e5e382d5
Require Enter, Select, DragStart, and DragEnter to be consumed in order to the event State to be set.
6 years ago
Andrew Belt
8a5a806425
Add app::, ui::, and widget:: namespaces.
6 years ago
Andrew Belt
6d1142b449
Add new Widget::draw() method. Deprecate old method.
6 years ago
Andrew Belt
9ab5244002
Add MIDI-Map panel and boilerplate. Various fixes for SVGButton.
6 years ago
Andrew Belt
0f08886aae
Add Param::displayOffset. Switch around param key commands and param context menu again.
6 years ago