74c4ca3e52
Reduce reliance on boost - the hard part
...
the rest from `tools/convert_boost.sh`.
* replace boost::function, boost::bind with std::function and std::bind.
This required some manual fixes, notably std::placeholders,
some static_casts<>, and boost::function::clear -> = {}.
2024-10-19 03:47:21 +02:00
744b491162
PublicEditor IS-A MidiEditingContext
2024-10-17 07:44:28 -06:00
ec7d502959
cairo single pixel line offset fix, part 2
...
This will need careful visual inspection of the items drawn by the
affected code to make sure they are still precisely as intended
2023-07-17 20:55:13 -06:00
014c6e7850
replace INT32_MAX with CueRecord::stop_all (gui)
2022-08-03 11:42:58 -06:00
Mads Kiilerich
91b08d5f45
gtkmm: use get_realized() instead of deprecated Gtk::Widget::is_realized()
2022-04-08 20:20:32 +02:00
Mads Kiilerich
d52c727ec5
gtkmm: use get_mapped instead of deprecated Gtk::Widget::is_mapped()
2022-04-08 20:20:10 +02:00
f7d17c6aca
mini_timeline: round to bars and show slightly less digits
2022-03-15 09:03:40 -05:00
5f0c7fe3d6
move cue-behavior to session config (gtk part)
2022-02-19 11:49:01 -06:00
111054812a
mini-timeline: yet another tweak to draw Stop Cues nicely
2022-02-14 21:22:36 -06:00
bfd698bef8
mini-timeline: rough-in Stop Cue markers
2022-02-12 21:46:30 -06:00
17e5667216
triggerbox: use translatable marker name function in GUI
2022-02-11 11:33:43 -07:00
292faff26e
Mini-timeline: Cues are events but they are also continuous
2022-02-08 17:04:09 -06:00
3fbfe72fa9
mini-timeline: fix some thinkos in prior commit; rename some variables for readability
2022-01-25 16:21:25 -06:00
c9b5db6dee
Mini-Timeline: watch for -any- cue marker to change
2022-01-21 10:07:01 -06:00
60cbe57a6e
Marker Rulers: changes to match mini-timeline aesthetic
...
Highlight ruler lanes when you enter, instead of showing many lines
2022-01-20 18:59:21 -06:00
16c809986d
Mini Timeline: Add Circular Cue Markers; various cleanup and pixel-pushing tweaks
2022-01-20 18:59:21 -06:00
36609c4067
remove public ::bbt_at (INTEGER) methods, because of superclock_t/samplepos_t confusion (GUI edition)
2021-08-13 12:51:35 -06:00
3c00fab75e
remove/hide Session::tempo_map() and use TempoMap::use() instead (thread local shared ptr) (GUI edition)
2021-08-13 12:51:30 -06:00
749a49c278
incorporating new tempo map API
2021-08-13 12:51:29 -06:00
5b2a435e02
getting editor_drag.cc to compile
2021-08-13 12:51:29 -06:00
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
ac53a9bbf8
remove unnecessary 2nd argument from Session::request_locate() calls (default value is identical)
2021-05-03 17:40:41 -06:00
39844cfbb9
tweak minitimeline methods and names to avoid too-early and unnecessary calls to ::set_colors()
2020-04-28 11:45:14 -06:00
47767738b9
rename DoTheRightThing to RollIfAppropriate
2020-01-18 08:49:18 -07:00
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
c59c46a70a
Mini-timeline, use explicit cairo-group to consolidate rendering
2020-01-08 04:24:51 +01:00
26cc05a1bf
Consolidate mini-timeline rendering
2019-12-27 19:35:02 +01:00
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
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
867460cd30
Add seconds as clock-unit
2017-11-22 20:36:28 +01:00
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
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
5c92613698
Separate Ardour UI widgets into dedicated library
2017-07-17 21:06:04 +02:00
3b8afbcd00
Remove dead assignment in MiniTimeline::draw_edge
2017-05-23 09:13:27 +10:00
2fe3bac92f
yet another stupid typo
2017-05-14 15:15:10 +02:00
43a07bab51
mini-timeline: show labels for outside range markers
2017-04-03 16:14:01 +02:00
907fbdd19e
Minitimeline: show markers immediately left/right of viewpoint
2017-04-02 22:20:12 +02:00
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
3aefd0e744
consolidate context-menu popup methods
2017-03-16 02:36:48 +01:00
58466b9019
disallow mini-timebar navigation when recording
2017-01-05 17:48:03 +01:00
6d566c9fe0
Correct a namespace typo
2016-12-28 09:20:39 +00:00
f3ac0929aa
Mini-timeline: honor left/right scroll
2016-12-21 03:53:45 +01:00
1a500bc00b
Don't redraw hidden toolbar elements
2016-12-20 12:34:40 +01:00
1fbc9aaa69
add tooltip to mini-timeline
2016-12-20 03:59:15 +01:00
da4d29401a
fix mini-timeline marker-prelight
2016-12-20 03:59:15 +01:00
267dd5edd9
update mini-timeline to immediately display tempo-map changes
2016-12-19 19:25:14 +01:00
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
27415486fc
fix blank mini-timeline
2016-12-18 22:58:19 +01:00
1bc0f9a178
consolidate mini-timeline code, latch expose
2016-12-18 22:21:10 +01:00
89b9456024
Revert mini-timeline marker drawing to before 448f921d
2016-12-18 18:18:11 +01:00