nick_m
0272d75768
Initial stab at making musical position useful for ranges.
...
- ranges may be glued to bars and beats.
- use exact beat for locations.
- adds 'start_beat' and 'end_beat' to Location xml (may
change in the future, as locations only require one position).
2016-07-27 00:02:03 +10:00
Paul Davis
cf52d6e4b4
enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h
2016-07-14 14:45:23 -04:00
nick_m
0bdbe56cf1
Stop passing references to things that may disappear when a metric section is replaced.
2016-07-10 02:18:37 +10:00
nick_m
074db3b861
Tempo ramps - more code consolidation wrt add meter/tempo.
2016-05-27 23:38:16 +10:00
nick_m
82d876b48b
Tempo ramps - clean up add/replace tempo
2016-05-27 23:38:16 +10:00
nick_m
2d3d7a5355
Tempo ramps - fix ambiguous api, fix flickering tempo curves.
2016-05-27 23:38:16 +10:00
nick_m
37ed0f6e9b
Tempo ramps - restore correct drag behaviour wrt audio-locked meters and right-click of associalted tempo
2016-05-27 23:38:15 +10:00
nick_m
e0607ca913
Tempo ramps - add gui dilation of tempos.
...
- a meter can be dragged using the constraint modifier, which
sets the previous tempo accordingly.
This could be added to the bbt ruler to allow direct dragging
of beats and bars, but the exact behavior of that is still
undecided. comments?
- also preliminary work on the necessary tempos locked to
audio-locked meters.
2016-05-27 23:38:15 +10:00
nick_m
4f8fa6787a
Tempo ramps - add undo to right-click lock style & ramp type changes.
2016-05-27 23:38:15 +10:00
nick_m
eb70cdce1f
Tempo ramps - don't set incorrect lock style when changing tempo type.
...
- fixes random crashes when changing tempo type with right click.
2016-05-27 23:38:15 +10:00
nick_m
b6afce7173
Tempo ramps - ok so you really do need to redisplay when tempo lock style is changed..
2016-05-27 23:38:15 +10:00
nick_m
f0955aeb57
Tempo ramps - redraw correctly when changing meter lock style.
2016-05-27 23:38:15 +10:00
nick_m
c6a66f1014
Tempo ramps - redraw after setting tempo type (ramped, constant) from context menu.
...
- not needed for lock style change.
2016-05-27 23:38:15 +10:00
nick_m
85c3284adc
Tempo ramps - add some right-click options to meter and tempo markers.
2016-05-27 23:38:15 +10:00
nick_m
cb43d485fa
Tempo ramps - another approach to first meter/tempo.
...
- first tempo is glued to first meter position as they are now
both locked to AudioTime.
- all existing audio-locked tempos to the left of the first meter
are made inactive. all to the right are made active.
2016-05-27 23:38:12 +10:00
Paul Davis
6991a07902
remove all trace of SAE from source code.
...
This had become incoherent over time, and posed a development hazard and burden going forward
2016-02-22 15:31:24 -05:00
Robin Gareus
22b07e0233
NOOP, remove trailing tabs/whitespace.
2015-10-05 16:17:49 +02:00
Paul Davis
621fd845e6
Revert "add new action and loop marker menu item for setting up loop record"
...
This reverts commit ebb43508f1 .
2015-09-28 17:44:04 -04:00
Paul Davis
ebb43508f1
add new action and loop marker menu item for setting up loop record
2015-09-28 17:42:11 -04:00
Robin Gareus
c3a7730c88
redisplay markers after removal - fixes #6596
2015-09-24 00:27:32 +02:00
Robin Gareus
e1f168de11
rename Marker class
...
Classes are in the global namespace.
OSX has a flat namespace and OSX32bit/Carbon has a Marker too.
2015-07-23 17:58:40 +02:00
Ben Loftis
91fac4c96d
merge fix for tempo branch
2015-04-21 08:35:20 -05:00
Ben Loftis
ffd32ae5e1
Right-clicking on the Loop/Punch ruler should "Do Something".
2015-03-13 16:25:59 -05:00
Colin Fletcher
1973243a98
Separate out creation of xrun markers from Editor::mouse_add_new_marker()
...
Remove the is_xrun parameter from Editor::mouse_add_new_marker(), and just
create the marker directly in ARDOUR_UI::create_xrun_marker(), so that xrun
markers don't become automatically selected when they appear.
2015-02-12 18:06:16 +00:00
nick_m
9af9e17adc
Add editor selection state to session history via a SelectionMemento, which
...
combines selection related editor properties with the current editor selection.
The related editor properties are:
mouse mode,
zoom setting,
left frame of the canvas,
y origin of the canvas.
Selection state now includes region views (storing the underlying region id)
and time.
This patch also fixes a region mute undo bug.
2014-12-18 11:03:10 -05:00
Robin Gareus
6b3a8915f3
add abort() to non-reached code
...
This cleans up a lot of false-positives in static analysis
and also helps compilers to optimize code paths in general.
(tagging the fatal stingstream operator as ‘noreturn’ is
far less trivial)
2014-11-14 11:30:08 +01:00
Paul Davis
f900711136
port changes to ARDOUR::Location and ARDOUR::Locations APIs from Tracks to Ardour.
...
Fixes deadlocks caused by mutex on Locations list, and clarifies the purposes and uses of the class-level and
object-level change-related signals.
2014-10-24 12:18:46 -04:00
Paul Davis
6a971e645d
use new ARDOUR::Location signals in GUI
...
Conflicts:
gtk2_ardour/editor_markers.cc
2014-09-19 23:06:26 -04:00
Paul Davis
4130513689
remove old connections to (now) static Location signals
2014-09-17 09:39:05 -04:00
Ben Loftis
8b98125ad3
fix various loop-initiation faults
2014-09-15 12:44:45 -05:00
Paul Davis
6a5d805b38
more canvas refactoring.
...
Remove Canvas::Layout, use Canvas::Container for the same purpose, move child-rendering into Item::render_children() so that it
could theoretically be used by any derived type.
2014-06-22 11:41:05 -04:00
Paul Davis
0796ccfb65
use newly factored canvas in gtk2_ardour
2014-06-21 11:44:22 -04:00
Paul Davis
97109672c7
initial redesign of canvas scrolling to facilitate independent x- and y-axis scrolling of specific groups within the canvas.
...
This commit should cause no change in behaviour, but contains all the code and changes necessary
for the next step
2014-06-03 16:09:06 -04:00
Paul Davis
68c5f05704
remove final reference to jack headers
2014-04-10 10:14:45 -04:00
John Emmas
21c32d68ef
Move '++next' (when sorting marker labels) so there's absolutely no chance of incrementing it once it reaches the list end
2014-03-15 14:40:36 +00:00
Paul Davis
42e6353338
fix thinko when relabelling markers
2014-03-14 13:46:30 -04:00
Paul Davis
d00dc6a706
various work to make loop/punch display work better (including fixes for bugs present in master also)
2014-01-27 21:27:13 -05:00
Paul Davis
3020b224fa
Merge windows+cc branch into cairocanvas branch. Not finished, need to now merge windows branch to get changes from there
2014-01-10 16:07:57 -05:00
Paul Davis
ea1ccb869a
fix merge with master
2013-10-31 13:16:51 -04:00
Colin Fletcher
8c26a2fab0
Don't allow loop, punch, or session range markers to be renamed.
...
Don't allow loop, punch, or session range markers to be renamed, even when
double-clicked.
2013-10-25 17:03:45 +01:00
Colin Fletcher
db0f2aad48
Mark session dirty when a marker is renamed.
2013-10-25 17:03:45 +01:00
Colin Fletcher
abb05680b4
Make double-click on marker pop up rename dialogue.
2013-10-25 17:03:45 +01:00
John Emmas
19bb2b33a8
Merge remote-tracking branch 'remotes/origin/cairocanvas' into windows
...
Conflicts (hopefully resolved):
gtk2_ardour/marker.cc
gtk2_ardour/midi_region_view.h
gtk2_ardour/region_gain_line.h
gtk2_ardour/utils.cc
gtk2_ardour/video_image_frame.cc
gtk2_ardour/wscript
libs/backends/jack/wscript
2013-09-21 09:17:25 +01:00
Paul Davis
c08b336292
Fix ambiguous type CheckMenuItem that is also defined via windows.h
2013-07-11 15:32:31 -04:00
Paul Davis
e2f0c5f91e
merge resolution with master
2013-05-02 20:21:54 -04:00
Paul Davis
63e4c37def
remove unnecessary sigc++ header
2013-04-30 13:50:44 -04:00
Paul Davis
d1a05240ef
fix clamping of line and rect coordinates to avoid issues with cairo when drawing way outside a surface's dimensions; move various coordinate methods down to Canvas, because they don't require GTK information; make visible_area() a Canvas virtual method so that we don't have to cast to call it
2013-04-17 10:53:17 -04:00
Paul Davis
8877199ae0
leftmost_position => leftmost_sample, current_page_frames => current_page_samples
2013-04-12 11:21:12 -04:00
Paul Davis
4258a34912
change all frame_to_pixel and pixel_to_frame to sample_to_pixel and pixel_to_sample
2013-04-12 11:15:45 -04:00
Paul Davis
aaea166135
initial commit of hand merging, plus getting "ancient" waf script to work correctly
2013-04-04 00:32:52 -04:00