Paul Davis
a76afae0e9
use smaller ("very small") text for rulers on macOS
...
This fixes a years-long visual issue with the rulers on macOS, where the
text has been MUCH larger than on Linux (and maybe Windows, not sure)
2024-11-08 17:16:12 -07:00
Paul Davis
dd6b2c8c7f
fix several set-not-used warnings from clang on macOS
2024-10-17 07:44:32 -06:00
Paul Davis
e6c56b39d1
finish basic distribution of EditingContext methods
...
This compiles but is not expected to work yet
2024-10-17 07:44:29 -06:00
Ben Loftis
0a19b719d4
fix creation of Cue markers via new ruler menu
2024-06-01 08:21:16 -05:00
Ben Loftis
a3d92fe5a7
fix paste error in context menu: show-other-ranges
2024-05-31 09:27:41 -05:00
Ben Loftis
875e89ff67
new Locations should be set IsMark, so there is no separate start/end
2024-05-28 08:42:16 -05:00
Paul Davis
13db3f64de
minor cleanups to timecode metric generation code
...
Mostly this is to make sure that we never include marks earlier than @param lower.
The sample->timecode conversion common to all rule scales is now moved outside
of the switch block, and an unnecessary floor() call was removed.
2024-05-24 11:04:35 -06:00
Paul Davis
871bd5e55b
force timecode mark module to 1, to avoid missing marks
...
The entire modulo concept for ruler marks has become mostly redundant now that
the rulers will only show text for a tick if there enough space
2024-05-24 11:04:23 -06:00
Paul Davis
2d5884ccb1
refactor methods to add a location/section marker so that there is only one method for this
2024-05-21 08:21:02 -06:00
Ben Loftis
78f81b2074
Reorganize Ruler Menu
...
* markers on top, rulers below
* cue markers in a submenu, and include the Stop marker
2024-05-20 15:59:34 -05:00
Robin Gareus
897610a047
Fix macOS builds (after 93e1e1c1f2)
2024-05-19 01:04:42 +02:00
Paul Davis
907cf66a63
restructure ruler context menu
2024-05-17 09:08:22 -06:00
Paul Davis
93e1e1c1f2
remove Cue, CD, Scene, Punch, Loop rulers, consolidate to just a pair (ranges, locations)
...
a menu allows choosing between all markers or 1 specific type, and all ranges or 1 specific type
more work required on menu structure and menu options/dialogs to specify the type of new location
and range marker creation
2024-05-16 22:58:55 -06:00
Paul Davis
0b8cfdee40
display MIDI scene markers
2024-04-25 13:07:00 -06:00
jean-emmanuel
feed0008bc
ui: editor: fix track/canvas separator alignement with 0 or more rulers visible
2024-01-20 14:46:03 +01:00
Ben Loftis
b03f6d8616
Set the default ruler visibility based on the new session's time domain
2023-09-14 23:13:08 +02:00
Ben Loftis
da4d2a645f
remove tempo-mapping bar, tempo_meta group. this reverts 8fbf2c and related
2023-09-06 19:31:00 +02:00
Ben Loftis
14792a0aee
arrangement ruler: move arrangement ruler to the bottom
2023-08-29 23:02:05 -05:00
Robin Gareus
2f6a0abf04
Use "Arrangement" in GUI instead of Section
...
Reserve Section for time-selection without track selection
2023-08-28 21:02:43 +02:00
Robin Gareus
9c984fc2ad
Add dedicated Section Ruler and UI for section boundary markers
2023-08-26 14:09:53 +02:00
Paul Davis
ed869da97e
reserve space for tempo map grid (GUI side)
2023-07-14 13:03:36 -06:00
Paul Davis
f41505a8c6
add Editor::count_bars() after removing it from libtemporal
2023-07-14 13:03:36 -06:00
Paul Davis
d688af76c0
clean up mapping bar context menu, extend with clear tempos
2023-06-30 15:50:47 -06:00
Robin Gareus
cb78043adc
Indicate selection extents in time ruler
2023-05-17 01:53:40 +02:00
Paul Davis
13311b7a32
tempo mapping: tempo group and mapping group are now only ever visible one at a time
...
Currently, the "switch" is in Edit > Tempo
2023-04-08 11:44:21 -06:00
Paul Davis
57398b1e5e
tempo mappoing: use actual mouse cursors not canvas item cursors
...
Also some changes to attempt to do "half-twist" that will be removed soon.
2023-04-07 12:56:57 -06:00
Paul Davis
74225f07de
nominally handle popup menu for mapping cursor item (unfinished)
2023-03-24 14:19:16 -06:00
Paul Davis
18249f7395
ardour has a new ruler
...
The mapping bar is where tempo mapping operations will take place
2023-03-24 14:19:16 -06:00
Paul Davis
03b32cb4a0
remove unused "beats" variable and computation from Editor::metric_get_bbt()
2023-02-10 11:11:51 -07:00
Robin Gareus
1ff5592731
Remove UI side grid limit
...
This concept from 2007 is no longer required Temporal::get_grid
already limits the number of grid-lines depending on the step
size (mod-bar, beat_div) and start/end positions.
2023-01-11 00:32:47 +01:00
Paul Davis
8237a8115c
cleanup unused variables in Editor ruler display code
2022-12-10 10:48:59 -07:00
Paul Davis
cd86521c65
rulers: improve labelling of non-quarter note beats in tempo ruler
2022-11-29 10:09:39 -07:00
Paul Davis
8b06eb9878
editor rulers: do not try to generate "fill" ticks/lines for the grid
...
We now generate a grid from the TempoMap of appropriate "density". Doing this
in the editor just gets things wrong (and partially duplicates the (complex)
logic already present in the TempoMap).
2022-11-29 10:09:39 -07:00
Paul Davis
264140c191
do not label ticks generated to fill space between ::get_grid() results
2022-11-22 18:09:46 -07:00
Alexandre Prokoudine
cc912cca1b
Make title capitalization consistent across rulers
2022-11-10 15:35:22 +03:00
Paul Davis
6d1e4207de
bbt ruler: no more micro/minor mark distinction. all bars are equal between labels
2022-10-31 17:05:55 -06:00
Mads Kiilerich
34527525be
Consistently put ruler toggle code in the same order
...
Just reordering.
2022-10-24 05:14:58 +02:00
Paul Davis
cf83815133
add clear-all-cues item to cue marker ruler context menu
2022-10-21 07:52:23 -06:00
Paul Davis
0c2176dd71
move default_triggers_per_box into a namespace ; change value for Ardour to 16 (GUI edition)
2022-10-04 19:55:15 -06:00
Paul Davis
0938d21c30
change add new bbt marker from primary-click to context-click on BBT ruler
2022-10-03 14:16:34 -06:00
luz paz
47c525315d
Fix various typos
...
Found via `codespell -q 3 -S *.po,./.git,./share/patchfiles,./libs,./msvc_extra_headers,./share/web_surfaces,*.patch -L ba,buss,busses,discreet,doubleclick,hsi,ontop,ro,scrollin,seh,siz,sord,sur,te,trough,ue`
2022-08-03 12:10:01 -06:00
Paul Davis
014c6e7850
replace INT32_MAX with CueRecord::stop_all (gui)
2022-08-03 11:42:58 -06:00
Robin Gareus
8ead1439d8
Fix ruler/canvas separator
...
The track-header (gtk) is packed with 1px box spacing. This
is added at the top of each box (best seen by looking at the
group-tab vs track-header alignment in the editor).
However the actual track separator line on the canvas is at the
bottom of each track, aligning with the top of the next track
or automation-lane.
The first track however lacks a separator at the top, which
needs to be provided by the ruler. Once the canvas is scrolled
this ruler/canvas separator overlaps with the bottom separator of
each TAV.
Using ruler Rectangle::set_outline had various issues.
The outline extends outside the rectangle. It bled into the
video-timeline instead of the canvas' top y-axis pixel.
Also the separator was above the video-timeline, not above the
canvas. Hence a dedicated separator Line is preferable.
It also provides a consistent separator if no rulers are visible.
2022-07-06 20:50:06 +02:00
Paul Davis
4b11b2ba28
remove unused item
2022-06-21 16:55:29 -06:00
Paul Davis
0e85655c38
right click on tempo curve should be equivalent to right click on empty bar
2022-06-03 15:02:37 -06:00
Robin Gareus
7e10061d16
Disambiguate "Meter" use "Time Signature for music meter
...
In general we should use
* "meter": signal level meter
* "time-signature": music meter / metrum
2022-04-05 18:56:10 +02:00
Ben Loftis
897798ed68
remove cue-behavior toggle from ruler context menu
2022-02-12 21:49:57 -06:00
Paul Davis
76ae8f29f7
triggerbox GUI: stop-all cue marker uses INT32_MAX now
2022-02-11 13:37:14 -07:00
Paul Davis
17e5667216
triggerbox: use translatable marker name function in GUI
2022-02-11 11:33:43 -07: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