Andrew Belt
|
5484126aaa
|
Change `event::Foo` to `FooEvent`.
|
4 years ago |
Andrew Belt
|
c9cf25f66e
|
Merge event namespace into widget namespace. Event classes are now defined inside the Widget class.
|
4 years ago |
Andrew Belt
|
16a7f778de
|
Add event::Event::unconsume().
|
4 years ago |
Andrew Belt
|
dca30e2b53
|
Auto-format code with astyle.
|
5 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
|
509d61c69a
|
Add active flag to MenuItem. Make author and tag list items active when selected. Add ClearItem to ModuleBrowser.
|
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
|
b84e2f57fa
|
Merge event:: namespace with widget:: namespace. Rename event::* to widget::*Event.
|
6 years ago |
Andrew Belt
|
1a5ae9ea28
|
Tweaks to dsp/filter.hpp algorithms. Re-enable autosave on close.
|
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
|
13dadef857
|
ModuleBrowser WIP. Add Widget::show/hide().
|
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
|
655f081965
|
Rename context() to app(). Add skeleton for history.
|
6 years ago |
Andrew Belt
|
5ff841b076
|
Make SequentialLayout wrap widgets
|
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
|
0490a9d13d
|
Add disabled state to MenuItem appearance
|
6 years ago |
Andrew Belt
|
f5601d2042
|
Work on toolbar, event context
|
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
|
e51ce44588
|
Remove PulseAudio from default Linux rtaudio build, fix lastPath being overwritten when autosave is loaded, add List, replace AddModuleWindow with Sublime Text-like browser (partially complete)
|
7 years ago |
Andrew Belt
|
979e44f650
|
Rename gui.hpp to window.hpp
|
7 years ago |
Andrew Belt
|
7755c67084
|
Divide widgets.hpp to widgets.hpp and ui.hpp
|
7 years ago |
Andrew Belt
|
5567c5f22d
|
Added AddModuleWindow
|
7 years ago |
Andrew Belt
|
48448aa89d
|
Don't close Menu if onAction() event is not consumed
|
7 years ago |
Andrew Belt
|
8e251c0ddb
|
Refactor event framework. Everything uses Event* structs instead of
messy function arguments, removed on*Opaque()
|
7 years ago |
Andrew Belt
|
34bd9d7b86
|
Add SearchModuleField to RackWidget
|
7 years ago |
Andrew Belt
|
6239856310
|
Added C#-style property constructor, explicitly clamp samples in Audio Interface, scroll horizontally if Shift is held
|
7 years ago |
Andrew Belt
|
e8eddc4463
|
Keep MenuItem active when its child menu is open
|
7 years ago |
Andrew Belt
|
401176d50d
|
Added child menus
|
7 years ago |
Andrew Belt
|
435006cc03
|
Add right-aligned text to menu
|
7 years ago |
Andrew Belt
|
ef6dc2ff67
|
Save draw state before each child is drawn, so widgets draw at (0, 0)
instead of box.pos.
|
8 years ago |
Andrew Belt
|
aad709e62c
|
Large refactor to modularize include files, add NanoSVG dependency, added Image/Font/SVG loader
|
8 years ago |
Andrew Belt
|
a18e4a4d6e
|
Added ring buffers, made Rack a class, added stringf helper function, added VIPMutex/VIPLock, added sample rate and block size options to AudioInterface
|
8 years ago |
Andrew Belt
|
06326a899a
|
Changed how events work, added ModulePanel, added cable tension
|
8 years ago |
Andrew Belt
|
86e2fabf20
|
A few days of work
|
8 years ago |
Andrew Belt
|
c1cae82918
|
Initial commit
|
8 years ago |