Commit Graph

25 Commits

Author SHA1 Message Date
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
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
Robin Gareus 12c4a88db6
Prevent stuck VCA button
This is for Mixbus, which always shows the VCA button regardless
of VCAs being present in the session.
2020-03-11 15:13:18 +01:00
Ben Loftis 30553a2675 Apply some missing widget names 2020-01-12 18:13:47 -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 61623f730c
More slaved_to() replacements, fix typo 2019-02-27 16:49:29 +01:00
Robin Gareus 593fa3c0c4
Consolidate code, use dedicated API 2019-02-27 16:46:16 +01:00
Robin Gareus aea350c958 Don't offer possible recursive VCA assignments in the GUI 2017-10-20 02:54:28 +02:00
Robin Gareus 5c92613698 Separate Ardour UI widgets into dedicated library 2017-07-17 21:06:04 +02:00
Robin Gareus d55cb9ba94 Update GUI to follow Slavable API change 2017-06-22 22:04:10 +02:00
Robin Gareus 1398dd8914 Fix nested VCA assigns and mixer-layout:
Show initial VCA assign button on all mixer-strips and VCAs if
there's no assignment.
2017-04-27 00:11:18 +02:00
Tim Mayberry c149d7d64c Use PBD::to_string() from pbd/string_convert.h in ControlSlaveUI
The numeric formatting is equivalent.
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 e5d48a8544 Plugin another menu memory leak. 2017-03-16 02:36:48 +01:00
Robin Gareus 5f5bdca15b Consistent VCA naming (Ardour/Mixbus) 2017-02-20 16:50:42 +01:00
Paul Davis 8876955762 use "VCA" rather than "Control Master" in the GUI 2017-02-20 15:40:24 +01:00
Paul Davis edd1061c3d save/restore VCA master state inside slaves, so that a reloaded session ends up back in the same state 2017-02-06 16:49:08 +01:00
Robin Gareus 0053abbaae backport/minimize difference to mixbus branch 2016-12-21 12:14:44 +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 04caff02a1 fix crash when removing a track in the presence of VCAs 2016-06-12 13:07:24 -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 e6db49f9e2 new files 2016-06-09 13:12:09 -04:00