Commit graph

9406 commits

Author SHA1 Message Date
Paul Davis
3fa84d0caa add alt-i as a binding in both the editor and mixer windows to toggle the state of MIDI input on the selected track(s); in the mixer this will also operate on the strip under the mouse. fixes #4838
git-svn-id: svn://localhost/ardour2/branches/3.0@13475 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13 02:19:04 +00:00
Robin Gareus
cf55921aea make audio clock fill vertical space
git-svn-id: svn://localhost/ardour2/branches/3.0@13474 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13 02:00:51 +00:00
Robin Gareus
b8ff65ea1b overhaul timecode calculations
in particular proper SMPTE12M drop-frame support
and subframe rounding.

git-svn-id: svn://localhost/ardour2/branches/3.0@13473 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13 02:00:49 +00:00
Robin Gareus
ba54b9583b shorten Metrum & Tempo label
git-svn-id: svn://localhost/ardour2/branches/3.0@13472 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13 02:00:47 +00:00
Robin Gareus
0b80f3391b complete r13404 - use double for timecode fps.
git-svn-id: svn://localhost/ardour2/branches/3.0@13471 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13 02:00:45 +00:00
Paul Davis
cb4c25dd7d change Alt-b binding for toggle-track-rec-enable to Shift-b, to avoid conflicting with the binding for toggle-big-clock-window
git-svn-id: svn://localhost/ardour2/branches/3.0@13470 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 23:41:02 +00:00
Paul Davis
759b049dbb move metronome button again
git-svn-id: svn://localhost/ardour2/branches/3.0@13469 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 23:39:43 +00:00
Paul Davis
fc14ecb93b do not attach plugin automation submenu to automation menu if the route has no plugins (avoid common user confusion) - thanks thorsten
git-svn-id: svn://localhost/ardour2/branches/3.0@13468 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 20:03:57 +00:00
Paul Davis
edd694171b resize metronome icon to keep transport button sizes consistent
git-svn-id: svn://localhost/ardour2/branches/3.0@13467 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 19:36:34 +00:00
Paul Davis
a6757a4a30 add metronome SVG and tweak opacity and stroke width to make it more congruent with existing transport icons
git-svn-id: svn://localhost/ardour2/branches/3.0@13466 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 19:09:21 +00:00
Paul Davis
d8ed31946b brighten blue color used for clock delta mode
git-svn-id: svn://localhost/ardour2/branches/3.0@13465 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 18:33:03 +00:00
Paul Davis
406d4d1dab move metronome/click button into main transport section. icon needs some work to be more congruent with the rest
git-svn-id: svn://localhost/ardour2/branches/3.0@13464 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 18:23:58 +00:00
Robin Gareus
2508f3ba94 add labels for BBT clock info
git-svn-id: svn://localhost/ardour2/branches/3.0@13463 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 18:18:15 +00:00
Robin Gareus
d546c20bed display slave initial before slave timecode
git-svn-id: svn://localhost/ardour2/branches/3.0@13462 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 17:54:55 +00:00
Robin Gareus
dc520de915 really fix vertical alignment of info text (again :) )
git-svn-id: svn://localhost/ardour2/branches/3.0@13461 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 17:54:52 +00:00
Paul Davis
759918dcc8 tweak display of cleanup results, and make greek/latin prefix names there translatable
git-svn-id: svn://localhost/ardour2/branches/3.0@13460 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 17:41:31 +00:00
Paul Davis
4a6bf110e0 fix #5076 - we failed to actually find any existing snapshots because the path scanner was passing filename only, not full paths, to the filter function which used a Glib::file_test() on it (and failed)
git-svn-id: svn://localhost/ardour2/branches/3.0@13459 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 17:41:04 +00:00
Robin Gareus
6cc0a4abf0 audio-clock: fix right-alignment
git-svn-id: svn://localhost/ardour2/branches/3.0@13458 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 16:49:20 +00:00
Robin Gareus
2c1b2256b6 slave delta: move sign next to the digit
git-svn-id: svn://localhost/ardour2/branches/3.0@13457 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 16:49:18 +00:00
Robin Gareus
bdad852b71 redraw of markup'ed sections when style/font is [re]loaded.
git-svn-id: svn://localhost/ardour2/branches/3.0@13456 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 16:49:15 +00:00
Robin Gareus
c528c1178a prevent changing slave while slave is active
fix potential segfault: clock asking for slave's timecode
when the slave is not a Timecode-slave.

git-svn-id: svn://localhost/ardour2/branches/3.0@13455 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 16:49:11 +00:00
Robin Gareus
ad4d781477 make pull-up/down truly exclusive with JACK
git-svn-id: svn://localhost/ardour2/branches/3.0@13454 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 16:49:05 +00:00
Paul Davis
c214f1630a fix for crash caused as slave is switching from non-TC source to TC-source
git-svn-id: svn://localhost/ardour2/branches/3.0@13453 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 16:48:50 +00:00
Paul Davis
7253e8ff84 fix for #5078 - not considering unused playlists when computing region use count
git-svn-id: svn://localhost/ardour2/branches/3.0@13452 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 15:50:38 +00:00
Robin Gareus
f73bfef770 reduce audio clock height
git-svn-id: svn://localhost/ardour2/branches/3.0@13451 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 14:05:45 +00:00
Paul Davis
0c9943cdbb brighten up main clock color, and change font size to be closer to the old sans font size even though we now use monospace
git-svn-id: svn://localhost/ardour2/branches/3.0@13450 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 14:03:51 +00:00
Robin Gareus
86e16e723e Revert "fix small screen mode width"
This reverts commit e963a8dbc1d71aa78bed9407bafd7f8948db9712.

