Andrew Belt
|
a5e377f2e6
|
When cloning, pasting, or importing module selection, place modules nearest to center of rack viewport.
|
1 year ago |
Andrew Belt
|
02ca4c66f7
|
Add doc comments
|
1 year ago |
Andrew Belt
|
c667f8bf6e
|
Remove GLFW_* macros in event.hpp as they cause more confusion than convenience.
|
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
|
aace0a075b
|
Draw LightWidget light and halo with drawLayer(args, 1) instead of resetting nvgGlobalTint().
|
3 years ago |
Andrew Belt
|
0839a7c041
|
Draw ModuleWidget shadow with drawLayer() instead of a custom drawShadow() method.
|
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
|
6d5a76788f
|
Adjust formatting of namespace docs.
|
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
|
4e8b9ef301
|
Improve namespace documentation.
|
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
|
8d86dbbb7d
|
Add GLFW_* aliases to Rack-defined GLFW-related macros.
|
3 years ago |
Andrew Belt
|
99adc5c0fe
|
Add PlugWidget. Implement appearance of cables and plugs from Pyer. Add layer variable to Widget::DrawArgs. Add color::isEqual().
|
3 years ago |
Andrew Belt
|
d7096ae631
|
Add FramebufferWidget::viewportMargin.
|
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
|
414500a390
|
Fix certain Widget events (ContextDestroyEvent, ContextDestroyEvent, etc) not recursing when Widget is invisible.
|
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
|
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
|
94587e87ba
|
Add WeakPtr. Use WeakPtr in ModuleWidget context menu. Fix crash when displaying preset menu when the preset folder does not exist.
|
4 years ago |
Andrew Belt
|
d85856eccc
|
Add `FramebufferWidget::dirtyOnSubpixelChange` setting. Disable it for the FramebufferWidget that contains the RackRail.
|
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
|
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
|
dca30e2b53
|
Auto-format code with astyle.
|
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
|
509d61c69a
|
Add active flag to MenuItem. Make author and tag list items active when selected. Add ClearItem to ModuleBrowser.
|
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
|
a5d7a0b75b
|
Add middle-click-drag to ScrollWidget. Fix numerous bugs introduced by event system changes.
|
5 years ago |
Andrew Belt
|
d8d5021304
|
Consume onDragHover in OpaqueWidget.
|
5 years ago |