summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_clock.h
AgeCommit message (Collapse)Author
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
2011-11-18implement relative clock editing (terminated by + or - keys, which adjust ↵Paul Davis
the clock by the amount of time entered) git-svn-id: svn://localhost/ardour2/branches/3.0@10670 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-18a few tweaks for audio clocks (handle loss of focus, change editing colors ↵Paul Davis
at the right times) and prep for relative edits git-svn-id: svn://localhost/ardour2/branches/3.0@10669 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-17all new implementation of audio clocks, with entirely new editing model. not ↵Paul Davis
entirely finished, but lookable, and usable git-svn-id: svn://localhost/ardour2/branches/3.0@10662 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-08don't use selection clocks show MIDI selection when in internal edit mode; ↵Paul Davis
remove "Off" as an option for all AudioClocks because it makes no sense git-svn-id: svn://localhost/ardour2/branches/3.0@9688 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-07remove "Off" as a clock mode, make it a state instead; track editor mouse ↵Paul Davis
mode when displaying selection (not 100% coverage of different selections yet); add extra negative field for timecode clock to help with text alignment; add clock mode = timecode option to menus git-svn-id: svn://localhost/ardour2/branches/3.0@9685 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-07lots of clock tweaks, but still, STILL! not done, reallyPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9678 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-03next iteration of clock work. still far from complete, and probably waiting ↵Paul Davis
on a rethink of text rendering+layout. but it has the info block now, and it semi-works git-svn-id: svn://localhost/ardour2/branches/3.0@9676 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02add extended info fields to clocks; clock tweaksPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9675 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02audio clock transition to CairoEditableText, part 1Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9671 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01Delete trailing whitespaceDavid Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-22Trim some lines from AudioClock by using maps to keep the EventBoxes and ↵Carl Hetherington
Labels in. git-svn-id: svn://localhost/ardour2/branches/3.0@9565 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-22Separate milliseconds from seconds in the clock widget (#4053).Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@9564 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-19Terminate RapidScreenUpdate clock updates earlier when they are not ↵Carl Hetherington
necessary. Fix set from playhead when used on the position clock in the region properties dialogue. Make clocks sample-accurate when they are set in frames and then queried in frames without an edit in-between. git-svn-id: svn://localhost/ardour2/branches/3.0@8547 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03Remove all use of nframes_t.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8166 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-01Re-expose timecode offset in the session option editor.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8146 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-01Revert previous incorrect patch.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8144 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-01Remove unused timecode offset stuff.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8143 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-18if a clock is in delta-edit, it should be set to show a duration. this ↵Paul Davis
matters in BBT mode, where "zero" is 0|0|0 in duration mode and 1|1|0 otherwise. there is still a bug with the mouse tracking in delta edit mode, but that is a separate issue git-svn-id: svn://localhost/ardour2/branches/3.0@7905 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-17megaopus patch #2 for today: remove nframes64_t and sframes_t from sourcePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7792 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-05more strip silence dialog changes, to use audio clocks, show smallest ↵Paul Davis
silence/audible segments, etc. git-svn-id: svn://localhost/ardour2/branches/3.0@6734 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-15dynamically resize text in the big clock, first versionPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@6494 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-17switch to using boost::signals2 instead of sigc++, at least for libardour. ↵Paul Davis
not finished yet, but compiles, loads sessions, records and can close a session without a crash git-svn-id: svn://localhost/ardour2/branches/3.0@6372 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-26Fix #2931; redundant menu items on main clocks.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@6184 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-12tidy up (a bit) locations editing widget ; use pixbuf/string code from ↵Paul Davis
2.0;remove edit point clock git-svn-id: svn://localhost/ardour2/branches/3.0@6074 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-26change the use of "SMPTE" to "Timecode" to reflect the global economy and ↵Paul Davis
the end of american dominance on the world audio production stage git-svn-id: svn://localhost/ardour2/branches/3.0@5924 d708f5d6-7413-0410-9779-e7cbd77b26cf