Andrew Belt
|
2ef395f99b
|
Add scroll wheel knob control setting.
|
4 years ago |
Andrew Belt
|
6de4cd9be4
|
Make Ctrl, Shift, and Ctrl+shift mods consistent between arrow key rack scrolling and knob movement. Ctrl is slow, Shift is fast, Ctrl+shift is very slow.
|
4 years ago |
Andrew Belt
|
426b6d20ed
|
Rename "autosavePeriod" to "autosaveInterval" in settings.json. Auto-hide menu bar when fullscreen, show when hovering the top of the screen.
|
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
|
7019b46c1e
|
Use float literals in `RackScrollWidget`.
|
4 years ago |
Andrew Belt
|
af65f7b8e7
|
Don't serialize module ID in module presets.
|
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
|
040d862102
|
Move Window::mousePos to Scene::mousePos.
|
5 years ago |
Andrew Belt
|
63a939d432
|
Hide menu and scrollbars when fullscreen.
|
5 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
|
a0daf4b480
|
Make maximum zoom level 400%. Store zoom in settings logarithmically instead of linearly.
|
6 years ago |
Andrew Belt
|
e92b9d0339
|
Save temporary patch file and rename it over desired patch.
|
6 years ago |
Andrew Belt
|
fee87cddff
|
Simplify RackScrollWidget scroll box computation and behavior.
|
6 years ago |
Andrew Belt
|
f58fc44799
|
Expand RackScrollWidget bounding box to current scroll position
|
6 years ago |
Andrew Belt
|
7b97c2e8b0
|
Expand Rack size based on module bounding box instead of viewport.
|
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
|
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
|
98bd228c17
|
Add Ctrl-- and Ctrl-= for zooming in and out.
|
6 years ago |
Andrew Belt
|
9d609fee2b
|
Rename `widget::*Event` to `event::*`.
|
6 years ago |
Andrew Belt
|
0ed5f561fb
|
Change origin offset of RackScrollWidget
|
6 years ago |
Andrew Belt
|
2446756c54
|
Make settings a namespace instead of a global class.
|
6 years ago |
Andrew Belt
|
bf46e50069
|
Revert to old version of stb_truetype. Adjust default RackScrollWidget offset.
|
6 years ago |
Andrew Belt
|
81b51aaee1
|
Statically link libgcc and libstdc++ on Linux.
|
6 years ago |
Andrew Belt
|
7e2d4a6bf9
|
Use larger canvas for RackScrollWidget.
|
6 years ago |
Andrew Belt
|
e60ed0cf98
|
Added "invertZoom" to settings.
|
6 years ago |
Andrew Belt
|
6e6aa6ef94
|
Add zooming with Ctrl+Scroll to RackScrollWidget.
|
6 years ago |
Andrew Belt
|
419a1e7529
|
Only draw framebuffer is frame is not overdue
|
6 years ago |
Andrew Belt
|
2210287039
|
Move handling of RackWidget from Scene to RackScrollWidget.
|
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
|
8a5a806425
|
Add app::, ui::, and widget:: namespaces.
|
6 years ago |
Andrew Belt
|
dc8c317d9f
|
Remove empty patch message. Add oversample multipliers to engine sample rate toolbar items.
|
6 years ago |
Andrew Belt
|
6d1142b449
|
Add new Widget::draw() method. Deprecate old method.
|
6 years ago |
Andrew Belt
|
d737504011
|
Add intro message when the rack is empty. Round zoom level to nearest percent.
|
6 years ago |
Andrew Belt
|
c4a33bedc3
|
Move CableContainer methods into RackWidget
|
6 years ago |
Andrew Belt
|
5266641777
|
Big cable refactor.
|
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
|
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
|
499ceb024f
|
Remove math namespace
|
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 |