summaryrefslogtreecommitdiff
path: root/gtk2_ardour/marker.cc
AgeCommit message (Collapse)Author
2019-12-09When a marker is selected, change the marker color in addition to the line ↵Ben Loftis
color.
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-09new_snap: Snapped Cursor ( squashed commit )Ben Loftis
Snapped Cursor is a line that follows the edit point, and indicates where the operation will occur. This replaces and extends the line that appears with the Cut tool. New associated preferences: snap_threshold and show_snap_cursor.
2018-01-25Add tooltip to markers so they can be found without zooming in.Ben Loftis
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-01NO-OP whitespace (updated GH PR #357)Thomas Brand
2017-03-11Tweak tempo-marker grab-handle (extend left/right)Robin Gareus
2017-02-27Tempo Marks : set point colour by discontinuity, display non-quarter pulse ↵nick_m
if we are non-quarter. - a jump in tempo by more than 1 ntpm results in a red tempo mark pointer. - ignore UIConfiguration::get_allow_non_quarter_pulse() when displaying note type in the marker text (only display note type if we are non-quarter).
2016-12-19Update Marker display style: consistent height & colorRobin Gareus
2016-12-16be a bit less flickery when redrawing tempo/meter markers.nick_m
2016-08-20Amend last commit - remove some code.nick_m
2016-08-20Swap tempo/meter colours when hovering. Use entered marker for these as well.nick_m
- Note : entered_marker modifies the 'p' press, locating to the currently hovered-over marker.
2016-07-25the endless quest to plug memory leaks -- episode 379Robin Gareus
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-05-27Tempo ramps - tempo marker's mark indicates curve height ar point.nick_m
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-09-16Move UIConfiguration Singleton into UIConfiguration headerTim Mayberry
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-16Move ARDOUR_UI::ui_scale into UIConfiguration classTim Mayberry
2015-07-23rename Marker classRobin Gareus
Classes are in the global namespace. OSX has a flat namespace and OSX32bit/Carbon has a Marker too.
2015-04-23scale markersRobin Gareus
2015-02-11remove use of TimeRectanglePaul Davis
2014-12-28fix marker rendering and layoutRobin Gareus
2014-12-28apply font-scale to overall layout (rulers, track-header) - fixes #6088Robin Gareus
2014-12-14fix up requested color names everywhere.Paul Davis
Thank <deity> for emacs ... space-uncamelcase-word-at-point FTW
2014-12-14initial pass to replace all UIConfiguration::get_XXXXXX() calls with ↵Paul Davis
UIConfiguration::color(name). IMPORTANT: names have not been downcased and spaced yet, so many colors are not found
2014-11-03use ArdourCanvas::TimeRectangle for regions, notes, markersPaul Davis
2014-10-21remove "canvasvar_" from all functions related to obtaining values from ↵Paul Davis
ARDOUR_UI::config()
2014-09-22fix position of left edge of a marker rectangle when the label is on the ↵Paul Davis
left, and slightly pad the rectangle when the label is on the right
2014-06-25move utility functions into a dedicated namespaceRobin Gareus
2014-06-22more canvas refactoring.Paul Davis
Remove Canvas::Layout, use Canvas::Container for the same purpose, move child-rendering into Item::render_children() so that it could theoretically be used by any derived type.
2014-06-21use newly factored canvas in gtk2_ardourPaul Davis
2014-06-08introduce Drag::_trackview_only which indicates that all y-axis positions ↵Paul Davis
for the pointer during a drag should be relative to the top of the trackview group. More or less all drags except for Cursor (playhead) and drags in the range marker bars have this true (which is the default value)
2014-06-03remove timebar canvas item from markersPaul Davis
2014-01-13clamp marker name text appropriatelyPaul Davis
2014-01-13define marker height in one location, to avoid duplicated magic numbers and ↵Paul Davis
allow easy changing
2013-06-26move marker text up by 2 pixelsPaul Davis
2013-04-17various work waveview amplitude mgmt; fix playhead cursor drag from timebar ↵Paul Davis
click
2013-04-17remove all calls to Outline::set_outline_width (1) because this is "wrong" ↵Paul Davis
when using Cairo - the default is 0.5 and it can remain that way
2013-04-16change UIConfig to use accessor/setter methods like RCConfig so that ↵Paul Davis
ParameterChanged methods can actually be emitted; add variable (over a small range) background shading for all TimeAxisViewItems
2013-04-15fix markers so that the blue line spans both canvasesPaul Davis
2013-04-15Fix dragging objects on the canvas and remove redundant canvas groupsPaul Davis
Delivery of fake motion events to the editor needed the event coordinates to be in canvas space, as they are with "real" events. Editor and other objects had many redundant groups from timbyr's work on gnomecanvas to scroll by moving groups. We don't need this anymore with cairo-canvas (though possibly a stationay background group for the canvas might be useful again one day as in the SAE logo. Its implementation would be fairly different though, since we would have to explicitly move the group on every scroll, since nothing else ever moves on scroll). Also tweaks to text item placement, and switch TimeAxisViewItem from name_pixbuf to name_text, since ArdourCanvas::Text is already "pixbuf optimized".
2013-04-12change all frame_to_pixel and pixel_to_frame to sample_to_pixel and ↵Paul Davis
pixel_to_sample
2013-04-12remove all unit-based methods from (Public)Editor; rationalize ↵Paul Davis
Editor::event_frame() to clearly identify whether the passed-in GdkEvent has window units or canvas units (the latter will be true for all events that are handled by the canvas and then passed to Editor
2013-04-10remove debugging outputPaul Davis
2013-04-09a variety of fixes for the cairocanvas, but it still buggy as hell handling ↵Paul Davis
events and lots of other stuff
2013-04-08fix up marker text colorPaul Davis
2013-04-06canvas markers now use ArdourCanvas::Text, not ArdourCanvas::Pixbuf, since ↵Paul Davis
the latter will be optimized to use Pixbuf too
2013-04-04commit immediately post linkingPaul Davis
2013-04-04initial commit of hand merging, plus getting "ancient" waf script to work ↵Paul Davis
correctly
2012-05-23Nudge markers up one pixel (should fix #4620).Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12394 d708f5d6-7413-0410-9779-e7cbd77b26cf