Paul Davis
5b2a435e02
getting editor_drag.cc to compile
2021-08-13 12:51:29 -06:00
Paul Davis
f4490f54c5
change Timecode::BBT_Time to use Temporal namespace, plus a couple of other minor changes to enable compilation
...
This still uses the tempo map object in libs/ardour, not the new one in libs/temporal, and isn't likely to be functional
(though it could be)
2021-08-13 12:51:28 -06:00
Paul Davis
ac53a9bbf8
remove unnecessary 2nd argument from Session::request_locate() calls (default value is identical)
2021-05-03 17:40:41 -06:00
Paul Davis
39844cfbb9
tweak minitimeline methods and names to avoid too-early and unnecessary calls to ::set_colors()
2020-04-28 11:45:14 -06:00
Paul Davis
47767738b9
rename DoTheRightThing to RollIfAppropriate
2020-01-18 08:49:18 -07:00
Paul Davis
3c00048b0c
Session::request_locate() takes a tri-valued second argument for "roll-after-locate"
...
This allows callers to defer logic about auto-play/current rolling state and more to TransportFSM where it
can be cnentralized and is less ambiguous
2020-01-18 08:49:18 -07:00
Robin Gareus
c59c46a70a
Mini-timeline, use explicit cairo-group to consolidate rendering
2020-01-08 04:24:51 +01:00
Robin Gareus
26cc05a1bf
Consolidate mini-timeline rendering
2019-12-27 19:35:02 +01: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
Ben Loftis
c6eab71435
new_snap: Snapped Cursor ( squashed commit )
...
Snapped Cursor is a line that follows the edit point, and indicates where the operation will occur.
This replaces and extends the line that appears with the Cut tool.
New associated preferences: snap_threshold and show_snap_cursor.
2018-02-09 08:21:45 -06:00
Robin Gareus
867460cd30
Add seconds as clock-unit
2017-11-22 20:36:28 +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
601c317d70
Clean up library inheritance (colors.h, utils.h)
...
make libwidget independent of libcanvas.
Confine basics to pbd and gtkmm2ext.
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
Tim Mayberry
3b8afbcd00
Remove dead assignment in MiniTimeline::draw_edge
2017-05-23 09:13:27 +10:00
Robin Gareus
2fe3bac92f
yet another stupid typo
2017-05-14 15:15:10 +02:00
Robin Gareus
43a07bab51
mini-timeline: show labels for outside range markers
2017-04-03 16:14:01 +02:00
Robin Gareus
907fbdd19e
Minitimeline: show markers immediately left/right of viewpoint
2017-04-02 22:20:12 +02:00
Robin Gareus
d06de26a4f
Towards a consistent render() API.
...
This fixes an -Woverloaded-virtual ambiguity introduced in b5e613d45
void render (cairo_t*, cairo_rectagle*)
void render (Cairo::RefPtr<Cairo::Context> const&, cairo_rectangle_t*)
ArdourCanvas prefers cairomm and CairoWidget itself uses Cairo::Context,
this improves overall API consistency.
2017-03-20 17:12:08 +01:00
Robin Gareus
3aefd0e744
consolidate context-menu popup methods
2017-03-16 02:36:48 +01:00
Robin Gareus
58466b9019
disallow mini-timebar navigation when recording
2017-01-05 17:48:03 +01:00
John Emmas
6d566c9fe0
Correct a namespace typo
2016-12-28 09:20:39 +00:00
Robin Gareus
f3ac0929aa
Mini-timeline: honor left/right scroll
2016-12-21 03:53:45 +01:00
Robin Gareus
1a500bc00b
Don't redraw hidden toolbar elements
2016-12-20 12:34:40 +01:00
Robin Gareus
1fbc9aaa69
add tooltip to mini-timeline
2016-12-20 03:59:15 +01:00
Robin Gareus
da4d29401a
fix mini-timeline marker-prelight
2016-12-20 03:59:15 +01:00
Robin Gareus
267dd5edd9
update mini-timeline to immediately display tempo-map changes
2016-12-19 19:25:14 +01:00
Robin Gareus
d82abddfff
cont'd work on mini-timeline:
...
* add context-menu to configure visible time-span
* prelight markers on mouse-over
* constrain active click area (mouse-up)
* change scroll-event granularity: multiple of configured span.
2016-12-19 19:12:13 +01:00
Robin Gareus
27415486fc
fix blank mini-timeline
2016-12-18 22:58:19 +01:00
Robin Gareus
1bc0f9a178
consolidate mini-timeline code, latch expose
2016-12-18 22:21:10 +01:00
Robin Gareus
89b9456024
Revert mini-timeline marker drawing to before 448f921d
2016-12-18 18:18:11 +01:00
Robin Gareus
f9743a1eb1
mini-tl: subscribe to location add/remove signals
2016-12-18 17:25:08 +01:00
Ben Loftis
448f921dd8
Transport Layout:
...
* Remove some redundant containers and frames, for a cleaner look.
* Adjust transport button spacing and sizes to more closely match the editor toolbar.
2016-12-18 09:02:13 -06:00
Ben Loftis
291631759c
Mini-timeline: Any click not on a marker should trigger a locate
2016-12-17 19:18:16 -06:00
Ben Loftis
28b5e8b6e2
Mini-timeline: Use timeline colors from config
2016-12-17 19:16:09 -06:00
Robin Gareus
f80fb029e2
Prepare configurable mini-timeline time-span
2016-12-18 00:06:39 +01:00
Robin Gareus
8405f642e7
fix gcc4 compilation (local type used in template)
2016-12-17 13:00:33 +01:00
Robin Gareus
4a83bd80a5
Prepare mini-timeline widget for toolbar
2016-12-17 02:43:42 +01:00