13
0
Commit Graph

7001 Commits

Author SHA1 Message Date
4244ea6546 left-align all pref/option labels for consistency. 2014-07-01 14:52:35 +02:00
b47c20783d (hopefully) fix smart-mode breakage of xfade operations
We needed to set the selected regionview from a click when clicking on xfade items, but I also removed duplicate logic for some similar items
2014-06-30 19:18:34 -04:00
dff73d34d9 move draggable playhead to editor tab of preferences 2014-06-30 19:18:34 -04:00
d790881a84 remove cruft 2014-06-30 22:58:09 +02:00
e8fc8aa992 new UI config var to allow playhead to be optionally draggable (default is: yes, it can be dragged) 2014-06-30 16:32:38 -04:00
7b8fd17719 make canvas drop sensitive to scroll events 2014-06-30 14:47:57 -04:00
89f673a7a7 context click over a trim handle is semantically equivalent to a context click on the xfade 2014-06-30 13:58:46 -04:00
5165bf241d new region base color 2014-06-30 13:58:46 -04:00
416abf7f1c ensure that Editor::entered_track is reset during session deletion to avoid a crash when we explicitly unset it elsewhere 2014-06-30 13:58:46 -04:00
156f01cda6 fix bae86a2d - retain default values
set element values before calling update()
2014-06-30 19:01:28 +02:00
bae86a2d90 Disallow empty names for Groups, automatically enumerate them 2014-06-30 18:33:05 +02:00
26ba90815b move Opaque and Mute into region Gain submenus (both main menu bar and context menus) 2014-06-30 11:16:18 -04:00
1f695014b4 protect use of iterators across routeUI selection when operations change the selection (e.g. deletion) 2014-06-30 11:02:23 -04:00
890ea91920 change default timeline item gradient depth and waveform gradient depth 2014-06-30 10:57:59 -04:00
8b7a7a1943 always take verbose cursor clock mode from primary clock (finally!) 2014-06-30 10:47:49 -04:00
87208333ef new default color for inactive group tab 2014-06-30 10:43:29 -04:00
471570705d move contrasting_text_color() into ArdourCanvas 2014-06-30 10:38:45 -04:00
4c1f4011fd make verbose cursor respond dynamically to theme changes 2014-06-30 10:38:03 -04:00
a0e399f7dd make inactive group tab color be themeable and update it dynamically 2014-06-30 10:14:06 -04:00
4df566782c remove canvas cursor debug output 2014-06-30 09:20:26 -04:00
a9b3361081 use Editor::effective_mouse_mode() inside Editor::button_selection(); clean up special-case of fade in/out handles and mouse mode 2014-06-30 09:17:03 -04:00
cbdeaefa1c re-arrange tabs in Session > Properties dialog (Misc is last) 2014-06-29 16:11:46 +02:00
367b64c141 add 'save defaults' option to properties dialog 2014-06-29 16:11:46 +02:00
37a656b7b8 add a generic Option Editor Component for stateless widgets 2014-06-29 16:11:46 +02:00
c52cb37bf2 suspend route redisplay for (rec-en, solo, mute and monitor) batch changes 2014-06-29 02:52:56 +02:00
77216ac468 add RAII DisplaySuspender 2014-06-28 23:22:15 +02:00
fd7cddb847 use a hash-table to cache gui properties 2014-06-28 22:02:20 +02:00
4a7eb62bf8 use state Session::StateProtector 2014-06-28 22:02:20 +02:00
611e762e3c fix meterbridge: load button image only once. 2014-06-28 22:02:20 +02:00
c706b1c4bb 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-06-27 10:49:05 -04:00
242181dc10 add commentary on why PublicEditor::{_,}ensure_time_axis_view_is_visible() both exist 2014-06-27 10:48:04 -04:00
19ff353665 fix edges of selection rects in time axis views to lie correctly within bounds of the time axis view 2014-06-27 10:18:11 -04:00
6b835af842 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-06-27 09:37:57 -04:00
0a9595f74f make verbose canvas cursor color be set in its constructor rather than explicitly 2014-06-27 09:37:57 -04:00
353f857d6e fix meterbridge height issues when config changes 2014-06-26 21:20:04 +02:00
4e689d9496 use new TrackingText for verbose cursor 2014-06-26 15:10:24 -04:00
be37432bef removed no-longer-used Editor::track_canvas_motion() 2014-06-26 15:10:24 -04:00
7d2f8b5686 remove unused i2w code from ControlPoint 2014-06-26 15:10:24 -04:00
e06de8b855 remove duplicate entries 2014-06-26 15:10:24 -04:00
5382d21300 vertically expand recent-session list 2014-06-26 20:54:01 +02:00
e1d327c5ed fix meter-strip session/route-ui events 2014-06-26 19:21:16 +02:00
a7c559fd63 show track-number in GUI 2014-06-26 19:21:05 +02:00
17b25e7572 prepare UI style for track-number boxes 2014-06-26 19:19:36 +02:00
09479ad19a prepare formatting track-number for mixer (and other places) 2014-06-26 19:19:29 +02:00
d100c0550f session option GUI for track-number & take-name 2014-06-26 19:19:18 +02:00
c596e8dd87 fix "stop_recording_on_xrun" in prefs dialog 2014-06-26 19:15:17 +02:00
7658183a84 accept text-entry-change w/o enter and add filter_text option 2014-06-26 19:13:15 +02:00
b90d7a01fa consolidate SignalOrderRouteSorter 2014-06-25 21:47:54 +02:00
a3c378cf62 move utility functions into a dedicated namespace 2014-06-25 21:47:54 +02:00
1bd4e448de namespace libardour utils 2014-06-25 21:47:54 +02:00
c4caac6230 let's not forget the video timeline 2014-06-25 15:35:08 -04:00
bbd4f83604 do not include ruler visibility items in context click menu on timebars 2014-06-25 15:32:42 -04:00
1d3e5dd947 tighten up spacing in ruler dialog 2014-06-25 15:26:55 -04:00
298085eec2 use new ruler dialog class for context clicks on ruler labels area 2014-06-25 15:23:25 -04:00
c381f5b653 new ruler dialog class 2014-06-25 15:23:05 -04:00
4b515c178c remove unused code 2014-06-25 13:37:59 -04:00
7ebf107e43 fix y-offset when drag-n-dropping regions from region list 2014-06-25 12:40:11 -04:00
ba484f1e1f Fix finding icon sets by using correct utility function 2014-06-25 12:40:10 -04:00
cd12698b9c Rename PBD::find_file_in_search_path to just PBD::find_file
saves a bit of typing and not necessary if you look at how it is used.
2014-06-25 12:40:10 -04:00
769ee5c1f2 Change PBD::get_files_in_directory to return full paths in result
get_files_in_directory uses get_directory_contents internally now
2014-06-25 12:40:09 -04:00
c1ff79e2e6 GLib functions for listing directory contents don't include "." or ".." entries 2014-06-25 12:40:09 -04:00
66af3fbda0 add slider control to GUI tab of preferences for lock timeout 2014-06-25 12:12:01 -04:00
a2404382e9 expose Gtk::HScale member of OptionEditor::HSliderOption 2014-06-25 12:11:43 -04:00
6998cb1f13 part two of: lock dialog MUST be a Gtk::Dialog so that it does not forward key (or other) events to the Editor 2014-06-25 12:10:56 -04:00
66be061449 lock dialog MUST be a Gtk::Dialog so that it does not forward key (or other) events to the Editor 2014-06-25 11:47:35 -04:00
036740b0c8 check UIConfig variable before restarting lock timeout 2014-06-25 11:34:58 -04:00
b43d3fe8d7 add UIConfig variable for lock timer 2014-06-25 11:34:37 -04:00
d5ef8f5f1e new timer-based GUI locking code 2014-06-25 08:28:36 -04:00
1945260cd6 there's no me in proaudio 2014-06-24 12:48:24 -04:00
4bba1059e8 actual style specs for lock dialog button 2014-06-24 11:26:33 -04:00
6a4a294167 a bit more styling for that lock dialog 2014-06-24 11:26:21 -04:00
e3a33330a4 rename closed padlock icon 2014-06-24 11:02:59 -04:00
1e160bca9a new padlock icons (48x48) 2014-06-24 11:01:41 -04:00
a12f43fa46 add a modal lock dialog for better testing (and someone might find it useful, too) 2014-06-24 10:14:07 -04:00
f147846863 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.
2014-06-24 09:56:16 -04:00
dae3b26f18 playing with oofus' preferences for selected region coloring 2014-06-24 09:56:16 -04:00
c44ebde5d6 reset time axis view item name text color when selected status changes 2014-06-23 10:29:30 -04:00
371bf59a94 for backends w/o control, save a fake state with only the "active" attribute.
This makes ardour start directly with external jack without asking if jack
was previously used. It also retains jackd settings if jackd was previously
started by ardour.
2014-06-23 05:12:08 +02:00
f6aaa1660b en/disable internal send+returns with tracks en/disable. 2014-06-23 00:48:47 +02:00
14c6dfab07 Do not allow to de/activate a track while the transport is rolling.
roll_delay and latency are only re-calculated when the transport is stopped.
de/activating a track is also not RT-safe.
2014-06-22 23:18:00 +02:00
b46652c3c9 button click (release, to be precise) within the canvas drop zone cancels all object and track selections 2014-06-22 15:24:26 -04:00
3624d93001 fix latency-measurement dialog back-button. 2014-06-22 18:28:24 +02:00
6a5d805b38 more canvas refactoring.
Remove Canvas::Layout, use Canvas::Container for the same purpose, move child-rendering into Item::render_children() so that it
could theoretically be used by any derived type.
2014-06-22 11:41:05 -04:00
0796ccfb65 use newly factored canvas in gtk2_ardour 2014-06-21 11:44:22 -04:00
5d6dc388f7 fix some confusion when redrawing editor/mixer track/strip displays after track/bus deletion
The code relied on the idea that the order-key resync that occurs after deletion would change the order keys and thus cause
a redisplay. But since both the editor and mixer can initiate an order-key resync, the other window's resync will actually
do nothing (the order keys will already be correct). This led to the incorrect placement of material in the tracks canvas,
because the first resync triggered a redisplay while the route still existed, and then the second resync didn't cause a
redisplay (repositioning) but the canvas elements representing the track went away.

