Paul Davis
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
Robin Gareus
3624d93001
fix latency-measurement dialog back-button.
2014-06-22 18:28:24 +02:00
Robin Gareus
16ffff10cd
ALSA-backend: dedicated Midi-Buffer n-periods (only use for HW output)
2014-06-22 18:28:24 +02:00
Paul Davis
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
Paul Davis
f0933bf005
add missing new files for canvas redesign
2014-06-22 09:53:14 -04:00
Paul Davis
ff46a3c3a2
Merge branch 'canvasredesign' into cairocanvas
2014-06-22 09:34:39 -04:00
Paul Davis
99f9b3456a
explicitly qualify cast to ArdourCanvas::Container so that it works.
...
I assume that gcc is failing to complain about ambiguity with Gtk::Container even though there should
really be no ambiguity
2014-06-22 09:29:16 -04:00
John Emmas
88caf84b81
Rename all 3 backends for the MSVC sln file
2014-06-22 13:29:17 +01:00
John Emmas
436302fd16
Rename dummy backend to match Tim's name
2014-06-22 13:11:59 +01:00
John Emmas
f46a1508d9
Rename jack backend to match Tim's name
2014-06-22 12:53:13 +01:00
John Emmas
07b71fd005
Rename waves backend to match Tim's name
2014-06-22 12:51:43 +01:00
Paul Davis
0796ccfb65
use newly factored canvas in gtk2_ardour
2014-06-21 11:44:22 -04:00
Paul Davis
a8bd6ecc4f
refactor Canvas so that all Items have children; add Container abstract base class; rename Group as "Layout" and retain only drawing semantics
2014-06-21 11:43:42 -04:00
Robin Gareus
6648074a13
virtual abstraction of Alsa Raw+Seq
2014-06-21 13:51:46 +02:00
Robin Gareus
5e436fc8fc
prepare ALSA sequencer
2014-06-21 11:51:11 +02:00
Robin Gareus
359a968e61
alsa sequencer device/port listing
2014-06-21 11:51:11 +02:00
Paul Davis
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
Paul Davis
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
Paul Davis
2ebaf2e45a
explanatory comment
2014-06-19 13:47:58 -04:00
Paul Davis
f5edb5a022
correct conversion of drop y-position into trackview for drag-n-drop of external files
2014-06-19 13:45:22 -04:00
Robin Gareus
8c8928a99c
no more stack smashing, renice debug messages
2014-06-19 19:44:15 +02:00
Robin Gareus
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
Robin Gareus
07759bbbf2
engine-dialog: properly restore previous active state
2014-06-19 19:44:15 +02:00
Robin Gareus
bc67e47048
rework raw-midi drain strategy (workaround for sync devices)
2014-06-19 19:44:14 +02:00
Robin Gareus
157161e482
fix port-unregister (on failed latency measurement)
2014-06-19 19:44:14 +02:00
Paul Davis
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
Paul Davis
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
Paul Davis
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
Paul Davis
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
Paul Davis
0d160a865b
add bold monospace font specs to canvas_vars/ardour3_ui_default.conf
2014-06-19 11:18:43 -04:00
Paul Davis
66a5d09f36
use new canvas cursor API to manage cursors while embedding audio
2014-06-19 09:26:00 -04:00
Paul Davis
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
John Emmas
592654936e
Remove (no longer needed) sources from an MSVC project
2014-06-19 11:49:51 +01:00
John Emmas
126ef72d05
Move the definition for 'strtok_r' (to avoid clashing with a different definition in pthread_win32)
2014-06-19 11:47:49 +01:00
Paul Davis
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
Paul Davis
e7895e1f80
more work on cursor tracking state
2014-06-18 21:03:25 -04:00
Paul Davis
76a3a94536
explanatory comment
2014-06-18 21:03:11 -04:00
Paul Davis
8419248a94
fix naming of selection rect-related items
2014-06-18 21:02:51 -04:00
Paul Davis
c1045881dd
if we're not going to notify parents of bbox changes while an item is hidden, we need to remind it when the item is hidden or shown
2014-06-18 21:02:30 -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
Paul Davis
36a34dc1a4
Merge branch 'canvas_tweaks' of https://github.com/nmains/ardour into cairocanvas
2014-06-18 11:20:10 -04:00
Paul Davis
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
nick_m
0bd17ed2e4
Canvas tweaks.
...
* Only queue a draw for changed items that are set visible and in-window.
2014-06-19 00:06:32 +10:00
Paul Davis
47efeb9f21
Merge branch 'cache_fixes' of https://github.com/nmains/ardour into cairocanvas
2014-06-17 11:35:13 -04:00
Paul Davis
93bc93b6f6
a set of 3 fixes that cure Canvas::Text leaving dirty pixels when being dragged. or might not - testing is non-deterministic, which is alarming
2014-06-17 11:34:54 -04:00
Paul Davis
f98e0a0707
use a different approach for indicating expose rects (from robin gareus). #ifdef'd out by default
2014-06-17 11:34:54 -04:00
Robin Gareus
b4dd5b737f
prepare midi-latency measurement using sysex messages
2014-06-17 16:19:59 +02:00
Robin Gareus
1f46e75ac9
highlight send-panner
2014-06-17 16:19:58 +02:00
nick_m
b31608f64e
Cache entries are now region colour aware.
2014-06-18 00:16:51 +10:00
Paul Davis
472d0ad2c6
Merge branch 'pathscanner-refactor' of https://github.com/mojofunk/ardour into cairocanvas
2014-06-17 08:09:00 -04:00