Commit Graph

192 Commits

Author SHA1 Message Date
Paul Davis a5ac6e097e switch no-strobe from cmdline to UI config preference 2023-11-10 15:50:44 -07:00
Robin Gareus 3d43ed4993
Do not allow to use JACK transport when vari-speed is enabled 2023-05-19 23:27:01 +02:00
Mads Kiilerich 38d7d28b25 MainClock: introduce actual set_display_delta_mode
Make MainClock more self-contained and generic by moving logic from the
Config system and to the class itself, while making the class less aware
of how it is used in the config system.

It is slightly dirty to store the initial AudioClock widget name in
MainClock, but less dirty than having to pass the whole name correctly
every time the delta mode changes.

Also avoid confusing use of 'mode', which in AudioClock is used for the
units/formatting of the clock.
2022-11-20 02:12:40 +01:00
Paul Davis 45e21de209 implement and adopt new conventions for AudioClock use
The class now has two separate methods for setting a duration or a point
value. They MUST be used appropriately, because their behavior is different.

When ::set_duration() is used in timecode mode, an extent (inclusive-end
length) is shown rather than a length.

Some objects, such as the TimeInfoBox, now deliberately shown an inclusive end
for their "end" clock, but this not universally followed, pending more feedback
from users and investigating of conventions in other DAWs.
2022-10-07 16:24:56 -06:00
Robin Gareus 5fb628d3ed
Use new record-mode pref (2/2), GUI control 2022-09-19 22:50:11 +02:00
Robin Gareus 370adfa322
Add option to hide cue rec/play toolbar buttons 2022-03-01 17:53:11 +01:00
Ben Loftis 5f0c7fe3d6 move cue-behavior to session config (gtk part) 2022-02-19 11:49:01 -06:00
Ben Loftis 54d794e242 rough-in global Cue functions (rec-enable and play-enable i.e. cue-ffwd) 2022-02-12 21:46:30 -06:00
Paul Davis eee0fdf2d5 remove debug output 2021-08-13 12:51:31 -06:00
Paul Davis 3a2e6e174b change default value of UIConfig's clock display limit, and prevent old config files from overriding the limit
720 hours was too long to be expressed via superclock in 62 bits. Use 99:59:59 instead.
2021-08-13 12:51:30 -06:00
Paul Davis 749a49c278 incorporating new tempo map API 2021-08-13 12:51:29 -06:00
Paul Davis 2a08e4bdaa continued work on timeline types conversion. in theory, just editor_ops.cc remains 2021-08-13 12:51:29 -06:00
Robin Gareus 5c579ed52d
Remove unused #include<> (1/2)
PBD::stacktrace() is not used nor needed by default.
It should be used sparingly.
2021-05-05 17:43:28 +02:00
Robin Gareus d124b3600b
Add a separator between script and window buttons 2021-02-25 14:29:12 +01:00
Robin Gareus 68d26ffee9
Relax A5 style exclusive In/Disk monitoring
This allows "All In" and "All Disk" to be selected simultaneously.
2021-02-24 00:21:44 +01:00
Robin Gareus 5dc3f2a320
Add toolbar widgets for monitor mute and dim
Another one from Andy's wish-list
http://mixbus.harrisonconsoles.com/forum/thread-8935-page-2.html
2020-09-17 22:57:54 +02:00
Robin Gareus 3f9684248e
Set LV2 UI options from Ardour's theme 2020-06-30 16:46:06 +02:00
Robin Gareus 8399abd277
Fix translatable strings and translations (so far)
The typos in the original English were reported by Edgar
Aichinger while working on the German translation.
2020-04-26 03:19:22 +02:00
Robin Gareus a62df60760
Replace some Gtk:MessageDialog with Ardour's variant
This fixes some issues with stuck splash screen early on.
2020-01-15 22:08:42 +01:00
Robin Gareus 4f41367836
Add Latency Control Toolbar Widgets 2019-09-29 02:45:37 +02:00
Robin Gareus b340dc7282
Increase available Lua action script slots
* Reserve 32 dedicated editor actions for scripts
* Limit number of toolbar buttons
* Use dedicated binding-group for keyboard-shortcuts
* Tweak Preferences layout of toolbar pane
2019-09-03 04:31:35 +02:00
Robin Gareus 9fb403546c
Allow to inhibit screensaver/system sleep 2019-08-11 20:39:39 +02:00
Robin Gareus 4050ca5633
Update GPL boilerplate and (C)
Copyright-holder and year information is extracted from git log.

