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 |
Andrew Belt
|
1a7aeb6c3b
|
Create event context for each event that is triggered
|
5 years ago |
Andrew Belt
|
960ac66b73
|
Fix event drag handling, fix ParamQuantity and tweak its API
|
5 years ago |
Andrew Belt
|
20b78190c1
|
Put math in namespace
|
5 years ago |
Andrew Belt
|
a792c85cbc
|
Cleanup includes more
|
5 years ago |
Andrew Belt
|
f64ea2e181
|
Large architectural changes. Created Quantity class.
|
5 years ago |
Andrew Belt
|
499ceb024f
|
Remove math namespace
|
6 years ago |
Andrew Belt
|
4b55d428e8
|
Split app.hpp into individual headers
|
6 years ago |
Andrew Belt
|
2a3c254712
|
Revert to simpler event system
|
6 years ago |
Andrew Belt
|
a4471d1c44
|
Add WidgetState::handleButton, fix event typos
|
6 years ago |
Andrew Belt
|
abc34603d9
|
Add WidgetState
|
6 years ago |
Andrew Belt
|
6475c630b5
|
Revise event and widget API (draft), migrate source files to headers (WIP), separate large headers into small headers in subfolders (WIP)
|
6 years ago |
Andrew Belt
|
dd02ec52ad
|
Move Widget class to header, wrap settings, keyboard, and gamepad in namespace
|
6 years ago |