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 |
Andrew Belt
|
b232b8db37
|
Add `event::Context::consumed`.
|
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
|
7b0c04aa9f
|
Copy oversampled FramebufferWidgets to actual-size framebuffers after rendering.
|
5 years ago |
Andrew Belt
|
3eb0426315
|
Add OverlayWidget. Make some classes subclass OverlayWidget instead of OpaqueWidget.
|
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
|
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
|
52151a709d
|
Add various API documentation
|
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
|
3830667543
|
Add event::DoubleClick. Change ParamWidget reset to double-click.
|
5 years ago |
Andrew Belt
|
8a5a806425
|
Add app::, ui::, and widget:: namespaces.
|
5 years ago |