summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_clock.cc
AgeCommit message (Collapse)Author
2014-09-11fix a bunch of memory leaksRobin Gareus
2014-08-30redraw clock(s) only when needed.Robin Gareus
2014-07-10fix TC entry beyond 2^31 frames.Robin Gareus
2014-07-09break out AudioClock::print_minsec() so that AudioClock and VerboseCursor ↵Paul Davis
can use the same formatting code.
2014-06-25move utility functions into a dedicated namespaceRobin Gareus
2014-03-20change the meters into CairoWidget, add expose_area to CairoWidget::render()Robin Gareus
2014-01-10Merge windows+cc branch into cairocanvas branch. Not finished, need to now ↵Paul Davis
merge windows branch to get changes from there
2013-11-11fix audio-clock sample entry, handle empty entry as NOOPRobin Gareus
2013-10-06Merge branch 'master' into windows+ccJohn Emmas
Conflicts (hopefully resolved): gtk2_ardour/ardour_ui.cc gtk2_ardour/ardour_ui.h gtk2_ardour/ardour_ui_options.cc
2013-10-03'gtk2_ardour' - Use 'floor / floorf' instead of 'trunc / truncf'John Emmas
2013-10-03'gtk2_ardour' - Add namespaces + casting where necessary + general bits of ↵John Emmas
'correctness' to keep MSVC happy
2013-09-19switch from JACK_Slave to Engine_SlavePaul Davis
2013-07-31correct error messageRobin Gareus
2013-07-15C++11 Building - Add space between macros and quoted stringsMichael R. Fisher
2013-03-05remove a couple of unused font style names, remove SAE style filesPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@14151 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-03-04use default (not monospace) font for clock textRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@14137 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-03-03clock info-box: fix alignment and spacingRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@14123 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-03-03replace unicode dash with (monospace) minus.Robin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@14122 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-04allow region list selection of whole file regions to select every instance ↵Paul Davis
of a region that has any source relationship with that whole file region (from a logic feature that came up while writing the manual) git-svn-id: svn://localhost/ardour2/branches/3.0@13779 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-30make 2 audio clock strings translatablePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13746 d708f5d6-7413-0410-9779-e7cbd77b26cf
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-12-19fix crash reported by colinf when editing via >1 click on an audioclock. ↵Paul Davis
this caused pre_edit_string to be reset to an empty string on the non-first clicks, and then string::at() was used on it. both aspects fixed git-svn-id: svn://localhost/ardour2/branches/3.0@13682 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-06several theme changes. changed drawing of rounded_rectangle to be more ↵Ben Loftis
correct. operation and feel should be more consistent. rec-mute-solo buttons are now dull until enabled. this might be debatable. otherwise if it looks weird, try loading Window->Theme Manager and clicking Restore Defaults git-svn-id: svn://localhost/ardour2/branches/3.0@13611 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-15hotfix negative TC editing - problem was introduced in r13491Robin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13506 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-14indicate negative TC when edit is positive.Robin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13491 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-14improve negative [offset] TC entryRobin Gareus
* make mouse interaction work with negative TC * show minus-sign when edit is negative TODO: ?minus? sign indicator when text editing a negative TC. git-svn-id: svn://localhost/ardour2/branches/3.0@13488 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-13implement TC offset for slave&generator.Robin Gareus
Many related changes that require atomic update, mostly because ClockOption slots changed: * change offset config format to std:string (backwards compat - reads 0) * make Timecode offset independent from fps * sample_to_timecode() handle negative sample-num * audio-clock fix entry and edit of negative numbers * option editor: - remove old global internal offset - add slave & generator TC entry - still needs UI cleanup, tooltops, maybe sep. tab.. * LTC & MTC slave& generator: - cache offset - subscribe to parameter changes git-svn-id: svn://localhost/ardour2/branches/3.0@13485 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13clock: pull-up/down display updateRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13484 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13oiling the audio clockRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13478 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13parse keyboard entered drop-frame timecode deltaRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13476 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13make audio clock fill vertical spaceRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13474 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13shorten Metrum & Tempo labelRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13472 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12add labels for BBT clock infoRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13463 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12display slave initial before slave timecodeRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13462 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12really fix vertical alignment of info text (again :) )Robin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13461 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12audio-clock: fix right-alignmentRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13458 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12redraw of markup'ed sections when style/font is [re]loaded.Robin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13456 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12fix for crash caused as slave is switching from non-TC source to TC-sourcePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13453 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-12reduce audio clock heightRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13451 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11MIDIClock is not a Timecode slave, fix segfaultRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13446 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11clock width for 99999 bars (9999 allows 2h46m @ 240bpm)Robin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13445 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-11highlight mismatching slave TCRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13442 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11fix horiz alignment (corner-radius is added to layout)Robin Gareus
and subtract alignment from mouse interaction git-svn-id: svn://localhost/ardour2/branches/3.0@13440 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-11fix initial info color when switching to delta mode.Robin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13437 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11rounding off all clock cornersRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13436 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11NOOP: remove trailing whitespaceRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13430 d708f5d6-7413-0410-9779-e7cbd77b26cf