Fixed by forcing a redisplay in both editor and mixer if a route deletion is believed to be triggering a row deletion
in their underlying data models.
2014-06-20 21:52:24 -04:00
237741d187 ensure that all waveviews have ALL their colors set accurately before first render
Avoids occasional bright red zero line drawn because the color(s) had not been reset correctly
2014-06-19 15:06:48 -04:00
2ebaf2e45a explanatory comment 2014-06-19 13:47:58 -04:00
f5edb5a022 correct conversion of drop y-position into trackview for drag-n-drop of external files 2014-06-19 13:45:22 -04:00
edd9e730ef latency measurement dialog updates:
* distinguish errors: no ports and no engine.
* fix "No measurement results yet" message at successful end
* stop update callback
2014-06-19 19:44:15 +02:00
07759bbbf2 engine-dialog: properly restore previous active state 2014-06-19 19:44:15 +02:00
a0392a2349 fix non-working cmd-Q on OS X. For some reason the shenanigans related to removing it from various menus as part of OS X standards breaks the accel system 2014-06-19 13:18:42 -04:00
01df705f70 change the way font specifications are used in UI config files
If no font family is specified, enforce use of Sans to match GTK behaviour (which we inadvertently relied on, it appears)
2014-06-19 11:18:44 -04:00
280fc81e05 modifications to region drag implementation
(1) if we're dragging over the drop zone, then x-axis motion is irrelevant for threshold-of-move
(2) store original time axis view of a dragged region so that if we create a new track with the region drag, it can be the same height
2014-06-19 11:18:44 -04:00
276e8b48ce various fixes for places that used get_font_for_style() ... converted to use UIConfiguration::get_canvasvar_*Font() 2014-06-19 11:18:44 -04:00
0d160a865b add bold monospace font specs to canvas_vars/ardour3_ui_default.conf 2014-06-19 11:18:43 -04:00
66a5d09f36 use new canvas cursor API to manage cursors while embedding audio 2014-06-19 09:26:00 -04:00
f552c1cc5c fix potential crash in Editor::set_canvas_cursor() if inadvertently passed a null cursor (semantics are different on OS X vs. X Window) 2014-06-19 09:26:00 -04:00
9f4f9c205d change verbose cursor font selection to use canvas variable mechanism, plus a few developing comment edits 2014-06-18 22:48:24 -04:00
e7895e1f80 more work on cursor tracking state 2014-06-18 21:03:25 -04:00
76a3a94536 explanatory comment 2014-06-18 21:03:11 -04:00