Commit graph

17992 commits

Author SHA1 Message Date
Paul Davis
a1c67b4ad7 canvas: remove intrinsic size concept, fall back to requested size; converge on gtk style size_request 2021-08-13 12:51:37 -06:00
Paul Davis
9698de0212 canvas: missing method 2021-08-13 12:51:37 -06:00
Paul Davis
1a70cf5b8e canvasL Item gets packing options similar to GTK 2021-08-13 12:51:37 -06:00
Paul Davis
5e3460aaae canvas: start to extend size allocation process for box packing 2021-08-13 12:51:37 -06:00
Paul Davis
b0e9ad07ca use region name for trigger name 2021-08-13 12:51:37 -06:00
Paul Davis
33fed0f689 libardour: start transport when handling UI trigger requests 2021-08-13 12:51:37 -06:00
Paul Davis
4a700f270d canvas: remove debug output 2021-08-13 12:51:37 -06:00
Paul Davis
dc6a162ca1 canvas: remove Box::render() (it should just use Rectangle::render()) 2021-08-13 12:51:37 -06:00
Paul Davis
85edd83338 canvas: correctly set Box _rect after repositioning children 2021-08-13 12:51:37 -06:00
Paul Davis
da3ea7e236 canvas: rename variable for clarity 2021-08-13 12:51:37 -06:00
Paul Davis
6f883650d8 canvas: use combined outline enum value for clarity 2021-08-13 12:51:37 -06:00
Paul Davis
71fe17a241 canvas: impl of Rectangle::dump() 2021-08-13 12:51:37 -06:00
Paul Davis
b2aa14a90b canvas; remove already-commented debug output 2021-08-13 12:51:37 -06:00
Paul Davis
341a355de4 canvas: remove debug output 2021-08-13 12:51:37 -06:00
Paul Davis
a55a004142 canvas: another fix to bounding box computation, this time for Item itself 2021-08-13 12:51:37 -06:00
Paul Davis
b8b392f729 canvas: use whoami() instead of whatami() in some debugging output 2021-08-13 12:51:37 -06:00
Paul Davis
a36d43c845 canvas: NOOP whitespace/indent a line 2021-08-13 12:51:37 -06:00
Paul Davis
16bbf79cae canvas: decl for Rectangle::dump() 2021-08-13 12:51:37 -06:00
Paul Davis
dc48f55285 canvas: bounding box changes for Container 2021-08-13 12:51:37 -06:00
Paul Davis
9095057675 canvas: call Item::bounding_box() to recompute bounding box when needed
Since 74fe396cc5 compute_bounding_box() by itself does not do the entire computation, so we
must call into Item::bounding_box() to get the result with children added also
2021-08-13 12:51:37 -06:00
Paul Davis
c0425ba70f canvas: items should not add child bboxes in their ::compute_bounding_box() method, Item::bounding_box() does that 2021-08-13 12:51:37 -06:00
Paul Davis
ad6afbe68a canvas: use Item::bb_clean() to mark _bounding_box_dirty false 2021-08-13 12:51:36 -06:00
Paul Davis
5b123441f4 canvas; change operator<<() for Rect to show BIG instead of gigantic 64 bit numbers 2021-08-13 12:51:36 -06:00
Paul Davis
ddcd004350 canvas: only reset _bounding_box_dirty in the parent if the child's bbox did change 2021-08-13 12:51:36 -06:00
Paul Davis
c1fa1e1a29 canvas: when an item's position is set, its bounding box has changed 2021-08-13 12:51:36 -06:00
Paul Davis
f5753dcd07 missing member initialization 2021-08-13 12:51:36 -06:00
Paul Davis
9c2e4ec6d2 libtemporal: fix timepos_t::set_time_domain()
For legacy reasons, this was going via a sample intermediate representation
2021-08-13 12:51:36 -06:00
Paul Davis
1927e4673b remove StepSequencer, BeatBox and BeatBoxGUI from wscripts and #ifdef code occurences. Files remain 2021-08-13 12:51:36 -06:00
Paul Davis
7066db16bd remove dangling method from rebase issues 2021-08-13 12:51:36 -06:00
Paul Davis
e7cdca1ea2 remove some debug output 2021-08-13 12:51:36 -06:00
Paul Davis
c452dcda53 add access for triggerbox as a well-known (possibly null) processor in a route 2021-08-13 12:51:36 -06:00
Paul Davis
a82b05b49c fix paths for testing samples 2021-08-13 12:51:36 -06:00
Paul Davis
14621f3634 add missing Box::set_homogenous() method 2021-08-13 12:51:36 -06:00
Paul Davis
043544c059 triggerbox: continued evolution, and new test sample paths 2021-08-13 12:51:36 -06:00
Paul Davis
f7c6d17ee3 Lots more changes to triggerbox implementation
Multichannel regions, on/off all quantized.
2021-08-13 12:51:36 -06:00
Paul Davis
e52eead1b6 Add Session::start_transport_from_processor() (for process() context use only) 2021-08-13 12:51:36 -06:00
Paul Davis
8eed420ad4 triggerbox: lots of design changes and implementation tweaks. Gate launch style now works 2021-08-13 12:51:36 -06:00
Paul Davis
50d68a6a34 start to accumulate trigger properties
They will need to become properties eventually, I think
2021-08-13 12:51:36 -06:00
Paul Davis
2995b2a0bb super-basic working MIDI triggering for TriggerBox 2021-08-13 12:51:36 -06:00
Paul Davis
84790dff1d add state methods to TriggerBox (stubs for now) 2021-08-13 12:51:36 -06:00
Paul Davis
b41e240f10 potentially add a TriggerBox if with_triggers is true 2021-08-13 12:51:36 -06:00
Paul Davis
b8e38ed777 tweak TriggerBox API 2021-08-13 12:51:36 -06:00
Paul Davis
e9401a945f add new argument @param with_triggers to Session::new_midi_track()
Lua binding for Session::new_midi_track() temporarily commented out due to some templating/types issue
2021-08-13 12:51:36 -06:00
Paul Davis
04b4fc531d remove default args to Session::new_midi_track() (libs edition) 2021-08-13 12:51:36 -06:00
Paul Davis
b0d422e345 fix timeline types for Triggerbox 2021-08-13 12:51:36 -06:00
Paul Davis
b8a3b25dee add TriggerBox processor (extremely prototypical)
This takes some barely working ideas from the old ableton branch and turns it into a processor instead of a separate track object
2021-08-13 12:51:36 -06:00
Paul Davis
d772ea3fdf manual post-conflict-resolution cleanups (library edition) 2021-08-13 12:51:36 -06:00
Paul Davis
b55bb41832 fix timeline type -> sample in ::write_one_track()
This needs to be modified to use Beats not samples.
2021-08-13 12:51:36 -06:00
Paul Davis
e519dfc0aa fix timeline types in Region::move_cue_markers() decl 2021-08-13 12:51:36 -06:00
Paul Davis
6895e6840d remove mistakenly remaining code (post rebase conflict resolution) 2021-08-13 12:51:36 -06:00