13
0
Commit Graph

68 Commits

Author SHA1 Message Date
c1592864e1 a start at the group/master menu related structure 2016-05-31 15:30:43 -04:00
e0ff70cf86 first vaguely working version using PresentationInfo
remote control ID and "order keys" have been removed.
2016-05-31 15:30:42 -04:00
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
637f4cc817 fix "Collect Groups" -- closes #6794 2016-02-26 17:25:21 +01:00
d308fceb21 update signal connetion for new CairoWidget::set_dirty() API 2016-02-12 22:58:33 +01:00
22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
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
553c3ef557 Remove ui_config.h inclusion from ardour_ui.h 2015-09-16 16:55:17 -04:00
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
fc1e7dbb55 Move DPIReset and ColorsChanged signals into UIConfiguration 2015-09-16 16:55:17 -04:00
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
a0e399f7dd make inactive group tab color be themeable and update it dynamically 2014-06-30 10:14:06 -04:00
a3c378cf62 move utility functions into a dedicated namespace 2014-06-25 21:47:54 +02:00
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
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
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
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
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
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
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
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
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
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
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
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
0938a42440 fixes for 98% of all the warnings/errors reported by OS X gcc on tiger
git-svn-id: svn://localhost/ardour2/branches/3.0@10179 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-30 17:55:14 +00:00
Carl Hetherington
10e1807fba Disallow black as a route group colour; force a dark
grey instead (part of #4064).


git-svn-id: svn://localhost/ardour2/branches/3.0@10061 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-07 11:56:29 +00:00
Carl Hetherington
932b0e9ec1 Update route colours when they are added to / removed
from groups which share colour (more of #4064).


git-svn-id: svn://localhost/ardour2/branches/3.0@10060 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-07 11:56:23 +00:00
Carl Hetherington
e3692bf3da Another try at fixing #4301.
git-svn-id: svn://localhost/ardour2/branches/3.0@10045 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-31 20:46:16 +00:00
Carl Hetherington
9f1b50cc3e Fix thinko with dragging one of >1 tabs in the same
route group (#4301).


git-svn-id: svn://localhost/ardour2/branches/3.0@10044 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-31 19:26:25 +00:00
Carl Hetherington
881b5a43e7 Allow route groups to color their tracks (remainder of
#4064).


git-svn-id: svn://localhost/ardour2/branches/3.0@10043 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-31 19:14:12 +00:00
Carl Hetherington
7d32cf3813 Give route groups their own colour, settable from the route
group dialogue.  Americanise spelling of color in a few
places to avoid confusion.  Fixes #4224.  Addresses parts
of #2650 and #4064.


git-svn-id: svn://localhost/ardour2/branches/3.0@10030 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-30 09:48:53 +00:00
Carl Hetherington
82f8214277 Group tab fix from David Halter (#4268).
git-svn-id: svn://localhost/ardour2/branches/3.0@9995 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-15 14:08:01 +00:00
ed626628b5 Delete trailing whitespace
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01 17:00:29 +00:00
Carl Hetherington
af0030a6de Make Route Group dialog instant-apply. Disallow identically-named route group; fixes #3689.
git-svn-id: svn://localhost/ardour2/branches/3.0@8481 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-08 02:35:46 +00:00
Carl Hetherington
6df29331f7 Rename menu items on advice from Chris G.
git-svn-id: svn://localhost/ardour2/branches/3.0@8430 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-04 03:36:44 +00:00
Carl Hetherington
6933d6f945 Allow choice of direct or aux busses when subgrouping route groups. Fixes #3658.
git-svn-id: svn://localhost/ardour2/branches/3.0@8428 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-04 02:36:29 +00:00
Sakari Bergen
80c61db0cd Fix compiler warnings
git-svn-id: svn://localhost/ardour2/branches/3.0@8246 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-11 15:09:47 +00:00
Carl Hetherington
7b29752441 Rename various things in the property system.
git-svn-id: svn://localhost/ardour2/branches/3.0@7681 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-25 17:31:33 +00:00
Carl Hetherington
b374fb0202 Be sure to update group tabs when a route group is removed. Fixes #3408.
git-svn-id: svn://localhost/ardour2/branches/3.0@7671 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-23 18:30:52 +00:00
Carl Hetherington
e2b5f355fb Various route group menu tweaks.
git-svn-id: svn://localhost/ardour2/branches/3.0@7446 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-19 23:26:40 +00:00
Carl Hetherington
536384ea4e Tweak group tabs class hierarchy and offer the same menu in both editor and mixer. Fixes #3336.
git-svn-id: svn://localhost/ardour2/branches/3.0@7441 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-19 21:47:07 +00:00
14b0ca31bc handle deletion of UI objects between the time that a callback is queued with the UI event loop and the execution of the callback (intrusive, big)
git-svn-id: svn://localhost/ardour2/branches/3.0@6807 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-30 15:18:43 +00:00
f450df300c fully implement and deploy explicit x-thread signal connection syntax (testing comes next)
git-svn-id: svn://localhost/ardour2/branches/3.0@6379 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-21 18:23:07 +00:00
aae367b63c use new syntax for connecting to backend signals that enforces explicit connection scope, plus a few other related matters
git-svn-id: svn://localhost/ardour2/branches/3.0@6376 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-19 20:26:31 +00:00