Commit Graph

92 Commits

Author SHA1 Message Date
jean-emmanuel d79a852207
no-op: clean 2024-02-15 14:58:57 +01:00
jean-emmanuel ba279e2e67
ui: mixer: the formely broken rename dialog on vertical button's double click may actually become an unexpected annoyance, better disable it 2024-02-15 14:58:52 +01:00
jean-emmanuel 33a9664748
ui: mixer: vca: consistent interaction with number_label button (context menu on press instead of release, add missing color edit on double click) 2024-02-15 14:56:21 +01:00
jean-emmanuel 2f29483ac2
ui: mixer: vca: bring vertical button context menu on button press instead of release (like everywhere else), this also fixe renaming on double click 2024-02-15 14:56:21 +01:00
jean-emmanuel 097bdc13f9
ui: mixer: fix vca buttons not visually releasing (inner stroke not cleared upon mouse release) 2024-02-15 14:56:21 +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
Ben Loftis 9cb6c67f7b when coloring tracks: prefer the first strip-palette color, not a bg color 2023-05-15 15:34:43 -05:00
Robin Gareus c228d05c47
Clarify round-robin color palette API name 2023-04-18 02:18:02 +02:00
Robin Gareus 9e35a9da66
Add option to use a neutral color for new routes 2023-04-18 01:07:54 +02:00
Robin Gareus c362a5af8f
Allow compilation with MSVC and sigc++ 2.3 (revert this at some point)
libsigc++ before 2.5.1 could not determine the return type
of a value unless SIGC_FUNCTORS_DEDUCE_RESULT_TYPE_WITH_DECLTYPE
was specified.
2023-03-31 18:12:10 +02:00
Robin Gareus c11f62fd51
Fix VCA button event propagation
This prevents double-click on the VCA spill button from
to showing the add route dialog.
2023-03-30 19:04:36 +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
Ben Loftis e74a412bcb rename some operations slaves -> assigned channels 2022-11-01 13:52:54 -05:00
Paul Davis 9ea1e5bdee move color utility functions from ARDOUR_UI_UTILS to Gtkmm2ext namespace (GUI) 2022-08-10 21:11:52 -06:00
Ben Loftis 4f9a91cab8 Prompt user when deleting a VCA (amends 01c6f5)
Editor::remove_tracks expected the VCA to be selected, but right-click does not force selection in a VCA strip.
2020-02-18 20:41:23 -06:00
Ben Loftis 01c6f55867 Prompt user before removing a VCA in the mixer window. 2020-02-18 20:14:00 -06:00
Robin Gareus 1d557ba69f
Use new icons in mixer window 2019-09-12 23:36:25 +02: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 94d3da7e09
GUI updates to handle monitor-section changes
This fixes various MS related action sensitivity issues, as well
as action-states.

Also manually adding a monitor-section to a session now always
immediately shows it, regardless of prior ToggleMonitorSection
visibility.
2019-03-01 16:51:08 +01:00
Ben Loftis 9ac15801d3 Remove unused widget. 2018-02-19 07:38:48 -06:00
Paul Davis ea5fa64c0b manually fix up various cases where Gtk:Frame foo_frame had been changed to foo_sample 2017-09-18 14:59:11 -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 0ae9cda51d Allow to select VCAs 2017-08-06 22:17:42 +02:00
Robin Gareus 83e45911e3 VCA master-strip: drop gain-control reference 2017-07-30 04:51:25 +02:00
Robin Gareus c242cbc318 Add automation button to VCA strip 2017-07-21 02:10:29 +02:00
Robin Gareus 5c92613698 Separate Ardour UI widgets into dedicated library 2017-07-17 21:06:04 +02:00
Robin Gareus c1eee02e1b Make VCA mute+solo buttons bindable 2017-07-03 19:55:17 +02:00
Robin Gareus f9f9006a90 Consistent button visibility (mixer-strips + VCAs) 2017-04-27 00:25:57 +02:00
Tim Mayberry b05ce6fb34 Use PBD::to_string from pbd/string_convert.h in VCAMasterStrip class 2017-04-19 09:37:01 +10:00
Robin Gareus 962e7a214a Revert "consistent use of context-menu popups"
This reverts commit b3722f7063.

In some cases ardour shows context-menu on right-mouse-button
release. In this case selecting a menu-entry should happen
with the left-mouse button (or any button?!)

Using ev->button is only correct if the menu is temporary and only
visible while the button is held, button release then activates the
menu-item.

This needs further work, in some cases allowing any button (0) to work
makes sense and overall consistency needs to be improved.
Different places use different strategies for context-menus which
don't always match the button used in the event-handler.

This is a hotfix (to make TAV context menus work again with left-click)
2017-03-24 14:48:46 +01:00
Robin Gareus b3722f7063 consistent use of context-menu popups 2017-03-16 02:36:48 +01:00
Robin Gareus 05dfc1fdc1 Update color stripable color-picker(s)
* consistent behavior (Route, VCA)
* non-modal
* a single color picker for each RouteUI/VCA at most
* fix bug: VCA picker staying around even when VCA was deleted
2017-03-11 00:33:43 +01:00
Ben Loftis b759bae0cd Right-click on a VCA to assign it to the selected channels. 2017-02-02 11:02:10 -06:00
Paul Davis c786328966 use VCA full name in strips and track headers 2017-01-28 16:06:44 +01:00
Robin Gareus a9f0e218f5 Prepare generic spill ([mix]busses) 2017-01-16 22:30:26 +01:00
Robin Gareus 1de2afa6c3 VCA number-label: match track/bus header behavior 2017-01-05 17:13:33 +01:00
Robin Gareus eae6593a7e fix VCA vertical alignment 2017-01-02 17:41:15 +01:00
Robin Gareus 74f1140e46 show VCA color on number label 2016-12-22 02:00:55 +01:00
Robin Gareus 45eff0fa9f Properly calculate VCA bottom padding & align fader 2016-12-21 03:53:45 +01:00
Paul Davis cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
Paul Davis 0784660d91 set a theme color for VCA axes in the editor 2016-07-13 13:09:57 -04:00
Paul Davis 28bb82cee7 remove VCA drop button 2016-07-12 17:05:07 -04:00
Paul Davis da7d7f9502 many changes associated with rationalizing selection flow 2016-07-06 13:39:10 -04:00
Paul Davis be42151c0d work "hide" button on VCA strip 2016-06-09 16:58:49 -04:00
Paul Davis 4d28df97fa noop: clarifying comment about a magic number 2016-06-09 16:30:21 -04:00
Paul Davis 2ee3fefc41 use codified heuristic for "is-color-set?" 2016-06-09 16:24:41 -04:00
Paul Davis a74c850b5b mixer-gui visibility management for VCAs 2016-06-09 16:03:14 -04:00
Paul Davis 212afd402c color management and handling for VCAs 2016-06-09 16:03:14 -04:00
Paul Davis 3670f1adac use ControlSlaveUI in VCAMasterStrip 2016-06-09 13:12:09 -04:00
Paul Davis 4a863cb1d6 change format of state_id() return value for VCAMasteStrip to follow other objects' conventions 2016-06-08 11:03:13 -04:00