summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_clock.h
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.
2018-02-20user-friendly hack/heuristic: if they edit a BBT non-duration clock to say ↵Paul Davis
zero beats, act as if they had used 1
2017-11-23Implement clock delta modesRobin Gareus
* use new config variable * update GUI to select delta-modes * delegate delta-calculation to MainClock * save offset to calculate absolute-time
2017-11-22Add seconds as clock-unitRobin Gareus
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-07-17Separate Ardour UI widgets into dedicated libraryRobin Gareus
2017-05-08Limit clock displays to 30days (720hours) by default.Robin Gareus
This prevents various edge-cases of selection-clocks (eg. unbound range selection after start-range; and makes it near impossible to roll-over 2^63 using GUI operations)
2017-04-19Add AudioClock::on() method as convenience method for serializationTim Mayberry
2017-03-20Towards a consistent render() API.Robin Gareus
This fixes an -Woverloaded-virtual ambiguity introduced in b5e613d45 void render (cairo_t*, cairo_rectagle*) void render (Cairo::RefPtr<Cairo::Context> const&, cairo_rectangle_t*) ArdourCanvas prefers cairomm and CairoWidget itself uses Cairo::Context, this improves overall API consistency.
2017-01-27mark session dirty when dragging tempo markers.nick_m
2016-12-17remove cruftRobin Gareus
2016-12-17Commence transport tool bar re-layoutRobin Gareus
2016-10-16Rework duration clock and TempoMap::insert_time to include meter at offset.nick_m
- should fix 7072 - also fixes scroll behavior over multiple tempi.
2016-05-27Tempo ramps - display bbt in audio clock correctly when dragging tempos/meters.nick_m
2016-04-24NO-OP whitespaceRobin Gareus
2016-04-24fix crash when loading a session with non-default clock modes.Robin Gareus
set_mode() emits ModeChanged which results in save_extra_xml(). If this happens during session-load, the XML iterator is invalidated.
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-06-17Add 'accept on focus out' parameter (default false) to AudioClockColin Fletcher
If this parameter is passed as 'true', then edits to the clock will be accepted when the user clicks away from the clock, rather than unconditionally discarded as hitherto.
2015-04-21merge fix for tempo branchBen Loftis
2015-04-14simplify coaxing clock value out of ardourRobin Gareus
2015-03-09Make left-click on tempo/meter in main clock edit current tempo/meterColin Fletcher
2015-02-12Add/edit tempo/meter change at right position with 'delta to edit cursor'Colin Fletcher
Find the absolute position of the main clock when 'display delta to edit cursor' is set when adding/editing tempo/meter changes from the context menu.
2014-12-31add the ability to use cairo scaling to warp the rendering of the main clock ↵Paul Davis
text
2014-12-22move all (G)UI related configuration parameters into UIConfiguration, not ↵Paul Davis
RCConfiguration
2014-07-09break out AudioClock::print_minsec() so that AudioClock and VerboseCursor ↵Paul Davis
can use the same formatting code.
2014-03-20change the meters into CairoWidget, add expose_area to CairoWidget::render()Robin Gareus
2012-12-29used fixed width for the big clock and remove all code in AudioClock ↵Paul Davis
associated with variable width, since it just really doesn't work very well, and probably cannot be made to work very well git-svn-id: svn://localhost/ardour2/branches/3.0@13744 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-27allow big block to be shrunk in size as well as expanded (suprisingly complex!)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13740 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13update BPM and Meter when changed, also change back labels for it.Robin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13486 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11add support for using - as prefix keys to enter a negative value in an audio ↵Paul Davis
clock. so far only used for session timecode offset option clock git-svn-id: svn://localhost/ardour2/branches/3.0@13443 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11show slave info in Min:Sec mode - fill empty spaceRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13438 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11re-nice audio clock horiz alignment.Robin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13428 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11first round of audio-clock font rendering updateRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13425 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-12tweaks to be ready for more information timecode display in Timecode clock modePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13264 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-31Move delta-to-edit-point options to the main clock context menus (#4472).Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12517 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07move CairoWidget into gtkmm2ext, add CairoPacker, made the time info box use ↵Paul Davis
CairoPacker, make the info status "bar" use CairoPacker git-svn-id: svn://localhost/ardour2/branches/3.0@10933 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21tentative code shuffle to allow for 2 different styles of clock editingPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10742 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21add validation checks on TC.hours, BBT.ticks and validate minsec data entryPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10740 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21use correct em width to position audio clock cursorPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10737 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-20audio clocks: focus-on-clock shortcut now works, scrolling and dragging know ↵Paul Davis
about x-offsets; cursor colors defined; click on an off clock no longer locates (time info box) git-svn-id: svn://localhost/ardour2/branches/3.0@10709 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-20audio clocks: use defined cursor colorPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10707 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-20audio clocks: big clock window now sizes itself to its current mode, all ↵Paul Davis
clocks pay attention to font scaling changes git-svn-id: svn://localhost/ardour2/branches/3.0@10706 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-19fix up big clock aspect ratio; fix color handling in audio clocksPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10704 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-19better solution to the big clock window focus issuePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10701 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-19add a signal so that if the Big Clock is closed, the edit window can grab ↵Paul Davis
focus back (may not be correct - should really capture close/delete signal; tweak size of audio clocks so that there is less dead space at the RHS, helps scroll wheel events to always do something git-svn-id: svn://localhost/ardour2/branches/3.0@10700 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-18add a cursor (prototype) to audio clocks for editing, fix negative value ↵Paul Davis
display, and more git-svn-id: svn://localhost/ardour2/branches/3.0@10692 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-18fix some issues with delta clocks, while introducing a couple more since the ↵Paul Davis
clock can now show +ve and -ve offsets, but -ve ones computed incorrectly for timecode and BBT git-svn-id: svn://localhost/ardour2/branches/3.0@10681 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-18fix transition in and out of delta clock modePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10679 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-18don't cache width & height for CairoWidget; provide option for all ↵Paul Davis
CairoWidgets to not draw their backgrounds; provide a static method to allow any (Container, probably) widget to provide background color to a CairoWidget without the requirement that it have its own window; remove existing cursor from clocks; clock text no longer has background attribute set, to correct a mistake in my understanding of pango attributes git-svn-id: svn://localhost/ardour2/branches/3.0@10673 d708f5d6-7413-0410-9779-e7cbd77b26cf