Andrew Belt
|
f0d37bb01d
|
Tweak FramebufferWidget render skip limits.
|
2 years ago |
Andrew Belt
|
c67a4181bb
|
Tweak framebuffer render-skipping algorithm to be slightly more aggressive to render after frame deadlines.
|
2 years ago |
Andrew Belt
|
90c43226cd
|
Clean up doc comments.
|
3 years ago |
Andrew Belt
|
4a15d69a19
|
Transform drawLayer() in ZoomWidget and TransformWidget.
|
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
|
cf2ca17156
|
Add Widget::drawLayer().
|
3 years ago |
Andrew Belt
|
165589671d
|
Make default size of SvgWidget (0,0).
|
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
|
8a31123eac
|
Change Widget::getRelativeOffset/Zoom() argument to `ancestor`.
|
3 years ago |
Andrew Belt
|
a37ad4eeb5
|
Rename EventState::setHovered() etc to setHoveredWidget() etc.
|
3 years ago |
Andrew Belt
|
8caf9842b8
|
Add pixelRatio to settings.
|
3 years ago |
Andrew Belt
|
dd5fea40e9
|
Fix slightly incorrect FramebufferWidget draw position when framebuffer is a different scale (e.g. before it gets a chance to re-render).
|
3 years ago |
Andrew Belt
|
d7096ae631
|
Add FramebufferWidget::viewportMargin.
|
3 years ago |
Andrew Belt
|
44568cd617
|
Rename and negate Window::getFrameTimeOverdue() to getFrameDurationRemaining().
|
3 years ago |
Andrew Belt
|
e139b42e43
|
Add FramebufferWidget::deleteFramebuffer().
|
3 years ago |
Andrew Belt
|
1f079444a2
|
Add Widget::drawChild(). Make RailWidget draw a FramebufferWidget repeatedly as a tile.
|
3 years ago |
Andrew Belt
|
a2904149c8
|
Rename window.hpp/cpp to Window.hpp/cpp since it's a class.
|
3 years ago |
Andrew Belt
|
915e3fcdb9
|
Clean up FramebufferWidget, Window.
|
3 years ago |
Andrew Belt
|
241511876e
|
Make FramebufferWidget draw the framebuffer in draw() instead of step().
|
3 years ago |
Andrew Belt
|
dcf9cb4df4
|
Add assertion if FramebufferWidget is destructed with a framebuffer but Window does not exist.
|
3 years ago |
Andrew Belt
|
d7e1dae42c
|
Use PlugPort SVG and MediumLight from Component Library for plug (WIP).
|
3 years ago |
Andrew Belt
|
517db41269
|
Add Svg::getSize().
|
3 years ago |
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 |