git-svn-id: svn://localhost/ardour2/branches/3.0@13449 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 13:43:12 +00:00
Robin Gareus
e3a010ff69 fix small screen mode width
git-svn-id: svn://localhost/ardour2/branches/3.0@13448 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 13:31:13 +00:00
Robin Gareus
086e2613c4 slightly gray clock background - consistent with punch/nudge clk
git-svn-id: svn://localhost/ardour2/branches/3.0@13447 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12 12:49:53 +00:00
Robin Gareus
4e1a813f4d MIDIClock is not a Timecode slave, fix segfault
git-svn-id: svn://localhost/ardour2/branches/3.0@13446 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 23:11:53 +00:00
Robin Gareus
6657159ba8 clock width for 99999 bars (9999 allows 2h46m @ 240bpm)
git-svn-id: svn://localhost/ardour2/branches/3.0@13445 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 23:11:50 +00:00
Paul Davis
50158b8bf1 restore bg color of status bar in main window
git-svn-id: svn://localhost/ardour2/branches/3.0@13444 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 22:36:00 +00:00
Paul Davis
b8b8384a26 add support for using - as prefix keys to enter a negative value in an audio clock. so far only used for session timecode offset option clock
git-svn-id: svn://localhost/ardour2/branches/3.0@13443 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 22:20:40 +00:00
Robin Gareus
b36caf3b6f highlight mismatching slave TC
git-svn-id: svn://localhost/ardour2/branches/3.0@13442 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 22:06:42 +00:00
Robin Gareus
8872844a60 add slave and generator Timecode offset (no UI yet)
So far only LTC slave, LTC generator and MTC slave.
MTC generator remains to be done.

git-svn-id: svn://localhost/ardour2/branches/3.0@13441 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 20:43:53 +00:00
Robin Gareus
44680aa1bb fix horiz alignment (corner-radius is added to layout)
and subtract alignment from mouse interaction

git-svn-id: svn://localhost/ardour2/branches/3.0@13440 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 20:43:50 +00:00
Robin Gareus
09194dcf88 clock-delta mode restore: anticipate toggling set_active callback
git-svn-id: svn://localhost/ardour2/branches/3.0@13439 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 18:15:13 +00:00
Robin Gareus
3f2e8fe305 show slave info in Min:Sec mode - fill empty space
git-svn-id: svn://localhost/ardour2/branches/3.0@13438 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 17:36:31 +00:00
Robin Gareus
797ac9ef91 fix initial info color when switching to delta mode.
git-svn-id: svn://localhost/ardour2/branches/3.0@13437 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 16:39:54 +00:00
Robin Gareus
1f14987044 rounding off all clock corners
git-svn-id: svn://localhost/ardour2/branches/3.0@13436 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 16:27:29 +00:00
Robin Gareus
e1166e3266 reintroduce space before delta "sample" lable
git-svn-id: svn://localhost/ardour2/branches/3.0@13435 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 16:27:27 +00:00
Paul Davis
57ce855053 specify time info box bg in style file(s), and make nudge clock use the same bg color (not in style file, but the UI conf file, naturally)
git-svn-id: svn://localhost/ardour2/branches/3.0@13434 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 16:04:30 +00:00
Paul Davis
a57f4ead2d make Cairo{HV}Packer fetch bg information from a style file, rather than hard-code it
git-svn-id: svn://localhost/ardour2/branches/3.0@13433 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 16:03:37 +00:00
Paul Davis
78e092e0a3 make nudge clock use same font as punch clocks
git-svn-id: svn://localhost/ardour2/branches/3.0@13432 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 15:23:29 +00:00
Paul Davis
258154bc7d punch clocks: fix up center-dotted zeros in at least some fonts
git-svn-id: svn://localhost/ardour2/branches/3.0@13431 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 15:19:00 +00:00
Robin Gareus
5b487ca9b1 NOOP: remove trailing whitespace
git-svn-id: svn://localhost/ardour2/branches/3.0@13430 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 14:31:17 +00:00
Robin Gareus
b168929005 audio clock display updates:
* use white text for translatable fixed info labels
  * don't change colour of info in delta-display mode
  * re-nice vertical alignment

git-svn-id: svn://localhost/ardour2/branches/3.0@13429 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 14:31:14 +00:00
Robin Gareus
46ba939ca0 re-nice audio clock horiz alignment.
git-svn-id: svn://localhost/ardour2/branches/3.0@13428 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 09:41:06 +00:00
Robin Gareus
17b46e2304 add missing font definition for punch clock.
git-svn-id: svn://localhost/ardour2/branches/3.0@13427 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 09:41:04 +00:00
Paul Davis
8ac4fa35e8 use bold mono font for delta mode in clocks
git-svn-id: svn://localhost/ardour2/branches/3.0@13426 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 03:57:35 +00:00