Commit graph

88 commits

Author SHA1 Message Date
Robin Gareus
c56635e71c Group-Tabs keyboard shortcuts
* The return of the ctrl+right-click (edit)
* and consistent shift+right click (remove)
2017-02-21 00:11:38 +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
Paul Davis
415c841645 more consisten code to set menu item name from VCA name 2017-01-28 13:04:32 +01:00
Ed Ward
c0c13d7c45 Patch to bug 0007204 : Some options in the Group List context menu are not working 2017-01-28 13:04:32 +01:00
Paul Davis
e5aa0d774e use RAII for class-wide PresentationInfo::Change signal, along with properties to describe what changed 2017-01-27 22:17:53 +01:00
Robin Gareus
96cb9ba626 Fix un/setting group colors 2016-12-01 15:51:00 +01:00
Paul Davis
6a4fb58384 fix thinko that causes near duplicate menu items in group context menu when not in group tabs 2016-08-08 23:36:33 +02: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
2afaa51717 remove pointless version of Stripable::set_presentation_order() 2016-07-12 09:20:50 -04:00
Paul Davis
0852d05643 remove RouteGroupDialog::do_run() and replace its use with code that doesn't rely on a recursive run loop 2016-06-12 14:54:01 -04:00
Paul Davis
2c44225df2 make RouteGroupDialog non-modal.
Not really how/why it was modal, but it did run a recursive main event loop, and these are
always a bad idea for lots of reasons. So I removed that feature, which makes it non-modal.
Not 100% tested yet.
2016-06-11 15:49:38 -04:00
Paul Davis
2d4358ddb5 Various changes to PresentationInfo and a small consolidation of sorters.
The semantics for sorting PresentationInfo are up to the caller, not the
PresentationInfo object, so operator<() was removed and callers specifically
invoke ::order() for sorting.
2016-06-10 13:57:18 -04:00
Paul Davis
3e12d4b4a6 use PresentationInfo color to set route colors. GUI appears to respond as expected 2016-06-05 17:16:20 -04:00
Paul Davis
b685b6e175 use modified PresentationInfo/Stripable API 2016-06-05 16:33:01 -04:00
Paul Davis
260058a4a9 move from PresentationInfo::global_order() to PresentationInfo::order, and fix up part of reordering behaviour
Dragging tracks/busses in the editor *below* VCAs still does not work
2016-06-03 15:15:39 -04:00
Paul Davis
4aea553467 not quite as many magic numbers when deciding if a group color is too close to black 2016-05-31 15:30:44 -04:00
Paul Davis
f8f7894ad9 make create group with master actually create (and name) master 2016-05-31 15:30:44 -04:00
Paul Davis
b81fec9d58 rearrange group tabs menu 2016-05-31 15:30:43 -04:00
Paul Davis
c6ad232796 more work on presenting GUI actions to connect Route groups and control masters 2016-05-31 15:30:43 -04:00
Paul Davis
c1592864e1 a start at the group/master menu related structure 2016-05-31 15:30:43 -04:00
Paul Davis
e0ff70cf86 first vaguely working version using PresentationInfo
remote control ID and "order keys" have been removed.
2016-05-31 15:30:42 -04:00
Paul Davis
653ae4acd6 universal change in the design of the way Route/Track controls are designed and used. The controls now own their own state, rather than proxy for state in their owners.
Massive changes all over the code to accomodate this. Many things are not finished. Consider this a backup safety commit
2016-05-31 15:30:40 -04:00
Robin Gareus
637f4cc817 fix "Collect Groups" -- closes #6794 2016-02-26 17:25:21 +01:00
Robin Gareus
d308fceb21 update signal connetion for new CairoWidget::set_dirty() API 2016-02-12 22:58:33 +01:00
Robin Gareus
22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
Todd Naugle
cb0b22cb79 Hide create new item from Group Tab context menu
Creating a new empty group from the group tab area just looks broken since
nothing visible happens, so hide this item when the context menu is
triggered from this location.
2015-09-21 16:50:45 -05:00
Todd Naugle
203a72f883 Create new Groups with a consistent set of default properties.
This is part of a larger fix for #6450. Previously new route groups were
created with different default properties depending on which code created
the new group. The group tab method had all properties set and that is now
going to be the default for all other methods (mixer strip button, etc).
2015-09-21 14:52:25 -05:00
Tim Mayberry
553c3ef557 Remove ui_config.h inclusion from ardour_ui.h 2015-09-16 16:55:17 -04:00
Tim Mayberry
6b019a4953 Move UIConfiguration Singleton into UIConfiguration header
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-16 16:55:17 -04:00
Tim Mayberry
fc1e7dbb55 Move DPIReset and ColorsChanged signals into UIConfiguration 2015-09-16 16:55:17 -04:00
Ben Loftis
f214488d0f Groups created from the (edit,mix) windows should share the same default properties.
In the past, we chose different defaults in homage to ardour's old mix/edit groups.
But that wasn't a very good idea.
For now they have all properties enabled and the user can disable them as-needed.
It might also be nice to make the user's property selections perist for new groups.
2015-03-10 15:58:01 -05:00
Paul Davis
a0e399f7dd make inactive group tab color be themeable and update it dynamically 2014-06-30 10:14:06 -04:00
Robin Gareus
a3c378cf62 move utility functions into a dedicated namespace 2014-06-25 21:47:54 +02:00
Paul Davis
ce08ec0de0 substantial changes in color management, involving a reduction in the use of Gdk::Color and more consistent logic for region coloring.
Group tabs now also get the text drawn in an appropriately contrast-y color
2014-06-09 23:29:00 -04:00
Robin Gareus
ab44e41dfd change the meters into CairoWidget, add expose_area to CairoWidget::render() 2014-03-20 23:50:40 +01:00
nick_m
5b62e88fbf Unify editor / mixer ordering. 2013-10-21 00:19:43 +11:00
Robin Gareus
bf0f4fe077 work around sparse motion notification events when tooltips are disabled
fixes http://tracker.ardour.org/view.php?id=5174
2013-07-17 02:35:02 +02:00
Paul Davis
52167705ef expose operation to remove subgroup
git-svn-id: svn://localhost/ardour2/branches/3.0@13762 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-03 19:34:07 +00:00
Paul Davis
97d920593f drastic rethink of the relationship between remote control ID and route order keys. unless the user explicitly switches to UserOrdered, Route::_remote_control_id is an unallocated pointer, and Route::remote_control_id() simply returns a value based on the relevant order_key() value. Also, change the key used in the Route::order_keys std::map<> from a string to an enum, since there is no evidence that we are benefitting from the theoretical benefit of using a string. Generally tidy up allocation of order keys so that the master and monitor busses always get a "special" MixerSort key value, based on the MMC ID for master (already defined within Ardour), and all other tracks/busses start at zero. Syncing keys between editor and mixer will leave the MixerSort key for the master and monitor bus alone, reflecting the fact that we display these in their own distinct parts of the GUI and they are not orderable like other tracks or busses within the mixer window
git-svn-id: svn://localhost/ardour2/branches/3.0@12923 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-25 12:46:13 +00:00
David Robillard
27a1cf2cf7 Compile cleanly with clang.
To compile Ardour with LLVM/clang, do the usual thing but set the CXX and CC
environment variables, e.g.:

