summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_tempodisplay.cc
AgeCommit message (Collapse)Author
2016-05-27Tempo ramps - ensure displayed grid extends beyond the leftmost frame.nick_m
2016-05-27Tempo ramps - fix ambiguous api, fix flickering tempo curves.nick_m
2016-05-27Tempo ramps - tempo marker's mark indicates curve height ar point.nick_m
2016-05-27Tempo ramps - more bbt dragging work.nick_m
- display prev tempo and tempo at mouse while dragging - simplify ramp dilation somewhat.
2016-05-27Tempo ramps - add visualtempo curve, dragging bbt or music rulers with ↵nick_m
constraint modifier dilates previous tempo.
2016-05-27Tempo ramps - remove unused var.nick_m
2016-05-27Tempo ramps - prevent adding tempos before the first tempo.nick_m
2016-05-27Tempo ramps - adding a new tempo doesn't involve a dialog.nick_m
2016-05-27Tempo ramps - tempo marks use mvc-style copy drag, don't crash if two ↵nick_m
successive ramped tempos are the same :|
2016-05-27Tempo ramps - api change, remove some code.nick_m
2016-05-27Tempo ramps - pressing constraint modifier keys during tempo drag changes ↵nick_m
tempo with vertical movement, incorporating beat constraint (if present). - makes it easy to find suitable accelerandos for hit points in conjunction with playhead position, beat-locked tempos and initial meter frame.
2016-05-27Tempo ramps - small bug fixes/cleanup.nick_m
2016-05-27Tempo ramps - music-locked meters now use beats rather than pulses as their ↵nick_m
reference. - fixes many problems with a non-zero audio-locked first meter.
2016-05-27Tempo ramps - improve music-locked meter drags, improve dump().nick_m
- dump now shows cross-calculation of tempo positions.
2016-05-27Tempo ramps - allow moving the first meter if audio locked.nick_m
- strangely broken wrt the grid, but kind-of works.
2016-05-27Tempo ramps - check for impossible locations tempo dialog bbt entry. ↵nick_m
reorganise code.
2016-05-27Tempo ramps - add method to handle beat-based tempo reordering. clean code.nick_m
2016-05-27Tempo ramps - fix crash-causing locking errors. clean up code a bit.nick_m
2016-05-27Tempo ramps - setting bbt of an audio-locked tempo marker in the tempo ↵nick_m
dialog works.
2016-05-27Tempo ramps - restore bbt settings in tempo dialog for audio-locked tempo ↵nick_m
markers - see comments
2016-05-27Tempo ramps - fix messed up meter section state, audio-locked tempos ignore ↵nick_m
the bbt setting in the tempo dialog for now.
2016-05-27Tempo ramps - first stab at metric marks locked to frames or beats.nick_m
- pretty much untested.
2016-05-27Tempo ramps - api rename, fix various meter and tempo dialog bugs.nick_m
2016-05-27Tempo ramps - remove the concept of bars from tempo sections.nick_m
- this helps where tempo and meter have a somewhat circular dependency. MetricSection now has a musical position expressed in beats (a double). MeterSection still has a bbt, but it really isn't needed as we have enough information to discover the number of bars at a given beat without it. TempoSection now has a hack to enable loading of legacy sessions, which will ultimately be a lot cleaner than the current code. Removing bars from tempo sections also allows us to place them at arbitrary frames (implemented here).
2016-05-27Tempo ramps - massively speed up dragging of tempo marks.nick_m
2016-05-27Tempo ramps - allow live updating of tempo markers.nick_m
- all a bit slow, but should be ok once we can lock markers to frames.
2016-05-27Initial stab at tempo ramps.nick_m
Replaces the list of points in TempoMap with TempoSection functions, which compute tempo-at or tick-at time relative to tempo section start. TempoMap consults them additively to determine things like bbt_time(), frame_time() get_grid() etc. This has a marked effect on scrolling speed along with the code simplification in the places it has been attempted. Several things are broken here. Currently every ramp except the last one is an exponential ramp. this may be simple to fix :). Mouse-over midi grid doesn't match mouse click grid. should also be simple. Many things seem to work, but their accuracy should be in question until each area has been addressed.
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-09-16Move UIConfiguration Singleton into UIConfiguration headerTim Mayberry
This removes the direct dependence on ardour_ui.h from 39 files
2015-07-23rename Marker classRobin Gareus
Classes are in the global namespace. OSX has a flat namespace and OSX32bit/Carbon has a Marker too.
2015-03-14Don't set the following dialogs to be transients for the editor:nick_m
Control point dialog Edit note dialog Both types of tempo dialog Both types of meter dialog.
2015-01-07Draw beat sudivisions according to snap setting.David Robillard
2015-01-07High resolution tempo lines.David Robillard
2014-12-22move all (G)UI related configuration parameters into UIConfiguration, not ↵Paul Davis
RCConfiguration
2014-12-14fix up requested color names everywhere.Paul Davis
Thank <deity> for emacs ... space-uncamelcase-word-at-point FTW
2014-12-14initial pass to replace all UIConfiguration::get_XXXXXX() calls with ↵Paul Davis
UIConfiguration::color(name). IMPORTANT: names have not been downcased and spaced yet, so many colors are not found
2014-11-14add abort() to non-reached codeRobin Gareus
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-10-21remove "canvasvar_" from all functions related to obtaining values from ↵Paul Davis
ARDOUR_UI::config()
2014-06-25move utility functions into a dedicated namespaceRobin Gareus
2014-06-09use Canvas::LineSet for tempolines rather than N different Canvas::Line ↵Paul Davis
items plus a cache
2014-02-12make measure line positioning use Editor::sample_to_pixel() and avoid extra ↵Paul Davis
0.5 pixel shift
2014-01-27rationalize, consolidate and make work dbl-click editing for regions and ↵Paul Davis
markers, as part of the Drag model rather than discretely
2013-06-24fix up size and drawing of measure lines, even when vertically scrolledPaul Davis
2013-05-02merge resolution with masterPaul Davis
2013-05-02remove all of Gtk::Window::set_position (WIN_POS_MOUSE) for anything ↵Paul Davis
deriving from ArdourDialog or ArdourWindow; move the set_position() call into those classes' constructors, so that they are called before the windows are realized, and thus it actually works
2013-04-24many pervasive changes primarily related to waveform drawing, particular ↵Paul Davis
content-dragging, colors, and more
2013-04-20remove Editor::redraw_measures to improve efficiency of tempo measure line ↵Paul Davis
redraws
2013-04-17fix clamping of line and rect coordinates to avoid issues with cairo when ↵Paul Davis
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-16change UIConfig to use accessor/setter methods like RCConfig so that ↵Paul Davis
ParameterChanged methods can actually be emitted; add variable (over a small range) background shading for all TimeAxisViewItems
2013-04-15a few changes to fix region dragging, all related to coordinate system ↵Paul Davis
handling, which is now much simpler with the new canvas; more debugging output when asked for