Commit graph

87 commits

Author SHA1 Message Date
Robin Gareus
1153c19cb5
Reduce Region editor height requirement
.. in preparation for fixed height bottom pane
2025-11-05 01:39:09 +01:00
Robin Gareus
14e8b66b61
Fix region-editor (double) packing
* show _region_line dropdown and label (previously ArdourHSpacer
  was packed in their place)
* add spacer at the bottom of the window to not prevent
  spreading out of clocks or other elements.
2025-09-28 01:35:04 +02:00
Paul Davis
3aba12c90c providing region tempo/meter editing in region properties 2025-08-11 21:29:48 -06:00
Paul Davis
ea4737079d region tempo and meter are optional (gui) 2025-08-10 07:55:39 -06:00
Paul Davis
aaaf25ad01 fill region editor tempo/meter entries and respond to changes
No editing yet
2025-08-09 20:47:58 -06:00
Paul Davis
ad1011d724 basics of tempo & meter fields in region editor(s) 2025-08-09 17:47:56 -06:00
Robin Gareus
b2a5920971
Fix RegionFx processor selection, leave notify
This fixes "delete" keyboard shortcut when the mouse.
Previously moving the mouse from the box to the selected
processor unset the `current_rfx_box` pointer.
2025-04-09 20:18:29 +02:00
Robin Gareus
58d7189e9c
Fix "Delete" processor-box context menu
For some reason the action prefix before the slash is
irrelevant. The "RegionFxMenu/delete" action overrides
the earlier registered "ProcessorMenu/delete".

