13
0
Commit Graph

34047 Commits

Author SHA1 Message Date
ce15b6ed66
Cont'd work on TempoMap Lua bindings 2021-12-11 17:43:12 +01:00
3b18b025e3
Fix Lua TempoMap bindings
* Resolve ambiguity between typef'ed ARDOUR::timepos_t and
  Temporal::timepos_t (and timecnt_t, superclock_t)
* Add missing classes TempoPoint, MeterPoint, which are
  return value for various TempoMap methods.
* Change TempoMap into a shared_ptr<> class.
* Move Tempo and Meter out of ARDOUR into Temporal namespace.
* add various bindings to access the TempoMap
* move Temporal enums out of ARDOUR::Temporal namespace
2021-12-11 16:49:28 +01:00
208010ff18
Fix Wreorder 2021-12-11 15:51:46 +01:00
3c03e4951e
Use updated temporal API 2/2 2021-12-11 15:51:31 +01:00
60be0c27a1
Use updated temporal API 1/2 2021-12-11 14:42:36 +01:00
506bc3a6f6
Disambiguate zero(bool) constructor and is_zero() comparison
This is mainly for the benefit of Lua bindings, but also increases
overall API naming consistency with functions and methods
`is_XYZ()` being used elsewhere.

This API change breaks builds!
2021-12-11 14:33:45 +01:00
6f91dc0799 canvas: fix an issue with event coordinate translation by ScrollGroup
If there's a grabbed item (GtkCanvas only at present) then unless it belongs to the scroll
group used for scroll offset translation, the event coordinates should not be translated,
even if the mouse pointer moves into the scroll group.
2021-12-10 18:17:58 -07:00
3efd26e864 audio clip editor: actual scrolling with the scroll bar
Some issues remain to be solved, related to scroll groups and coordinate offsets
2021-12-10 17:56:10 -07:00
e61c493fa5 audio clip editor: not-quite-working scrollbar
Something about Canvas::ScrollGroup::scroll_to() is not working quite
as expected ... to be determined
2021-12-10 17:16:47 -07:00
08e50934c9 canvas: add scroll offset info to Item::dump() 2021-12-10 17:16:10 -07:00
0e9eef46a0 audio clip editor: lines belong to scroll group 2021-12-10 16:06:39 -07:00
cb2b78bb41 audio clip editor: add scroll bar handle 2021-12-10 16:04:47 -07:00
02026c98ff basic skeleton for clip editor bindings 2021-12-10 15:15:56 -07:00
ef07d47bf8 audio clip editor: use scroll group for waves container 2021-12-10 15:15:16 -07:00
82f2392d85 fix binding for "bar" key in step editing bindings
It is not possible to generate "bar" without the shift modifier on most (all?)
keyboards. The same condition exists for the _ key in the main bindings
2021-12-10 13:20:20 -07:00
e3cac796b3 audio clip editor: primitive (left-focus) zoom 2021-12-10 12:50:44 -07:00
5b4dd8dcf4 audio clip editor: basics of line dragging 2021-12-10 11:59:19 -07:00
eac0f28642 audio clip editor: change line widths and fix frame color 2021-12-10 11:07:51 -07:00
56835d342c audio clip editor: basic line drawing 2021-12-10 09:47:56 -07:00
3bbe54f07a audio clip editor: draw entire source file(s), not just region 2021-12-10 08:54:38 -07:00
5ada2b7ce1 audio clip editor: draw waveforms (not sized horizonally appropriately yet) 2021-12-09 21:44:23 -07:00
fbfbdbe266 include size request for audio clip editor 2021-12-09 21:21:05 -07:00
757debb711 start putting some relevant elements into the AudioClipEditor 2021-12-09 21:12:47 -07:00
12dc428a60 change class names and heirarchy for the GUI elements that will be used to edit/trim clips 2021-12-09 19:45:25 -07:00
7426c96812 remove incorrectly added files 2021-12-09 19:41:21 -07:00
972229a02f Remove some spurious printouts 2021-12-08 13:39:38 -06:00
be27e7359f Property Boxen: handle more {audio|midi} cases; move code around. 2021-12-08 12:58:12 -06:00
132779ab39 Property Boxen: populate the Trigger page with property-editor placeholders 2021-12-08 12:58:12 -06:00
d30f87bf00 PropertyBoxen: provide all slot property editors in a popup dialog (?) 2021-12-08 12:58:12 -06:00
3918ee2ed6 Add New Region variables for Clips
Properties are created for announcing changes, but values are not actually stored as undo-able properties.
2021-12-08 12:57:48 -06:00
1e38797efc PropertyBoxen: move selection-properties into the sidebar 2021-12-08 12:45:11 -06:00
50aa2c490d PropertyBoxen: initial draft of property-editing widgets that follow the Selection 2021-12-08 12:45:11 -06:00
62662f888c PropertyBoxen: Publish some region operations to PublicEditor so we can access them more easily 2021-12-08 12:45:11 -06:00
cdce9e120e Trigger_UI: De-Canvas the trigger_ui widget so it can be reused in other places 2021-12-08 12:45:05 -06:00
d7116c985e Trigger_UI: change API to use set_trigger() instead of constructor arg 2021-12-08 12:40:20 -06:00
9d0d8e1785 Selection: Region Operations in a Slot need a RegionView proxy (ToDo) 2021-12-08 12:40:20 -06:00
1489fabbcd Selection: make trigger slots more exclusive wrt some other selectables 2021-12-08 12:40:20 -06:00
fcab855fca Trigger Cues: continued work on triggers, cues and master widgets 2021-12-08 12:35:32 -06:00
d20298549e Trigger Cues: add to trigger page 2021-12-08 12:35:32 -06:00
0e26bd19c4 Trigger Cues: Rough-in controls for Cues 2021-12-08 12:35:32 -06:00
c0ff182e5f triggerbox: add a master-stopper-widget (currently it stops whatever slot is playing) 2021-12-08 12:35:17 -06:00
ab8a2cb4d0 FittedCanvas: a GtkCanvas wrapper that follows ui-scale and ignores child size requests 2021-12-07 16:32:49 -06:00
dc826c6521 ArdourCanvas Rectangle: allow subclasses access to _rect 2021-12-07 16:32:49 -06:00
80939f2228
Option to show gain-knob on Meterbridge 2021-12-07 17:56:39 +01:00
0ee628d170
Add preference to show fader on meter-bridge 2021-12-07 17:56:35 +01:00
54c71c3d61 skeleton/experiment for audio clip editor 2021-12-06 14:53:04 -07:00
7b8be04623 triggerbox: fix mis-designed handling of dest_offset when a trigger starts within the same run() call as another 2021-12-06 14:06:48 -07:00
bc7e14c8ac remove misleading content from a comment 2021-12-06 14:05:59 -07:00
0a0ca81e11 triggerbox: add missing property defn 2021-12-06 10:36:57 -07:00
ef9cca2c07 triggerbox: add missing property defn 2021-12-06 10:27:59 -07:00