git history begins in 2005. So (C) from 1998..2005 is lost. Also some
(C) assignment of commits where the committer didn't use --author.
2019-08-03 15:53:15 +02:00
Paul Davis 0df8552627 auto-return is still available if using JACK transport 2019-02-28 17:18:28 -07:00
Robin Gareus 8244026533
Consolidate ToggleAction cast, use new API
Furthermore we can assume that all Actions are registered and
Unregistered actions will ::abort() execution.
2019-02-28 23:54:42 +01:00
Paul Davis fc83d044f8 use ActionManager namespace, rather than ActionMap objects, and remove all per-context action maps 2018-12-10 08:34:01 -05:00
Paul Davis 24331aaf20 use new action map API instead of ActionManager::get_action 2018-12-10 08:34:01 -05:00
Paul Davis 2eae3b5cd1 another replacement of ActionManager::get_action() by ActionMap::find_action() 2018-12-05 17:48:34 -05:00
Paul Davis 58e9bb0a14 move away from "sync source" concepts 2018-10-05 14:15:02 -04:00
Robin Gareus 4d3cd732c9 Unhardcode and increase bindable Lua-script-action count 2018-10-04 03:57:09 +02:00
Robin Gareus 40316437a4 Add a GUI option to enable boxy button style 2018-10-02 21:28:49 +02:00
Paul Davis db385c2e3c new transport slave/master implementation, gui edition 2018-09-18 19:06:04 -04:00
Ben Loftis dc61256466 new_grid: Rewrite of Snap and Grid. (squashed commit)
Separate Snap from Grid.  Lots of naming changes.
Multiple simultaneous snap options allowed. Grid is one of the possible Snap options.
Grid uses the same data as the rulers.  Replace complicated tempo_lines with simple grid_lines.
The Grid is zoom-scale-sensitive along with the rulers.  If you are zoomed out, grid becomes coarser.
2018-02-09 09:59:39 -06:00
Robin Gareus d03352cfac Add Toolbar disk-space widget. 2018-01-14 18:49:27 +01:00
Robin Gareus c7ed461bcf Add DSP-load & x-run widget to the toolbar. 2017-12-28 15:53:40 +01:00
Robin Gareus aab787f686 Separate and consolidate Transport-Control-UI code 2017-12-22 22:15:50 +01:00
Robin Gareus 55ee5d2e50 Fix duplicate if(A) else if (A) condition
Issue came to be from consolidating Session and UI configuration.
Found by PVS-Studio - https://www.viva64.com/en/b/0540/
2017-11-23 09:50:50 +01:00
Robin Gareus 15150c57c1 Implement clock delta modes
* use new config variable
* update GUI to select delta-modes
* delegate delta-calculation to MainClock
* save offset to calculate absolute-time
2017-11-23 00:13:32 +01:00
Paul Davis 30b087ab3d globally change all use of "frame" to refer to audio into "sample".
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
2017-09-18 12:39:17 -04:00
Robin Gareus beb73edf55 Purify libcanvas, remove libardour dependency
A canvas is just a canvas. Move WaveView into its own library.
2017-07-17 21:06:04 +02:00
Robin Gareus 5c92613698 Separate Ardour UI widgets into dedicated library 2017-07-17 21:06:04 +02:00
Robin Gareus 77e8c0c4df GUI options for rec-only metronome 2017-04-01 23:56:27 +02:00
Robin Gareus 0092442a64 mark loop button insensitive when there's no loop-range 2017-01-28 12:05:50 +01:00
Robin Gareus d9a4d03c94 Translatable Metronome tooltip, formatting and typo fix. 2017-01-21 01:46:40 +01:00
Daniel Sheeler e315b25eb3 Update metronome tooltip on gain change 2017-01-21 01:38:53 +01:00
Robin Gareus cf31233cd1 Cleanup global monitor options:
- rely on parameter-changed signal emission to update buttons
- use dedicated button/style names
- improve tooltip
2017-01-18 12:25:02 +01:00
Robin Gareus 17d54a0d1c Configurable toolbar rec/punch & monitoring buttons 2017-01-16 21:58:53 +01:00
Robin Gareus cf5a0de709 Add initial GUI support for global monitor states 2017-01-16 19:54:42 +01:00
Robin Gareus 3afe3f32df Remove cruft (old MIDI feedback API) 2016-12-30 17:29:08 +01:00
Robin Gareus 30c785dc37 Turn Theme Manager into an OptionEditor (no direct use of Gtk) 2016-12-29 23:06:15 +01:00