The XOR
|
f044e2aef3
|
The color of the cables can be changed with CTRL+right click
|
5 years ago |
Andrew Belt
|
696939069d
|
Use <> instead of "" for include directive.
|
6 years ago |
Andrew Belt
|
5e0378cb5a
|
Clean up app namespace.
|
6 years ago |
Andrew Belt
|
2c9644d80d
|
Rename WINDOW_ macros to RACK_. Require rack:: namespace for APP macro.
|
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
|
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
|
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
|
11544f25b3
|
Update rack0.hpp header
|
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
|
e184fdb947
|
Ctrl-click an input port to clone the plugged cable.
|
6 years ago |
Andrew Belt
|
510f7b2179
|
Change behavior of Port::getPolyVoltage(). Change port behavior when module is bypassed.
|
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
|
cc3b9acb7c
|
Create `component::` namespace
|
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
|
dac26ce0a7
|
Fix plug light colors
|
6 years ago |
Andrew Belt
|
98aa18d354
|
Rename a few variables and methods
|
6 years ago |
Andrew Belt
|
6d86a8280c
|
Add convenience methods to Port. Draw blue plug lights for polyphonic ports.
|
6 years ago |
Andrew Belt
|
c6f8153d74
|
Use various other history actions when interacting with the rack
|
6 years ago |
Andrew Belt
|
c4a33bedc3
|
Move CableContainer methods into RackWidget
|
6 years ago |
Andrew Belt
|
94c33c5e77
|
Use cable history actions when interacting with cables
|
6 years ago |
Andrew Belt
|
5266641777
|
Big cable refactor.
|
6 years ago |
Andrew Belt
|
9ffb57edd0
|
Remove Window::isModPressed() and isShiftPressed(). Add Window::getMods(). Add partial implementations of Core MIDI-CC and MIDI-Gate.
|
6 years ago |
Andrew Belt
|
428f137d45
|
Remove multiple inheritance from all widgets, remove virtual inheritance, merge MomentarySwitch and ToggleSwitch to Switch with a boolean.
|
6 years ago |
Andrew Belt
|
1a26bac9b1
|
Move ui header implementations to source files.
|
6 years ago |
Andrew Belt
|
3ab43a2ce0
|
Rename wire to cable
|
6 years ago |
Andrew Belt
|
655f081965
|
Rename context() to app(). Add skeleton for history.
|
6 years ago |
Andrew Belt
|
2e4faa4a10
|
Add hack when disconnecting ModuleWidgets with NULL Module
|
6 years ago |
Andrew Belt
|
a6961d6626
|
Tear down old Module Browser, make app widgets and Core plugins compatible with NULL Module
|
6 years ago |
Andrew Belt
|
e845373ee9
|
Make event callbacks use const
|
6 years ago |
Andrew Belt
|
1a7aeb6c3b
|
Create event context for each event that is triggered
|
6 years ago |
Andrew Belt
|
7c04ff0abf
|
Rename Port to PortWidget
|
6 years ago |
Andrew Belt
|
04f53901b2
|
Fix event and Wire bugs
|
6 years ago |
Andrew Belt
|
20b78190c1
|
Put math in namespace
|
6 years ago |
Andrew Belt
|
0dec45d970
|
Class-ify window, un-class-ify asset
|
6 years ago |
Andrew Belt
|
402f42a354
|
Add Context class for storing global state
|
6 years ago |
Andrew Belt
|
95f6016e7a
|
Remove app.hpp/cpp, fix headers of app headers, rename RackScene to Scene
|
6 years ago |
Andrew Belt
|
316518a794
|
Wrap engine state into class Engine
|
6 years ago |
Andrew Belt
|
499ceb024f
|
Remove math namespace
|
6 years ago |
Andrew Belt
|
2a3c254712
|
Revert to simpler event system
|
6 years ago |
Andrew Belt
|
c3407ca07d
|
Code style: Remove () from `new X()`
|
6 years ago |
Andrew Belt
|
6475c630b5
|
Revise event and widget API (draft), migrate source files to headers (WIP), separate large headers into small headers in subfolders (WIP)
|
6 years ago |
Andrew Belt
|
c57c76e6d1
|
Move math to its own namespace, clean up deprecated classes
|
6 years ago |
Andrew Belt
|
979e44f650
|
Rename gui.hpp to window.hpp
|
7 years ago |
Andrew Belt
|
f129f026f6
|
Add AudioWidget
|
7 years ago |
Andrew Belt
|
215f967595
|
Allow Ctrl-dragging input, although it doesn't do anything different
from normal dragging
|
7 years ago |