summaryrefslogtreecommitdiff
path: root/libs/canvas/canvas
AgeCommit message (Collapse)Author
2015-06-12We were 2 more debug "bits" away from overflow, so recast PBD::DEBUG ↵Paul Davis
mechanism away from a 64bit integer and toward std::bitset. Clean up a few minor related PBD::DEBUG issues along the way
2015-06-11more refactoring of WaveView threaded code to try to get to heart of crash bugPaul Davis
2015-06-11don't queue a callback with the idle event for waveview image generation if ↵Paul Davis
one is already queued. Also, hold relevant lock when waking image rendering thread.
2015-06-10add PBD::DEBUG::WaveViewPaul Davis
2015-06-04use existing partial existing waveview images (if they exist) while waiting ↵Paul Davis
for the full ones
2015-06-01drop in threaded waveview changes via the two affected files.Paul Davis
Rebasing the feature branch against master was too messy, and only these two files were changed. The development history of this branch could easily have been --squash'ed anyway, so not much of a loss
2015-04-29NOOP: fix indentationPaul Davis
2015-04-29[Summary] Should have been committed with previous: made background fade ↵GZharun
optional and not shown by default
2015-04-29fix issue with manual merge conflictPaul Davis
2015-04-29manually apply grygorii's API to manage a correction for pango errors in ↵Paul Davis
text size computation on OS X
2015-04-29[Summary] Fixed issue when width request from Cavas text returned old width ↵GZharun
value [Reviewed by] Paul Davis Conflicts: libs/canvas/canvas/text.h
2015-04-29do the right thing when TrackingText::offset is changedPaul Davis
2015-04-29Fix method hiding in Canvas::TextPaul Davis
2015-04-29add API to Ruler to optionally draw a divider (2 single pixel horizontal ↵Paul Davis
lines) at some position within the vertical extent of the ruler
2015-04-29add Rectangle::vertical_fraction() as a convenience methodPaul Davis
Conflicts: libs/canvas/rectangle.cc
2015-03-29Better fix for 6183.nick_m
Invalidate all source entries from the image cache when we get our region's DropReferences signal, while ignoring any subsequent regions with no source.
2015-03-22Provide an image if there are no peaks.nick_m
2015-03-14Move PC flags to avoid obscuring region name.David Robillard
Fixes bug #6179. Top vs. bottom seems pretty arbitrary to me, and this solves the obscuring issue (which is quite common since there are often PC events at the start of MIDI files), so bottom it is.
2015-02-12add accessor methods for single_exposureBen Loftis
2015-02-12_single_exposure is now a member variable for each GtkCanvas.Ben Loftis
Gtk coalesces multiple exposes into a single combined rect. If _single_exposure is disabled, we break apart the individual expose rects for the canvas rendering.
2015-02-11simplify Canvas::Rectangle rendering to avoid unnecessary nonsense, and ↵Paul Davis
remove TimeRectangle
2015-02-11Canvas::Rect::contains() should treat its right/left coordinates as exclusivePaul Davis
2015-02-10add a sort-of hack to allow us to avoid drawing the first pixel of a ↵Paul Davis
waveview when necessary
2015-02-09canvas items must be able to use fractional positions when rendering.Paul Davis
This is required to be able to draw precise single pixel lines, as described in the Cairo FAQ
2015-01-16Revert "Kludgey fix for invisible playhead when scrolled."David Robillard
This reverts commit 8f823388d9bd5aa8e297ab05be8c9fb323518945.
2015-01-16Compute arrow bbox manually to appease crazy canvas.David Robillard
2015-01-16Kludgey fix for invisible playhead when scrolled.David Robillard
The problem this is avoiding makes absolutely no sense. Either I'm dumb, or something is more deeply wrong with scroll group bounding boxes, or both, but I don't care anymore. This works. Viva release mode.
2015-01-16Put playhead on top of everything.David Robillard
Achieve this by adding a new hscroll group just for cursors. That requires a slightly smarter window_to_canvas() to deal with overlapping sensitive scroll groups. New rule is that scroll groups can overlap, but the most sensitive one found from the top down will be chosen to translate coordinates. This basically means don't overlap scroll groups with different sensitivities. In the presence of scroll groups, having a canvas-wide window_to_canvas() and/or canvas_to_window() fundamentally makes no sense. At some point in the glorious future we should kill those and use only item-relative coordinate translation.
2014-12-19add ArdourCanvas::change_alpha()Paul Davis
Time to move away from rgba macros
2014-12-18change Item::visible() to Item::self_visible(); add Item::visible() which ↵Paul Davis
returns accurate visibility Child items will be hidden when their ancestors are hidden. The old ::visible() implementation didn't reflect this. In addition, when changes are made to hidden items (new definition of visible/not visible), don't bother to request redraws, since this will be done when the item becomes visible again.
2014-12-15add getters for SVAModifierPaul Davis
2014-12-14fix up SVAModifier constructorsPaul Davis
2014-12-14add SVAModifier to ArdourCanvas color codePaul Davis
2014-12-08lots more color work, closer and closer to being ready for ... being taken ↵Paul Davis
apart again
2014-12-06Fix inappropriately massive flag font.David Robillard
2014-12-02first pass at optimization for low-level canvas codePaul Davis
2014-11-28Show discrete/toggled automation as stepped line.David Robillard
2014-11-26massive reworking of color selection implementationPaul Davis
2014-11-25Remove dead code.David Robillard
2014-11-15Fix MIDI region keyboard editing (add key handling to canvas).David Robillard
2014-11-10further work on new color manipulation codePaul Davis
2014-11-10add background color property to Canvas::Canvas ; rearrange expose handling ↵Paul Davis
and include background fill Conflicts: libs/canvas/canvas.cc libs/canvas/canvas/canvas.h
2014-11-07use new canvas colors header as necessaryPaul Davis
2014-11-07move canvas colors code into its own file(s)Paul Davis
2014-11-06add API to extract color from ArdourCanvas::Text and tidy up member declarationsPaul Davis
Conflicts: libs/canvas/canvas/text.h
2014-11-05add Rect::shrink(Distance) even though it arguably should be handled by ↵Paul Davis
Rect::expand()
2014-11-05add some more outline enums to ArdourCanvas::RectanglePaul Davis
2014-11-05allow derived classes to access Item::{scroll,position}_offset(), mostly for ↵Paul Davis
debugging purposes
2014-11-05add ArdourCanvas::Fill::set_pattern() to allow any filled canvas item to be ↵Paul Davis
filled using an arbitrary Cairo Pattern
2014-11-03add new TimeRectangle to ArdourCanvasPaul Davis