70 Commits (8346b52c12a5a9926d4c28c798167eb3f6e57ba0)

Author SHA1 Message Date
  Andrew Belt 7229fdada5 Decrease margin of scrolling rack while dragging. 3 years ago
  Andrew Belt 1878e97e4c Serialize gridOffset of RackScrollWidget in patch. 3 years ago
  Andrew Belt 1caf689797 Scroll rack if dragging near the edge of the screen only for certain widgets. 3 years ago
  Andrew Belt d847d9791b Add Widget::isDescendantOf(). Only scroll RackScrollWidget when dragging a child of its container with the left mouse button. 3 years ago
  Andrew Belt 10067ceadc Add RackScrollWidget::getZoom/setZoom/getGridOffset/setGridOffset(). Serialize zoom in patch instead of settings. 3 years ago
  Andrew Belt df89de7847 Move Svg to window:: namespace. 3 years ago
  Andrew Belt f25a17075c Add window:: namespace. 3 years ago
  Andrew Belt 2344abbc11 If knobScroll is enabled, don't move knobs while scrolling the rack. 3 years ago
  Andrew Belt 04be72fc54 Handle arrow key scrolling in Scene instead of RackScrollWidget in case the mouse is not hovering the RackScrollWidget. 3 years ago
  Andrew Belt 2a5180f101 Clean up RackWidget and ModuleWidget members. 3 years ago
  Andrew Belt a1438f0a28 Fix scrollbar flashing in RackScrollWidget when zooming. 3 years ago
  Andrew Belt a2904149c8 Rename window.hpp/cpp to Window.hpp/cpp since it's a class. 3 years ago
  Andrew Belt 7832706fdd Limit rack zoom when value is changed rather than in RackScrollWidget every frame. 4 years ago
  Andrew Belt 30c64c5e93 Zoom in/out rack with extra mouse buttons 4 years ago
  Andrew Belt 5484126aaa Change `event::Foo` to `FooEvent`. 4 years ago
  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