summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_clock.cc
AgeCommit message (Collapse)Author
2020-05-12Optimize AudioClock info-text renderingRobin Gareus
Avoid markup, pango markup parsing is expensive, particularly for info strings which may be updated periodically at short time intervals.
2020-03-24remove debug outputPaul Davis
2020-03-24basic pass at deleting scratch sessionsPaul Davis
2020-03-11audio clocks that are not editable are not focusable eitherPaul Davis
2020-01-18rename DoTheRightThing to RollIfAppropriatePaul Davis
2020-01-18Session::request_locate() takes a tri-valued second argument for ↵Paul Davis
"roll-after-locate" This allows callers to defer logic about auto-play/current rolling state and more to TransportFSM where it can be cnentralized and is less ambiguous
2020-01-12Apply some missing widget namesBen Loftis
2019-09-18NO-OP: fix some Wimplicit-fallthrough, see prev commitRobin Gareus
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-03-07Fix some Gtk::Menu related memory leaksRobin Gareus
A Gtk::manage()d widget will be deleted when its parent container is destroyed. Top-level context menus are not inside a container and hence need to be manually deallocated. This adds explicit delete calls for menus where there is a member variable reference to the Menu.
2018-10-26Wimplicit-fallthrough fixes for gtk-ardourRobin Gareus
2018-10-05move away from "sync source" conceptsPaul Davis
2018-09-18new transport slave/master implementation, gui editionPaul Davis
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-23Remove duplicate assignment (amend 867460cd3)Robin Gareus
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-17Remove unused sources & includesRobin Gareus
2017-07-17Separate Ardour UI widgets into dedicated libraryRobin Gareus
2017-07-01NO-OP whitespace (updated GH PR #357)Thomas Brand
2017-05-31if actively recording, prevent interaction between mouse and audio clock ↵Paul Davis
widget(s)
2017-05-10Remove ambiguity to keep MSVC happyJohn Emmas
NB: Do we really need 'floor()' here?? (we seem to be multiplying integers)
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-19Use XMLNode::get_property in AudioClock classTim Mayberry
2017-03-24Revert "consistent use of context-menu popups"Robin Gareus
This reverts commit b3722f7063699fafd0421d504e05a7300c70e0ec. In some cases ardour shows context-menu on right-mouse-button release. In this case selecting a menu-entry should happen with the left-mouse button (or any button?!) Using ev->button is only correct if the menu is temporary and only visible while the button is held, button release then activates the menu-item. This needs further work, in some cases allowing any button (0) to work makes sense and overall consistency needs to be improved. Different places use different strategies for context-menus which don't always match the button used in the event-handler. This is a hotfix (to make TAV context menus work again with left-click)
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-03-16consistent use of context-menu popupsRobin Gareus
2017-01-31Potential clock info-text color-glitch fix <span color>Robin Gareus
Don't switch between set_text() and set_markup(); always use markup because set_markup() modifies the attribute list of the pango-layout. This might fix: "Switch Int. clock to MTC and back to Int. and the indicator redraws with improper colors"
2017-01-27mark session dirty when dragging tempo markers.nick_m
2017-01-10Fix spacing for TC displayRobin Gareus
2017-01-01Only display pull-up/down if it's being used.Robin Gareus
2016-12-18Clean up Clock Tempo, TimeSignature labelsRobin Gareus
2016-12-18Add clock-button tooltipsRobin Gareus
2016-12-18Tweak Tempo and Meter precision, and shorten the label to accomodateRobin Gareus
2016-12-17remove cruftRobin Gareus
2016-12-17Commence transport tool bar re-layoutRobin Gareus
2016-11-12fix buffer overflow printing tempo/meterRobin Gareus
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-21bbt duration clock tweak.nick_m
2016-10-20bbt duration clock - revert 3d38b4f58ec0 and a32aea4201. use an alternate fix.nick_m
2016-10-19Duration clock edit uses current time to resolve meter.nick_m
- should fix the remaining part of #7072
2016-10-16BBT duration clock can only compare musical times.nick_m
2016-10-16AudioClock: remove duplicated code. amends 3a0a628a7nick_m
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-09-06use moved version of reset_focus()Paul Davis
2016-09-06use existing Editor::reset_focus() method to reset focus after audio clock ↵Paul Davis
editing is done
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-05-27Tempo ramps - rename bbt_time() -> bbt_at_frame(), frame_time() -> ↵nick_m
frame_at_bbt()
2016-05-27Tempo ramps - rename tempo_at() -> tempo_at_frame().. 3 decimals for the ↵nick_m
audioclock tempo display.