Andrew Belt
|
90c43226cd
|
Clean up doc comments.
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
b84e2f57fa
|
Merge event:: namespace with widget:: namespace. Rename event::* to widget::*Event.
|
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
|
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 |
Andrew Belt
|
fd3937794e
|
Add DrawContext::clipBox for drawing children widgets only when they intersect with the clipBox.
|
5 years ago |
Andrew Belt
|
6d1142b449
|
Add new Widget::draw() method. Deprecate old method.
|
5 years ago |
Andrew Belt
|
428f137d45
|
Remove multiple inheritance from all widgets, remove virtual inheritance, merge MomentarySwitch and ToggleSwitch to Switch with a boolean.
|
5 years ago |
Andrew Belt
|
4ef58cbf78
|
Add tooltip to ParamWidget. Make Widget call event::State::finalizeWidget() when removed, not when deleted.
|
5 years ago |
Andrew Belt
|
de2b5a92af
|
Clean up event documentation, change event::PathDrop::path type to const reference, make event::Zoom recurse regardless of being consumed
|
5 years ago |
Andrew Belt
|
e845373ee9
|
Make event callbacks use const
|
5 years ago |