Commit Graph

84 Commits

Author SHA1 Message Date
itmuckel 63f94d2946 Remove unused includes 2022-08-19 09:27:19 -06:00
Paul Davis 9ea1e5bdee move color utility functions from ARDOUR_UI_UTILS to Gtkmm2ext namespace (GUI) 2022-08-10 21:11:52 -06:00
Mads Kiilerich f9b3ed0523
gtkmm: use get_color_selection() instead of deprecated Gtk::ColorSelectionDialog::get_colorsel() 2022-04-08 21:11:06 +02:00
Robin Gareus 0cf0de8c97
Remove indirection when showing/hiding TAV 2022-01-25 06:27:22 +01:00
Robin Gareus 09d9938ecd
Remove duplicate symbol ColumnInfo from global namespace #8637 2021-03-28 04:31:11 +02:00
Robin Gareus 8710a2d943
Dialog default to cancel (#7915)
There are various ways to cancel a dialog. Only checking for
RESPONSE_CANCEL is not sufficient. e.g. Esc causes a delete-event.

 * Gtk::RESPONSE_CLOSE
 * Gtk::RESPONSE_REJECT
 * Gtk::RESPONSE_DELETE_EVENT
 * Gtk::RESPONSE_CANCEL
 * Gtk::RESPONSE_NO

Among others this fixes "Clicking session > open,
then hitting ESC opens the currently selected folder and session"
2020-02-27 23:27:42 +01: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 1f5ebc5485 Remove ArdourPrompter wrapper 2017-07-17 21:06:04 +02:00
Robin Gareus eb1e423b75 Remove <gtkmm.h> include from header files. 2017-07-17 21:06:04 +02:00
Robin Gareus 5c92613698 Separate Ardour UI widgets into dedicated library 2017-07-17 21:06:04 +02:00
Thomas Brand 63ea7b6516 NO-OP whitespace (updated GH PR #357) 2017-07-01 19:28:26 +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 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 20d85384c1 there is no remote model choice anymore - ordering is determined by the GUI 2016-06-06 12:04:49 -04:00
Paul Davis 2161c5d507 use new RouteGroup property names 2016-06-05 16:33:01 -04:00
Paul Davis c1592864e1 a start at the group/master menu related structure 2016-05-31 15:30:43 -04:00
Len Ovens ef7c6730cb Groups: Fix un/set hidden/show should reset RID for tracks involved. 2016-01-17 14:17:02 -08:00
Robin Gareus 22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
Paul Davis 4dc63966f0 globally remove all trailing whitespace from ardour code base.
Paul Davis was responsible for introducing almost all of this.
2015-10-04 14:51:05 -04:00
Tim Mayberry 1d42ed077e Use ARDOUR_UI_UTILS::set_tooltip rather than via ARDOUR_UI::set_tip
This removes the direct dependence on ARDOUR_UI/Gtk_UI for setting
tooltips. Removes inclusion of ardour_ui.h from 16 files.
2015-09-16 16:55:17 -04:00
Robin Gareus 78f4c6a6dd amend prev commit (SLA) 2015-04-05 00:52:29 +02:00
Robin Gareus 0c468dc379 add more contexts for SLA. 2015-04-05 00:44:03 +02:00
Paul Davis 9ac551abab another metric ton of color work 2014-12-08 22:02:38 -05:00
Robin Gareus ad739cd018 add some assert() messages.
as hints clang static analyzer "Called C++ object pointer is null"
2014-11-17 03:49:19 +01:00
Robin Gareus 6b3d3e2f91 fix race-condition/segfault at exit:
suppress route-group-reorder signal when
session is being destroyed.
2014-09-11 03:04:11 +02:00
Paul Davis 60597e750d remove unused variable 2014-07-10 08:13:54 -04:00
Ben Loftis 64404a16c1 remove all_group_active_button. if you want to operate on all tracks, choose select-all-tracks ( ctrl+t in the mnemonic bindings ). this is more explicit and allows safer use of the deselected-region-under-mouse operations 2014-07-07 08:46:25 -05: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
Paul Davis 54ce76e8fd remove "edit" property from track/bus groups; use "select" property which should force region selection to propagate, and then rely on "edit-applies-to-selection"
git-svn-id: svn://localhost/ardour2/branches/3.0@13734 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-26 17:50:29 +00:00
Paul Davis 8d5065bc32 remove, convert, comment several cerr statements
git-svn-id: svn://localhost/ardour2/branches/3.0@12378 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-22 12:57:05 +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 ec1ef5d6b5 remove the apparently unnecessary "ui_bind()" macro from entire source base
git-svn-id: svn://localhost/ardour2/branches/3.0@12088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-25 12:58:19 +00:00
Carl Hetherington f430d24aab Fix typo.
git-svn-id: svn://localhost/ardour2/branches/3.0@11389 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-30 18:38:18 +00:00
Paul Davis c19121459b stupid hack to fix issues with OS X Carbon headers
git-svn-id: svn://localhost/ardour2/branches/3.0@11107 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-29 16:44:49 +00:00
Paul Davis 1244cae5c1 fix reference to name cell
git-svn-id: svn://localhost/ardour2/branches/3.0@10953 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-09 19:56:01 +00:00
Paul Davis c2956012ff add "enabled" column to editor route groups list and check logic
git-svn-id: svn://localhost/ardour2/branches/3.0@10928 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 03:22:35 +00:00
Paul Davis 14b64b0710 rationalize MVC and functionality in editor route group list
git-svn-id: svn://localhost/ardour2/branches/3.0@10923 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 02:04:36 +00:00
Paul Davis 790d9042c6 correct button press detection order for editor route groups
git-svn-id: svn://localhost/ardour2/branches/3.0@10919 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-06 23:23:09 +00:00
Paul Davis a8942f9b67 move color column for editor groups up front
git-svn-id: svn://localhost/ardour2/branches/3.0@10918 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-06 22:02:46 +00:00
Paul Davis 31e203ac07 remove debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@10917 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-06 21:59:32 +00:00
Paul Davis 0bed168827 add color column to editor route groups list
git-svn-id: svn://localhost/ardour2/branches/3.0@10914 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-06 21:43:57 +00:00
Paul Davis 946dc070f8 add monitoring column to route group list; make click in blank area of route list and route group list cancel selection and/or name editing
git-svn-id: svn://localhost/ardour2/branches/3.0@10911 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-06 16:46:50 +00:00
Paul Davis 23002098b2 tooltips for route group list
git-svn-id: svn://localhost/ardour2/branches/3.0@10910 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-06 16:03:10 +00:00
Carl Hetherington 3f6ec53ba3 Tidy up style of a few toggle buttons (#4319).
git-svn-id: svn://localhost/ardour2/branches/3.0@10097 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-19 21:14:59 +00:00
Carl Hetherington 84e10e93d1 Re-order route group editor list columns to match up with the order in the route group dialogue, and add a couple of missing checkbuttons to the editor group list.
git-svn-id: svn://localhost/ardour2/branches/3.0@9857 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-12 23:41:19 +00:00
David Robillard 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 480986bb60 Save route group reorderings in the session file. Link changes in the mixer and editor group lists (part of #3918).
git-svn-id: svn://localhost/ardour2/branches/3.0@9377 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19 15:46:47 +00:00
Carl Hetherington 72f85f6cec Fix show checkbuttons for mixer groups on startup (#3919). Also synchronise visible status between editor and mixer.
git-svn-id: svn://localhost/ardour2/branches/3.0@9297 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06 00:36:36 +00:00
Carl Hetherington df37327b27 Make route group editor list reorderable (part of #3918).
git-svn-id: svn://localhost/ardour2/branches/3.0@9250 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-31 23:56:38 +00:00