summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_clock.cc
AgeCommit message (Collapse)Author
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.
2016-05-27Tempo ramps - display bbt in audio clock correctly when dragging tempos/meters.nick_m
2016-05-27Tempo ramps - respect tempo note type and meter note divisor correctly.nick_m
- tempo and meter position is now pulse-based, although meter still has a beat for convenience.
2016-05-27Tempo ramps - hook up tempo display, a new approach to audio-locked metersnick_m
- audio locked meters define an offset which is used for all public TempoMap methods while the internal map remains contiguous. Probably a few unexpected consequences here, but seems to work mostly.
2016-05-04OMNIBUS COMMIT: prefer const XMLNode::property method (and provide a real one)Paul Davis
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.
2016-02-22remove all trace of SAE from source code.Paul Davis
This had become incoherent over time, and posed a development hazard and burden going forward
2015-12-01Make capitalization consistent and other minor spelling corrections.André Nusser
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-09-28Revert "change the way the audio clock cursor is drawn (somewhat of an ↵Paul Davis
experiment but it has some benefits" This reverts commit 601770837e2530a73056a6aa67759d56e16e735a. This work continued in the "clockwork" branch where it was done correctly.
2015-09-28change the way the audio clock cursor is drawn (somewhat of an experiment ↵Paul Davis
but it has some benefits
2015-09-28when editing an audio clock, swallow illegal keys rather than allowing them ↵Paul Davis
to reach the rest of the GUI
2015-09-16Move UIConfiguration Singleton into UIConfiguration headerTim Mayberry
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-16Move DPIReset and ColorsChanged signals into UIConfigurationTim Mayberry
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-05-21tweak layout of main clocks so that HMS display remains center-justifiedBen Loftis
2015-04-21merge fix for tempo branchBen Loftis
2015-04-14simplify coaxing clock value out of ardourRobin Gareus
2015-03-31fix OSX/PPC 10.4 long mathsRobin Gareus