summaryrefslogtreecommitdiff
path: root/gtk2_ardour/tempo_lines.cc
AgeCommit message (Collapse)Author
2019-08-03Update GPL boilerplate and (C)Robin Gareus
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-04-08NO-OP: whitespace, alignmentRobin Gareus
2017-09-24convert codebase to use Temporal for various time typesPaul Davis
2017-09-18globally change all use of "frame" to refer to audio into "sample".Paul Davis
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-06-09Fix incorrect positioning of tempo line subdivisions if first meter is non-zeronick_m
Commit cebefe6 assumed that frame 0 was the music origin. Silly me.
2017-06-09TempoLines deletes its bfc on destructionnick_m
2017-06-09Tempo lines display subdivisions correctly over a tempo changenick_m
TempoMap::get_grid() supplies a list of beat positions, leaving the lines to work out any subdivision positions. This is fine, unless a tempo section falls in between beats. Use a BeatsFramesConverter along with a quarter note position (in the BBTPointsList) to make this easier.
2016-11-11rename Tempo _beats_per_minute to _note_types_per_minute, provide pulse helpers.nick_m
- adds quarter_notes_per_minute(), note_divisions_per_minute (double) pulses_per_minute() and frames_per_quarter_note() - this should be a no-op except for the use of tempo by the vst callback which definitely uses quarter notes per minute. - the XML node for TempoSection named 'beats-per-minute' has been renamed.
2016-10-19Tempo lines drawing performance tweak.nick_m
2016-10-19Tempo line tweaks.nick_m
- ensure lines don't get too dense in the all bars case. - never draw tick divisions in the all bar case.
2016-10-19Improve bbt ruler drawing performance for large time ranges.nick_m
- when the timeline displays many bars, zoom/autoscroll speed is improved by calculating the bbt ruler scale first then requesting a suitably scaled grid.
2016-05-27Tempo ramps - fix various sub-beat tempo line bugs.nick_m
- actual meter is taken into account now.
2016-05-27Tempo ramps - fix BBTPoint wtf.nick_m
- tempo tick lines should draw properly now.
2016-05-27Tempo ramps - tempos now musically snap to their future.nick_m
2016-05-27Tempo rambo - more bbt scale fiddling.nick_m
2016-05-27Tempo rampo - tempo tick lines no longer assume constant tempo.nick_m
2016-05-27Tempo ramps - fix compilationnick_m
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-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-09-16Move UIConfiguration Singleton into UIConfiguration headerTim Mayberry
This removes the direct dependence on ardour_ui.h from 39 files
2015-01-10Raise threshold for showing ticks for a bit.David Robillard
This fixes two zoom levels (the closest that shows bars, and the next closest) that had the same tick resolution despite enough space.
2015-01-08More contrast between different division lines.David Robillard
2015-01-08Stop showing bar lines sooner.David Robillard
Not sure if this is a DPI dependent thing, but when zooming out some of the steps had way too dense bar lines for me.
2015-01-08Slightly more distinct beat/subdivision lines.David Robillard
2015-01-07Draw beat sudivisions according to snap setting.David Robillard
2015-01-07High resolution tempo lines.David Robillard
2014-12-15next modifierPaul Davis
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-10-21remove "canvasvar_" from all functions related to obtaining values from ↵Paul Davis
ARDOUR_UI::config()
2014-06-22more canvas refactoring.Paul Davis
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-21use newly factored canvas in gtk2_ardourPaul Davis
2014-06-19Summary changes :nick_m
* Use correct image format for background image * Construct thr ImageSurface as per cairo docs * Place start/end markers in background image Tempo bars : * adjust beats display threshold to (hopefully) coincide with BBT ruler better.
2014-06-09use Canvas::LineSet for tempolines rather than N different Canvas::Line ↵Paul Davis
items plus a cache
2014-06-03initial redesign of canvas scrolling to facilitate independent x- and y-axis ↵Paul Davis
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-02-12make measure line positioning use Editor::sample_to_pixel() and avoid extra ↵Paul Davis
0.5 pixel shift
2013-06-24fix up size and drawing of measure lines, even when vertically scrolledPaul Davis
2013-06-24an awful lot of tweaks to drawing detailsPaul Davis
2013-04-24many pervasive changes primarily related to waveform drawing, particular ↵Paul Davis
content-dragging, colors, and more
2013-04-21remove probably premature-or-no-longer-necessary optimization of measure ↵Paul Davis
line drawing
2013-04-21Revert "add Group::clear(), do not clear _canvas member of Item when ↵Paul Davis
unparented (only the parent is changed)" This reverts commit a4df65a56f83823aba27432685977f420458a213.
2013-04-21add Group::clear(), do not clear _canvas member of Item when unparented ↵Paul Davis
(only the parent is changed)
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-16fix bug with tempo lines not extending far enough in the y-axis - since this ↵Paul Davis
is the cairo canvas now, just extend them to COORD_MAX .. yay!
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
2013-04-12change frames_per_pixel to samples_per_pixelPaul Davis
2013-04-06merge with master, including manual merge conflict resolutionPaul Davis
2013-04-04commit immediately post linkingPaul Davis
2013-04-04initial commit of hand merging, plus getting "ancient" waf script to work ↵Paul Davis
correctly