CC=/usr/bin/clang CXX=/usr/bin/clang++ ./waf configure build


git-svn-id: svn://localhost/ardour2/branches/3.0@12418 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 02:54:10 +00:00
Paul Davis
4235e9a1a2 a variety of mostly unused parameter errors from OS X Lion's compiler
git-svn-id: svn://localhost/ardour2/branches/3.0@12148 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-02 20:29:46 +00:00
Paul Davis
3b1a065584 group tabs background/base color taken from the theme base. in the dark theme, its not quite so black and matches other base color areas
git-svn-id: svn://localhost/ardour2/branches/3.0@11723 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-17 17:14:15 +00:00
Paul Davis
46b52f4b51 tweak menu item names in group context menu to make purpose more clear to new users and those with limited memories
git-svn-id: svn://localhost/ardour2/branches/3.0@10930 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 12:28:23 +00:00
Paul Davis
5468eb5788 clarify meaning of route group tab context menu items
git-svn-id: svn://localhost/ardour2/branches/3.0@10929 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 03:28:19 +00:00
Paul Davis
78db8a9445 notify when route group/group tab color changes
git-svn-id: svn://localhost/ardour2/branches/3.0@10912 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-06 21:40:11 +00:00
Carl Hetherington
6de0f8a8a8 Sort session routes before trying to do the group tabs
collection; should fix #4500.


git-svn-id: svn://localhost/ardour2/branches/3.0@10749 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21 22:38:44 +00:00
Paul Davis
8ad4133d26 don't cache width & height for CairoWidget; provide option for all CairoWidgets to not draw their backgrounds; provide a static method to allow any (Container, probably) widget to provide background color to a CairoWidget without the requirement that it have its own window; remove existing cursor from clocks; clock text no longer has background attribute set, to correct a mistake in my understanding of pango attributes
git-svn-id: svn://localhost/ardour2/branches/3.0@10673 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-18 15:35:58 +00:00
Carl Hetherington
e1905ccbf6 Open route group dialogue on Ctrl-right-click rather than Ctrl-left-click on a group tab to be more consistent with the rest of Ardour (#4466).
git-svn-id: svn://localhost/ardour2/branches/3.0@10638 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16 00:38:12 +00:00
Carl Hetherington
eff5781ee1 Set group tabs dirty when their membership changes.
Should fix #4441.


git-svn-id: svn://localhost/ardour2/branches/3.0@10428 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-03 17:18:51 +00:00