Paul Davis
965fe9946b
BBT markers: put BBT position in their tooltip
...
Tooltip will need updating once drag is working correctly
2022-08-17 16:39:46 -06:00
Ben Loftis
8b28a284ba
Cue markers must be centered after their text is assigned
2022-08-10 15:15:49 -05:00
Paul Davis
014c6e7850
replace INT32_MAX with CueRecord::stop_all (gui)
2022-08-03 11:42:58 -06:00
Paul Davis
6dfaac9e94
redesign the mechanisms for updating tempo/meter display during drags and other map changes
...
We now simply move markers during drags, and do not seek to create/delete markers.
When the map is changed, we rebuild the markers from scratch. This might need optimization to avoid doing
when the editor itself changed the map.
2022-06-27 22:21:27 -06:00
Paul Davis
de2c553e1a
improvements to BBT marker dialog appearance and behavior
2022-06-03 13:20:13 -06:00
Ben Loftis
c2243d8b1c
ruler markers: consolidate range-marker shapes
...
* if the same color is used for the marker and the flag, some range markers looked odd
* now that rulers are highlighted when you hover, it's less necessary to disambiguate by shape
2022-03-17 18:12:04 -05:00
Ben Loftis
08768e8185
draw the Stop All Cues marker as a square
2022-02-19 13:39:59 -06:00
Ben Loftis
5a19a4fb4a
tempo ruler: remove unused _name_flag for tempo markers
2022-02-14 21:22:36 -06:00
Ben Loftis
8c41fc7dd0
meter ruler: match look of meter markers to tempo markers
2022-02-14 21:22:36 -06:00
Ben Loftis
49e792868f
cue ruler: potential crash fix
2022-02-14 21:22:36 -06:00
Ben Loftis
f5142fb19a
tempo ruler: increase the size of tempo markers. 6pix is too small a target
2022-02-14 21:22:36 -06:00
Ben Loftis
daf56ccf0a
tempo ruler: do not resize marker (a grabbable object) due to tempo changes
2022-02-14 21:22:36 -06:00
Paul Davis
17e5667216
triggerbox: use translatable marker name function in GUI
2022-02-11 11:33:43 -07:00
Ben Loftis
6c6e7ba2ee
cue markers: pixel pushing
2022-02-08 17:04:09 -06:00
Paul Davis
93401d1883
remove debug output
2022-01-27 14:02:34 -07:00
Ben Loftis
9239d8af06
Ruler Marker: replace some padding in Location marks, to accommodate a selected marker
2022-01-21 10:13:15 -06:00
Ben Loftis
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
Paul Davis
41ade3b024
add a distinct Marker type enum for cue markers
...
Plan is to change the shape before this is considered done; for now
it uses the same shape as a regular marker
2022-01-19 09:06:38 -07:00
Paul Davis
c916d3d952
Substantial overhaul of tempo display code
...
Major changes: do not delete and recreate markers and curves for every tempo map
change, attach tempo curves directly to their (preceding) tempo marker, notable
cleanup of TempoCurve class to remove unnecessary members.
More tweaks expected since algorithm for matching markers and tempo map
points is not correct yet.
2022-01-18 19:47:20 -07:00
Paul Davis
03bfb91aff
fix argument name (post rebase conflict resolution)
2021-08-13 12:51:36 -06:00
Paul Davis
7938d8de4f
fix (some) editing based on tempo & meter marks
...
After beginning an edit operation with TempoMap::write_copy(), the tempoPoint and meterPoint objects
referenced by markers are incorrect, since they refer to the original map, not the copy we are working
on. Fix this with Editor::reassociate_metric_markers()
Some instances requiring this fix may still remain
2021-08-13 12:51:35 -06:00
Paul Davis
011b5ec61c
remove debug output
2021-08-13 12:51:35 -06:00
Paul Davis
d4f52498fa
somewhat working dialog for BBT/Position marker creation
2021-08-13 12:51:34 -06:00
Paul Davis
5153124664
change (GUI) Marker objects to accept any Canvas::Item as parent, and use this to draw BBT position markers in the BBT ruler
2021-08-13 12:51:34 -06:00
Paul Davis
4f1ad4ed0d
start adding new BBT marker support
2021-08-13 12:51:34 -06:00
Paul Davis
42c38d313d
try to use RCU updating when dragging tempo markers
2021-08-13 12:51:30 -06:00
Paul Davis
f8df966914
clean up MeterMarkerDrag
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
7433bc27e0
intermediate, unfinished snapshot of ongoing timeline types work on GTK GUI
2021-08-13 12:51:29 -06:00
Paul Davis
11798f7e86
fix crash caused by not explicitly deleting the line component of a Marker ( #8737 )
2021-06-11 10:24:49 -06:00
Paul Davis
b167e6f2ed
fix crash when deleting a marker
...
the line (if non-null) is owned by the marker's group, and will be deleted when the group is
2021-05-18 18:02:22 -06:00
Paul Davis
60a972a7de
implement region marker deletion
2021-05-18 18:01:38 -06:00
Paul Davis
91ec860b3b
redesign color mgmt when entering/leaving markers of various kinds
2021-05-18 16:17:37 -06:00
Paul Davis
689d33ddd5
get line for region markers functioning and visible
2021-05-14 18:37:50 -06:00
Paul Davis
b4d7944750
place the line associated with markers in the cursor scroll group, so that it above everything else
2021-05-14 18:37:50 -06:00
Paul Davis
3c1ffd1743
add line height API to Marker
...
This will allow region markers, which do not span the whole canvas height, to have a line
2021-05-14 18:37:50 -06:00
Paul Davis
1685843082
global marker objects do not need a canvas height, so remove member and API to manage it
...
They extend (down) from an origin to COORD_MAX. The height is irrelevant
2021-05-14 18:37:50 -06:00
Paul Davis
738cdcc55c
tweaks to ArdourMarker to enable it to be used for RegionCue markers
2021-05-14 18:37:50 -06:00
Paul Davis
a1c68460be
add basic/initial code for action to add a region marker
2021-05-14 18:37:50 -06:00
Ben Loftis
319b029579
When a marker is selected, change the marker color in addition to the line color.
2019-12-09 07:49:30 -06: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
Ben Loftis
76b7345ab6
Add tooltip to markers so they can be found without zooming in.
2018-01-25 08:20:25 -06: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
Thomas Brand
63ea7b6516
NO-OP whitespace (updated GH PR #357 )
2017-07-01 19:28:26 +02:00
Robin Gareus
fd9330f591
Tweak tempo-marker grab-handle (extend left/right)
2017-03-11 05:14:32 +01:00
nick_m
3a7bc1fd3f
Tempo Marks : set point colour by discontinuity, display non-quarter pulse if we are non-quarter.
...
- a jump in tempo by more than 1 ntpm results in a red
tempo mark pointer.
- ignore UIConfiguration::get_allow_non_quarter_pulse()
when displaying note type in the marker text (only display
note type if we are non-quarter).
2017-02-27 20:16:10 +01:00
Robin Gareus
b47bfc0121
Update Marker display style: consistent height & color
2016-12-19 13:27:22 +01:00
nick_m
9a2450cafc
be a bit less flickery when redrawing tempo/meter markers.
2016-12-16 02:56:58 +11:00
nick_m
c1b950373f
Amend last commit - remove some code.
2016-08-20 05:41:12 +10:00