Andrew Belt
|
2344abbc11
|
If knobScroll is enabled, don't move knobs while scrolling the rack.
|
3 years ago |
Andrew Belt
|
767c075b75
|
Add mod mask when checking for Alt-click dragging in ScrollWidget.
|
3 years ago |
Andrew Belt
|
427f490f44
|
Handle middle-click in ScrollWidget before children can consume it.
|
3 years ago |
Andrew Belt
|
3ad7445488
|
Don't scroll ScrollWidget with left-click but allow scrolling with Alt-click.
|
3 years ago |
Andrew Belt
|
5484126aaa
|
Change `event::Foo` to `FooEvent`.
|
4 years ago |
Andrew Belt
|
096f40f4f6
|
Fix Ctrl+scroll zooming with RackScrollWidget, which was broken when knob scrolling was added.
|
4 years ago |
Andrew Belt
|
3aaca9f90d
|
Add Widget::getVisibleChildrenBoundingBox(). Scroll ScrollWidget only if content can be scrolled.
|
4 years ago |
Andrew Belt
|
01f3f32716
|
Add `ScrollWidget::hideScrollbars`. Use it for RackScrollWidget when fullscreen.
|
4 years ago |
Andrew Belt
|
18f8283e34
|
Rename ui::ScrollBar to Scrollbar. (Wikipedia says "scrollbar" rather than "scroll bar".)
|
4 years ago |
Andrew Belt
|
28be21cfef
|
Fix middle-mouse-drag speed of ScrollWidget with non-1 zoom level.
|
4 years ago |
Andrew Belt
|
2d253fe2fb
|
Make scrollbar mouse interaction similar to modern OS behavior
|
4 years ago |
Andrew Belt
|
7908dd8b9f
|
Add get and set methods to Vec1. Add helper methods to Widget. Refactor ScrollWidget and ScrollBar.
|
5 years ago |
Andrew Belt
|
feece06fbb
|
Add event::KeyBase::keyName, which fixes key commands on AZERTY and Dvorak. Add lots of documentation to event::KeyBase.
|
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
|
d0098ae7cc
|
Allow left button to scroll ScrollWidget, so that the rack and other scroll containers can be scrolled with a touch screen.
|
5 years ago |
Andrew Belt
|
3073bef995
|
Add page up/down, home, and end key commands to ScrollWidget.
|
5 years ago |
Andrew Belt
|
dca30e2b53
|
Auto-format code with astyle.
|
5 years ago |
Andrew Belt
|
42902871fb
|
Don't flip scroll coordinates of ScrollWidget when shift is held on Mac
|
5 years ago |
Andrew Belt
|
696939069d
|
Use <> instead of "" for include directive.
|
6 years ago |
Andrew Belt
|
2c9644d80d
|
Rename WINDOW_ macros to RACK_. Require rack:: namespace for APP macro.
|
6 years ago |
Andrew Belt
|
79f0fd7ed3
|
Handle HoverScroll only if scrollbars are visible.
|
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
|
7e2d4a6bf9
|
Use larger canvas for RackScrollWidget.
|
6 years ago |
Andrew Belt
|
b84e2f57fa
|
Merge event:: namespace with widget:: namespace. Rename event::* to widget::*Event.
|
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
|
578dd8aed2
|
Add scrolling to MIDI-Map with up to 128 mappings. Add onAdd and onRemove events. Fix minor ScrollWidget behavior.
|
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
|
223341e2f1
|
Clean up README. Move SVGPanel to source file. Fix alignment bugs in FramebufferWidget.
|
6 years ago |
Andrew Belt
|
2862703f4c
|
Add CV-MIDI to Core. Move arrow key scrolling from ScrollWidget to RackWidget.
|
6 years ago |
Andrew Belt
|
0547a194a9
|
Tweaks to math.hpp and its docstrings
|
6 years ago |
Andrew Belt
|
655f081965
|
Rename context() to app(). Add skeleton for history.
|
6 years ago |
Andrew Belt
|
6f053f615a
|
Module Browser progress
|
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
|
13107b8577
|
Switch to C++ headers
|
6 years ago |
Andrew Belt
|
0d17c1c837
|
ModuleBrowser moves to mouse position
|
7 years ago |
Andrew Belt
|
8c1be8f270
|
Add buffer methods to ring buffer, change int types to size_t in ring buffer, add ScrollWidget::scrollTo()
|
7 years ago |
Andrew Belt
|
d7f5795e7b
|
Give MenuEntry default size
|
7 years ago |
Andrew Belt
|
53fdea1cd1
|
Serialize ModuleBrowser favorites
|
7 years ago |
Andrew Belt
|
e8d0783aba
|
Add manufacturer item to ModuleBrowser, other ModuleBrowser
functionality
|
7 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
|
8e251c0ddb
|
Refactor event framework. Everything uses Event* structs instead of
messy function arguments, removed on*Opaque()
|
7 years ago |