Commit graph

14292 commits

Author SHA1 Message Date
Robin Gareus
d0a4e1a35a Disallow empty names for Groups, automatically enumerate them 2014-08-17 20:01:42 -04:00
Paul Davis
0cef3d60cf move Opaque and Mute into region Gain submenus (both main menu bar and context menus) 2014-08-17 20:01:36 -04:00
Paul Davis
2ce0dd1152 protect use of iterators across routeUI selection when operations change the selection (e.g. deletion) 2014-08-17 20:01:29 -04:00
Paul Davis
7d5608d875 change default timeline item gradient depth and waveform gradient depth
Conflicts:
	gtk2_ardour/ardour3_ui_default.conf.in
2014-08-17 20:01:11 -04:00
Paul Davis
b03e0625b6 always take verbose cursor clock mode from primary clock (finally!) 2014-08-17 20:00:38 -04:00
Paul Davis
4196553c5d new default color for inactive group tab
Conflicts:
	gtk2_ardour/ardour3_ui_default.conf.in
2014-08-17 20:00:29 -04:00
Paul Davis
a647755bdc verbose cursor text is always outlined 2014-08-17 19:59:51 -04:00
Paul Davis
3ceb01b331 allow Canvas::Text to have outline drawn in a contrasting color (based on actual color) 2014-08-17 19:59:43 -04:00
Paul Davis
b4aba271f4 move contrasting_text_color() into ArdourCanvas 2014-08-17 19:59:38 -04:00
Paul Davis
46d565e7ed make verbose cursor respond dynamically to theme changes 2014-08-17 19:59:33 -04:00
Paul Davis
66ba9950be make inactive group tab color be themeable and update it dynamically
Conflicts:
	gtk2_ardour/ardour3_ui_default.conf.in
2014-08-17 19:59:17 -04:00
Paul Davis
88304ec448 remove canvas cursor debug output 2014-08-17 19:58:27 -04:00
Paul Davis
0b5b4dffc4 use Editor::effective_mouse_mode() inside Editor::button_selection(); clean up special-case of fade in/out handles and mouse mode 2014-08-17 19:58:21 -04:00
Paul Davis
74a5737b7c invisible items/containers should not add their children to "items-at-point" 2014-08-17 19:58:14 -04:00
Paul Davis
861a22db4c additional DEBUG_TRACE message for canvas current item selection 2014-08-17 19:58:05 -04:00
Robin Gareus
2d9956b8ec clean up after monitoring-section on session close 2014-08-17 19:57:59 -04:00
Robin Gareus
660165f6c4 fix issue with track-deletion when the monitoring section is used. 2014-08-17 19:57:54 -04:00
Robin Gareus
93f8f5db4b update ARD - allow to release it as standalone tool.
see https://github.com/x42/alsa_request_device
2014-08-17 19:57:49 -04:00
Robin Gareus
4bdcfd33a6 add a generic Option Editor Component for stateless widgets 2014-08-17 19:57:09 -04:00
Robin Gareus
210213c18e allow to load/save default session-properties 2014-08-17 19:57:03 -04:00
John Emmas
8c77efd3ff Change some declarations from 'struct' to 'class' (and vice-versa) 2014-08-17 19:56:56 -04:00
Robin Gareus
94632100a6 suspend route redisplay for (rec-en, solo, mute and monitor) batch changes
Conflicts:
	gtk2_ardour/ardour_ui.cc
	gtk2_ardour/route_ui.cc