Processor Box context menu called `RegionFxBox::static_delete`.
2025-04-09 20:15:53 +02:00
Robin Gareus
5e9a4f54a6
Fix RegionFxMenu/* keyboard shortcuts
They now work in the property attachment pane, but not
in a dedicated region property window.
2025-04-07 19:21:33 +02:00
Paul Davis
801099e057 use Gtkmm2ext::BindingSet for the GUI 2025-03-10 18:49:02 -06:00
Paul Davis
d68be57c43 basics of region property editor in pianoroll window 2025-02-08 10:25:17 -07:00
Robin Gareus
000c25edcc
Update gtkmm -> ytkmm header location (omnibus commit) 2025-02-01 15:25:14 +01:00
Robin Gareus
3ea0b11c7d
Update Region Property Layout
* Shrink Clocks
* Align Checkboxes
* Reindent and cleanup source
2025-01-23 18:12:01 +01:00
Robin Gareus
cbe838ce26
Fix crash when dragging plugins from sidebar 2024-12-17 15:50:03 +01:00
Robin Gareus
9f6d3baa93
Use key bindings for region property (Fx) box
This is required to allow to delete RegionFX plugins
when the region-editor is shown in the main window, rather
than its own window.

Otherwise the Editor would handle delete/backspace and
instead remove the region.
2024-11-23 16:35:10 +01:00
Robin Gareus
49c7464b9c
Allow to move (cut/paste DnD) region FX
This also prevents copying effects to another RegionFX
Box of the same region (e.g. when using Region Property
Bottom Pane)
2024-11-19 17:45:26 +01:00
Robin Gareus
c35fa54b3f
Refactor RegionEditor to be a Widget 2024-11-19 17:37:12 +01:00
Robin Gareus
74c4ca3e52
Reduce reliance on boost - the hard part
the rest from `tools/convert_boost.sh`.

* replace boost::function, boost::bind with std::function and std::bind.

This required some manual fixes, notably std::placeholders,
some static_casts<>, and boost::function::clear -> = {}.
2024-10-19 03:47:21 +02:00
Robin Gareus
0986b8d1e8
Revert "Only enable RegionFX in debug builds for the time being"
This reverts commit d525f8d60c.
2024-10-17 15:36:29 +02:00
Robin Gareus
d525f8d60c
Only enable RegionFX in debug builds for the time being
This reverts commit 14ff2f2e68.
2024-10-16 18:29:51 +02:00
Robin Gareus
14ff2f2e68
Revert "Only enable RegionFX in debug builds for the time being"
This reverts commit cae710cd7c.
2024-10-09 20:49:36 +02:00
Robin Gareus
cae710cd7c
Only enable RegionFX in debug builds for the time being 2024-10-08 16:23:43 +02:00
Robin Gareus
33806a2735
Revert "Only enable RegionFX in debug builds for the time being"
This reverts commit 2d076cccb1.
2024-10-03 17:28:09 +02:00
Robin Gareus
b13f04c61e
RegionFX: fix hiding RFx GUI when removing regions 2024-08-31 02:55:04 +02:00
Robin Gareus
2d076cccb1
Only enable RegionFX in debug builds for the time being 2024-08-30 02:18:49 +02:00
Robin Gareus
fc07a92d36
Prepare GUI for missing (stub) RegionFx 2024-08-23 15:16:57 +02:00
Robin Gareus
002eabc01f
RegionFX: replay control automation (2/2)
Trigger GUI updates when region-fx are automated
2024-08-19 22:46:56 +02:00
Robin Gareus
fb1ca67e39
RegionFX: add clear-automation action 2024-08-19 15:24:53 +02:00
Robin Gareus
c2169d6d51
Add GUI to toggle pre/post region fade FX 2024-08-18 00:54:33 +02:00
Robin Gareus
b2d4280e0f
Add support for Region Fx Automation 2024-04-23 21:56:22 +02:00
Robin Gareus
e5506d281a
GUI support for Region Fx (in Region Properties) 2024-04-23 21:56:18 +02:00
Paul Davis
908c530834 region property editor uses clock mode based on region time domain
Still needs to track changes
2023-08-02 15:23:42 -06:00
Paul Davis
b35518e212 switch from boost::{shared,weak}_ptr to std::{shared,weak}_ptr
This is mostly a simple lexical search+replace but the absence of operator< for
std::weak_ptr<T> leads to some complications, particularly with Evoral::Sequence
and ExportPortChannel.
2023-03-24 14:19:15 -06:00
Mads Kiilerich
728e463d01 AudioClock: make last_when public and use it instead of current_time
Having current_time as a public alias of the private last_when did not
add any clarity to the abstraction of last_time. A small step, but still
room for improvement.
2022-11-17 18:04:08 +01:00
Paul Davis
254297355e increment/decrement name changes ... out with old in with the new (gui) 2022-10-07 17:30:45 -06:00
Paul Davis
45e21de209 implement and adopt new conventions for AudioClock use
The class now has two separate methods for setting a duration or a point
value. They MUST be used appropriately, because their behavior is different.

When ::set_duration() is used in timecode mode, an extent (inclusive-end
length) is shown rather than a length.

Some objects, such as the TimeInfoBox, now deliberately shown an inclusive end
for their "end" clock, but this not universally followed, pending more feedback
from users and investigating of conventions in other DAWs.
2022-10-07 16:24:56 -06:00
Mads Kiilerich
7f649efd42
gtkmm: use set_can_focus() instead of deprecated Gtk::Widget::set_flags(CAN_FOCUS) 2022-04-08 21:11:06 +02:00
Mads Kiilerich
09c6e68ae8
gtkmm: use append() instead of deprecated Gtk::ComboBoxText::append_text() 2022-04-08 21:10:56 +02:00
Paul Davis
754230921d there is no Properties::position any more (GUI)
Position is a part of a length property (a duple specifying
"duration AT position", and there is no distinct property
for just the position itself
2021-09-25 16:49:51 -06:00
Paul Davis
18d64f0402 change all Region::nt_*() methods to names without the nt_ prefix (GUI version) 2021-08-13 12:51:30 -06:00
Paul Davis
5b2a435e02 getting editor_drag.cc to compile 2021-08-13 12:51:29 -06:00
Paul Davis
9d69fa3820 another day or two's work on timeline type conversion 2021-08-13 12:51:29 -06:00
Robin Gareus
4050ca5633
Update GPL boilerplate and (C)
Copyright-holder and year information is extracted from git log.

git history begins in 2005. So (C) from 1998..2005 is lost. Also some
(C) assignment of commits where the committer didn't use --author.
2019-08-03 15:53:15 +02:00
Robin Gareus
31815b5f26
NO-OP: whitespace
This fixes mostly <tab> after <space> and similar <tab> not used
for indenting as well as some related code alignment issues.
2019-04-13 17:57:46 +02:00
Paul Davis
0542a30901 use primary, not secondary, clock mode to drive other clock modes, and dynamically update region editors, location UI and editor regions when it changes 2018-10-10 11:47:29 -04:00
Paul Davis
7d5eed0914 region editor should use primary clock mode, not secondary 2018-10-10 11:47:29 -04:00
Paul Davis
30b087ab3d globally change all use of "frame" to refer to audio into "sample".
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
2017-09-18 12:39:17 -04:00
Robin Gareus
eb1e423b75 Remove <gtkmm.h> include from header files. 2017-07-17 21:06:04 +02:00
Robin Gareus
5c92613698 Separate Ardour UI widgets into dedicated library 2017-07-17 21:06:04 +02:00
Thomas Brand
63ea7b6516 NO-OP whitespace (updated GH PR #357) 2017-07-01 19:28:26 +02:00