Commit graph

34 commits

Author SHA1 Message Date
Robin Gareus
699fc983ae
Use transient parent for color dialog, and position it to pointer
This hopefully fixes an odd macOS specific focus issue.
It also moves the dialog to the popup position when
showing the same dialog using the editor-mixer and later
a detached mixer.
2025-08-29 02:50:22 +02:00
Robin Gareus
cf85399f38
Allow to remove inactive tracks 2025-08-05 23:16:02 +02:00
Paul Davis
316947f7dc move trigger rec-enable button above trigger box, for ergonomic reasons 2025-05-13 19:18:32 -06:00
Paul Davis
8619411ce6 light trigger strip rec-gtoggle button appropriately 2025-04-11 17:11:58 -06:00
Paul Davis
1e7480665c tweaks to pianoroll GUI to control capture length and avoid track rec-enabling
Tracks cannot be rec-enabled at the same as clips/slots/cues/triggers are rec-enabled. This means
that the "rec-enable" button in a TriggerStrip should not be setting track record enabled
status. Instead, it is a GUI-only button that causes a redraw with the appropriate slot
icons (play, record)

Still a bit of work to be done here but functional again and avoids an assert() failure
2025-03-21 20:55:36 -06:00
Robin Gareus
09908faee8 Revert "Always pack nsglview backed canvas in EventBoxExt"
This reverts commit c024820864.
2024-12-06 23:49:23 +01:00
Robin Gareus
c024820864 Always pack nsglview backed canvas in EventBoxExt
...otherwise it is never unmapped when switching tabs.
2024-12-05 00:18:56 +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
2339b4dfdc
Replace PBD::Signals (2/2) 2024-10-18 20:41:08 +02:00
Paul Davis
9ad08fa9a5 add input,output,rec-enable buttosn to trigger strip
With clip recording starting to function, these things now matter on the cue page
2024-10-17 07:44:33 -06:00
Paul Davis
182a24751b get standalone MidiView to display notes
This also removes an unused TriggerBoxWidget from each regular
MixerStrip.
2024-10-17 07:44:29 -06:00
Robin Gareus
00f6468606
Consolidate Route context menus (Mixer, Editor, Cue Page)
Consistently hide elements that are not accessible on inactive
Routes; fix duplicate separators, and group items
2024-09-05 20:35:24 +02:00
Robin Gareus
9cc966120c
Consolidate internal bus checks (2/2) 2024-01-06 20:21:54 +01:00
Robin Gareus
c162aa7aca
Consistently use context-menu button action
This fixes an issue where brining up a menu can directly activate an
action in the menu. Notably on macOS.

Nathan reports that this may also address #9515

Note: mac touchpads are not affected since right-click there is
effectively a "press and hold".
2023-10-31 20:16:23 +01:00
Robin Gareus
e22415f0ce
Disambiguate In/Out for translations (1/2) #9512 2023-10-28 14:45:33 +02: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
Paul Davis
0c2176dd71 move default_triggers_per_box into a namespace ; change value for Ardour to 16 (GUI edition) 2022-10-04 19:55:15 -06:00
Robin Gareus
d1bf8428fc
Allow vertical scroll to change gain on the cue-page
This is consistent with inline controls (which also allows
vertical scrolling to change the gain).
2022-09-20 00:44:42 +02:00
Paul Davis
6dc1e1f778 trigger strips: name button was intended to be colored
Gtk::Widget::modify_bg() will do nothing to a cairo widget
2022-08-09 17:36:14 -06:00
Mads Kiilerich
d52c727ec5
gtkmm: use get_mapped instead of deprecated Gtk::Widget::is_mapped() 2022-04-08 20:20:10 +02:00
Robin Gareus
511ff3290f
Implement TriggerStrip selection
This also changes TriggerBox Selection to act on release
(like all other selection). Otherwise strip selection will
de-select the TriggerBox on mouse-release.
2022-02-03 05:50:07 +01:00
Robin Gareus
f33a0f58f9
Mark Trigger-strip processor-box insensitive when route is inactive 2022-01-27 01:28:50 +01:00
Paul Davis
2152e7ba3b triggerbox: change FollowActions into an object with a target list (GUI edition) 2022-01-19 15:50:55 -07:00
Robin Gareus
7a1f1eafb8
Add context menu to trigger-strip's name button 2022-01-01 15:43:52 +01:00
Ben Loftis
1dc756142c trigger_ui: disambiguate set_triggerbox() from set_trigger() 2021-12-30 21:25:39 -06:00
Robin Gareus
6e3ed7f822
Clean up trigger-page layout
* move strip name-button to the top
* only manage() Gtk Widgets, not Canvas Items
* use identical layout for Cue and Strip
2021-12-17 14:51:19 +01:00
Paul Davis
d933af6c81 attach triggerbox to triggerbox widget after construction 2021-12-16 15:15:14 -07:00
Ben Loftis
ce40f82cc4 triggerbox: add TriggerMaster widget to mixer strip 2021-12-16 10:40:16 -06:00
Robin Gareus
efed7343e0
NO-OP: clang-format, cleanup 2021-12-12 13:48:52 +01:00
Ben Loftis
fcab855fca Trigger Cues: continued work on triggers, cues and master widgets 2021-12-08 12:35:32 -06:00
Ben Loftis
c0ff182e5f triggerbox: add a master-stopper-widget (currently it stops whatever slot is playing) 2021-12-08 12:35:17 -06:00
Robin Gareus
3723b71620
TriggerStrip: replace gain-knob with slider 2021-12-03 02:25:52 +01:00
Robin Gareus
01c83ec122
TriggerStrip: add solo,mute,pan,gain controls and meter 2021-12-02 22:28:05 +01:00
Robin Gareus
59b012ddb0
Implement TriggerStrip and TriggerPage (WIP) 2021-12-01 23:10:08 +01:00