13
0
Commit Graph

6861 Commits

Author SHA1 Message Date
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
8419248a94 fix naming of selection rect-related items 2014-06-18 21:02:51 -04:00
nick_m
6b2c581c22 Summary changes :
* Use correct image format for background image
	* Construct thr ImageSurface as per cairo docs
	* Place start/end markers in background image
Tempo bars :
      * adjust beats display threshold to (hopefully) coincide with BBT ruler better.
2014-06-19 01:52:21 +10:00
becf857f48 a whole slew of changes related to centralizing and rationalizing cursor management.
Debugging output left in place to help address the reports that will come in as people test this more
2014-06-18 10:24:59 -04:00
1f46e75ac9 highlight send-panner 2014-06-17 16:19:58 +02:00
472d0ad2c6 Merge branch 'pathscanner-refactor' of https://github.com/mojofunk/ardour into cairocanvas 2014-06-17 08:09:00 -04:00
e41bd05073 Merge branch 'summary_background' of https://github.com/nmains/ardour into cairocanvas 2014-06-17 08:08:44 -04:00
c30bda5173 a set of inter-related subtle changes to get vertical autoscrolling to work, or at least work better. 2014-06-17 08:08:14 -04:00
nick_m
46c158d8c6 Render tracks and regions to a background image in the editor summary.
Connect to editor's SelectionChanged signal to display corresponding region colour change.
2014-06-17 21:44:36 +10:00
0e96d84079 Change PBD::PathScanner API to return results by value to avoid inadvertent memory leaks 2014-06-17 21:13:05 +10:00
33ea2d25f1 hide "turn down volume" label for midi-latency measurement 2014-06-16 23:36:29 +02:00
fbe359e8c7 debug alsa midi latency measurement 2014-06-16 19:44:23 +02:00
f383f2b856 fix pango font style (prev commit) 2014-06-16 17:56:52 +02:00
5baa6ca5b4 no more red latency messages 2014-06-16 17:30:22 +02:00
80c7971f50 reset latency dialog every time. 2014-06-15 13:24:41 +02:00
61ab4f0fb0 be smart, use boost::shared_ptr 2014-06-15 13:24:41 +02:00
21ed2d6767 clear engine device combo when no devices are available 2014-06-15 13:24:40 +02:00
b17ec0c43d tweak ArdourButton focus outline 2014-06-15 13:24:40 +02:00
2708a145af remove debug output 2014-06-15 13:24:40 +02:00
12cf9d5be8 fix pathscanner / stl_vector related memory leaks 2014-06-15 13:24:39 +02:00
51b475467a if we don't have control over the device/backend, allow to proceed. 2014-06-14 16:26:14 +02:00
7b64448dbb simply future debugging of exit at start. 2014-06-14 16:25:18 +02:00
9268de566c fix initialization of audio-engine dialog 2014-06-14 16:01:46 +02:00
ca1064e337 new anchored trim cursors (for now, just copies of the normal ones) 2014-06-13 18:45:12 -04:00
23b1c59630 fix erroneous start of autoscroll when mouse pointer is left or above the left/upper scrolling boundary but we're already scrolled to zero on the relevant axes 2014-06-13 18:43:53 -04:00
f7844f4893 do most of the work related to adding new anchored trim cursors (but debugging/analysis continues) 2014-06-13 18:43:53 -04:00
f312113163 enable ArdourButton focus in EngineDialog 2014-06-14 00:22:32 +02:00
bb2970e5e9 allow ardour button to handle focused keyboard events 2014-06-14 00:22:32 +02:00
e977b659af fix keyboard shorcuts in dialogs.
actually, for most dialogs, key-presses should never
be relayed. a get_modal() check might be the appropriate.
2014-06-14 00:22:32 +02:00
902e202f3e disambiguate another use of Rect on OS X 2014-06-13 15:48:30 -04:00
7a0b2e1c18 fix scrolling behaviour in track headers (event was stolen by rulers because event coordinates made it look as if the event happened there) 2014-06-13 14:27:59 -04:00
7d678604fa add all the fonts, and use the right name for the rulers as a result 2014-06-13 12:51:46 -04:00
bcdac3d06e no need to specify sans for ruler font 2014-06-13 12:38:29 -04:00
fec46824bd use canvas ruler font specification rather than get_font_for_style() 2014-06-13 12:22:39 -04:00