2014-08-17 19:56:45 -04:00
Robin Gareus
67c1322f0d add RAII DisplaySuspender 2014-08-17 19:49:03 -04:00
Robin Gareus
8db5d93a35 use a hash-table to cache gui properties 2014-08-17 19:48:57 -04:00
Robin Gareus
3e4c9fcea2 use state Session::StateProtector 2014-08-17 19:48:51 -04:00
Robin Gareus
d010ef5d99 add Session::StateProtector
temp. disable save during batch updates, save once at
the end.
2014-08-17 19:48:45 -04:00
Robin Gareus
4bbe871805 consolidate session_dirs: use Searchpath instead of custom code 2014-08-17 19:48:36 -04:00
Robin Gareus
614651ad86 search-path: filter out duplicates
Note: this does not yet take care of filtering dups
when directly combining two search-paths.
2014-08-17 19:47:59 -04:00
John Emmas
917cc32f5f Use 'GStatBuf' in preference to 'struct stat' (which isn't necessarily the same thing) 2014-08-17 19:47:53 -04:00
John Emmas
b9c62e879a Add (newly introduced) sources to our MSVC projects 2014-08-17 19:47:47 -04:00
John Emmas
aa4fe5f5ee Remove (no longer needed) sources from our MSVC projects 2014-08-17 19:47:41 -04:00
Paul Davis
21c26c8688 replace old implementation of Editor::_ensure_time_axis_view_is_visible() with the guts of Editor::ensure_track_is_visible(), then remove the latter.
Also change all users of ensure_track_is_visible() to use _ensure_time_axis_view_is_visible()
2014-08-17 19:47:36 -04:00
Paul Davis
91fa5f7b2a add commentary on why PublicEditor::{_,}ensure_time_axis_view_is_visible() both exist 2014-08-17 19:47:28 -04:00
Paul Davis
66115ee7f7 slightly increase size of a Canvas::PolyItem, to avoid left-over pixels when dragging (as well as other general incorrectness 2014-08-17 19:47:16 -04:00
Paul Davis
4cf21bd462 if CANVAS_DEBUG is defined, then the env variable CANVAS_HARLEQUIN_DEBUGGING will turn on drawing the expose areas for canvas render debugging 2014-08-17 19:46:36 -04:00
Paul Davis
f22f5725d5 in Canvas::window_to_canvas(), if either x or y coordinate is less than zero, search for the scroll group on the relevant edge.
If we don't do this then we find no scroll group covering the event coordinate, and the translation for scroll fails to be applied
2014-08-17 19:46:30 -04:00
Paul Davis
1983bae513 fix edges of selection rects in time axis views to lie correctly within bounds of the time axis view 2014-08-17 19:46:24 -04:00
Paul Davis
29649b888d make time axis view item name text be insensitive to events
We don't really need to be able to click on this to do anything - dbl-click on the item brings up the edit menu etc.
2014-08-17 19:46:17 -04:00
Paul Davis
6c7cebe1e5 make verbose canvas cursor color be set in its constructor rather than explicitly 2014-08-17 19:46:02 -04:00
Paul Davis
50c5ba16b8 add ability to save current action sensitivities and restore them, and to disable all action sensitivity.
This is needed to be able to lock the application fully on OS X, where the global menu bar would still allow interaction
even when a modal dialog is displayed.

Conflicts:
	gtk2_ardour/editor.h
	gtk2_ardour/editor_ops.cc
	gtk2_ardour/verbose_cursor.cc
2014-08-17 19:45:04 -04:00
Paul Davis
12f081c358 use new TrackingText for verbose cursor
Conflicts:
	gtk2_ardour/editor_drag.cc
	gtk2_ardour/editor_mouse.cc
	gtk2_ardour/verbose_cursor.cc
	gtk2_ardour/verbose_cursor.h
2014-08-17 19:30:47 -04:00
Paul Davis
92b29e1ea1 new API for TrackingText and similar items 2014-08-17 19:28:47 -04:00
Paul Davis
6cea8f3c5b add tracking_text.cc to canvas wscript 2014-08-17 19:28:42 -04:00
Paul Davis
2f77f2bc69 removed no-longer-used Editor::track_canvas_motion()
Conflicts:
	gtk2_ardour/editor.h
2014-08-17 19:27:11 -04:00
Paul Davis
e99734f07a remove unused i2w code from ControlPoint 2014-08-17 18:54:35 -04:00
Paul Davis
f9f0bfe6ed new TrackingText canvas item, to resolve conceptual issues with the Editor::VerboseCursor 2014-08-17 18:53:52 -04:00
Robin Gareus
8fcccdbeab prepare UI style for track-number boxes 2014-08-17 18:52:56 -04:00
Robin Gareus
e20580ff76 prepare formatting track-number for mixer (and other places) 2014-08-17 18:52:49 -04:00
Robin Gareus
794769a70b session option GUI for track-number & take-name 2014-08-17 18:52:44 -04:00
Robin Gareus
b7ff8a1fe8 bump take-name after every recording 2014-08-17 18:52:38 -04:00