46 Commits (75d5d8b5ded64986c5f39301b26a3e309b408c78)

Author SHA1 Message Date
  Andrew Belt 6ffe9ff900 Don't redraw FramebufferWidget on subpixel change when dragging ModuleWidgets. 3 years ago
  Andrew Belt 5cb2341c85 Increase dirtyOnSubpixelChange threshold to 0.1 px. 3 years ago
  Andrew Belt 39f5a2f710 Reword Trigger -> Dispatch in comments. 3 years ago
  Andrew Belt 87eeb02f5c Rename new Widget methods. Add Rogan3PSWhite fg/bg test. 3 years ago
  Andrew Belt 649a601fc2 Add Widget::hasChild(), addChildBefore(), and addChildAfter(). 3 years ago
  Andrew Belt 4e7f1edb24 Change all deprecated APP->window->loadSvg() calls to Svg::load(). Fix FramebufferWidget::onContextDestroy() not unsetting framebuffer handle. 3 years ago
  Andrew Belt ad1d109845 Add ContextCreateEvent and ContextDestroyEvent. 3 years ago
  Andrew Belt 5484126aaa Change `event::Foo` to `FooEvent`. 3 years ago
  Andrew Belt c9cf25f66e Merge event namespace into widget namespace. Event classes are now defined inside the Widget class. 3 years ago
  Andrew Belt 1e6bc7cdf5 Make Vec::equals, Rect::equals, Rect::containing, and Rect::intersecting non-deprecated. 3 years ago
  Andrew Belt 5f8f9b8e35 Change `bypass` variable name to `bypassed` when appropriate. 3 years ago
  Andrew Belt ac0588c0f8 Rewrite module browser's ModelBox to support changing zoom. Add FramebufferWidget::setDirty(). 3 years ago
  Andrew Belt 7a500c9c26 Add tip window. Add "showTipsOnLaunch" and "tipIndex" to settings. 4 years ago
  Andrew Belt 3aaca9f90d Add Widget::getVisibleChildrenBoundingBox(). Scroll ScrollWidget only if content can be scrolled. 4 years ago
  Andrew Belt d85856eccc Add `FramebufferWidget::dirtyOnSubpixelChange` setting. Disable it for the FramebufferWidget that contains the RackRail. 4 years ago
  Andrew Belt c9bd5e9a3c Refactor Window methods for getting frame times. 4 years ago
  Andrew Belt b6382f6697 Add `Widget::getRelativeZoom()` and `getAbsoluteZoom()`. 4 years ago
  Andrew Belt 7908dd8b9f Add get and set methods to Vec1. Add helper methods to Widget. Refactor ScrollWidget and ScrollBar. 4 years ago
  Andrew Belt 3026f113e3 Rerender FramebufferWidget when subpixel position changes, fixing slight pixel offset rendering issue. Rewrite oversampled framebuffer rendering code, which solves rendering issue when oversampled buffer sometimes replaces the normal sized framebuffer. 4 years ago
  Andrew Belt c8e2b5fc4a Move most FramebufferWidget member fields to an opaque pointer. 4 years ago
  Andrew Belt 0cefd1138b Replace event::Zoom with event::Dirty. 4 years ago
  Andrew Belt 120aafe6d3 Change order of includes to C++ standard headers, library headers, and local project headers. 4 years ago
  Andrew Belt ca9231e1b3 Rename App to Context and app.hpp to context.hpp. The APP macro is still valid. 4 years ago
  Andrew Belt dca30e2b53 Auto-format code with astyle. 5 years ago
  Andrew Belt 341ae5125d Fix OpenGlWidget by calling superclass step(). 5 years ago
  Andrew Belt 696939069d Use <> instead of "" for include directive. 5 years ago
  Andrew Belt 212404c664 Add Widget::addChildBottom(). Change ModuleWidget::setPanel behavior. Improve event docstrings. Temporarily disable glibc 2.23 header on Linux. 5 years ago
  Andrew Belt 51c37936a9 Make RackRails positioned correctly to prevent blank frames. 5 years ago
  Andrew Belt 7624c46f19 Add assertions for 0-width ModuleWidgets. Add warning if framebuffer cannot be created in FramebufferWidget. 5 years ago
  Andrew Belt 9d609fee2b Rename `widget::*Event` to `event::*`. 5 years ago
  Andrew Belt 13b3fabd8b Replace `Event::consumed` with `target` and `propogating`. 5 years ago
  Andrew Belt 6d755381f9 Reset double-click state after DoubleClickEvent is fired. Fix Knob resetting. 5 years ago
  Andrew Belt e60ed0cf98 Added "invertZoom" to settings. 5 years ago
  Andrew Belt 419a1e7529 Only draw framebuffer is frame is not overdue 5 years ago
  Andrew Belt 7b0c04aa9f Copy oversampled FramebufferWidgets to actual-size framebuffers after rendering. 5 years ago
  Andrew Belt b84e2f57fa Merge event:: namespace with widget:: namespace. Rename event::* to widget::*Event. 5 years ago
  Andrew Belt 0e99165139 Fix framebuffer incorrect scale when zooming. Reset NanoVG state after drawing framebuffer. 5 years ago
  Andrew Belt d6f5a84178 Draw FramebufferWidgets during step() instead of draw() so we can use the same NanoVG context. 5 years ago
  Andrew Belt e1bb26e793 Fix FramebufferWidget call to drawFramebuffer(). 5 years ago
  Andrew Belt a509fab1c1 Move and rename widget::DrawContext to widget::Widget::DrawArgs. Rename Module::ProcessContext to Module::ProcessArgs. 5 years ago
  Andrew Belt 13dadef857 ModuleBrowser WIP. Add Widget::show/hide(). 5 years ago
  Andrew Belt 578dd8aed2 Add scrolling to MIDI-Map with up to 128 mappings. Add onAdd and onRemove events. Fix minor ScrollWidget behavior. 5 years ago
  Andrew Belt 91f72a1ada Add Reposition and Resize events. 5 years ago
  Andrew Belt 822c525d6b Change "SVG" to "Svg" for correct capitalization style. Create Window::loadSvg, loadImage, and loadFont. 5 years ago
  Andrew Belt 02e5e382d5 Require Enter, Select, DragStart, and DragEnter to be consumed in order to the event State to be set. 5 years ago
  Andrew Belt 8a5a806425 Add app::, ui::, and widget:: namespaces. 5 years ago