summaryrefslogtreecommitdiff
path: root/libs/canvas/canvas
AgeCommit message (Collapse)Author
2017-04-17Stop tooltip timeout when a canvas-widget or item is hidden.Robin Gareus
2017-03-21Allow to selectively use NSGLView CanvasRobin Gareus
Various GdkEvents are not yet handled correctly, eg. unpacking a widget from its container does not unmap it, nor are remaining widgets in the contained re-positioned (size allocation does not change, nor does the mapping). This affects eg. Mixbus Strips
2017-03-20Forward un/map events to NSGLViewRobin Gareus
2017-03-20Move NSGlView into libgtkmm2extRobin Gareus
This allows to re-use the concept with CairoWidget
2017-03-19Prepare NSView/OpenGL Canvas (to speed up rendering on [mac]OS[X]Robin Gareus
This avoids Coregraphics (cairo_quartz_surface..) competely. The openGL texture bypasses CG's slow argb_image and CGSColorMask methods.
2017-02-01canvas::grid - more tweaks and improvementsPaul Davis
2017-02-01basics of row/col span for Canvas::GridPaul Davis
2017-02-01change Grid API to avoid unnecessary Duple and open door for row/col spanPaul Davis
2017-02-01clear up some CSS padding/margin confusion, and add row/col spacingPaul Davis
2017-02-01canvas::grid starts being able to do its job a littlePaul Davis
2017-02-01add basic data members and methods for adding an explicit size allocation ↵Paul Davis
for Canvas::Item
2017-01-24This wasn't supposed to be pushed to master.Paul Davis
Revert "add basic data members and methods for adding an explicit size allocation for Canvas::Item" This reverts commit d1c1d8df614672b00a9835ae04566b12d21be697.
2017-01-24add basic data members and methods for adding an explicit size allocation ↵Paul Davis
for Canvas::Item
2017-01-19remove use of boost::optional to define "undefined" Canvas::Rect, and use ↵Paul Davis
Rect::empty instead. This commit includes Rect::operator bool() which might be a candidate for removal in a future commit, in an attempt to make the meaning clearer
2017-01-19fix up Canvas::Grid child layoutPaul Davis
2017-01-19do not add items twice to their canvas parent!Paul Davis
2017-01-15basic (and probably wrong) Canvas::Grid child placementPaul Davis
2017-01-15initial skeleton for a Grid canvas itemPaul Davis
2016-12-29add ArdourCanvas::Flag::width()nick_m
2016-12-19Towards packing CairoWidgets on ArdourCanvas.Robin Gareus
2016-10-13stop using gkd_pango_context_get() in ArdourCanvas::Canvas and require ↵Paul Davis
concrete instances to supply a Pango::Context; do this for GtkCanvas and Push2Canvas
2016-09-27provide ArdourCanvas::Text::{width,height}()Paul Davis
2016-09-27add canvas-based Meter objectPaul Davis
2016-09-27add new Box container for Canvas.Paul Davis
API subject to change and improvement
2016-09-27add variant of Rect::expand() that allows different amounts in each directionPaul Davis
2016-09-27make inclusion/exclusion of hidden children optional in ↵Paul Davis
Item::add_child_bounding_boxes
2016-09-27add Item::add_front()Paul Davis
2016-09-27make Item::child_changed() virtualPaul Davis
2016-09-27a slew of unconnected mostly minor tweaks to get Push2 support back to where ↵Paul Davis
it was... ... prior to using the canvas for the video screen
2016-09-13Add missing header include guards in canvas libraryTim Mayberry
2016-07-25the endless quest to plug memory leaks -- episode 378Robin Gareus
2016-07-05add fill-area feature to poly-lineRobin Gareus
2016-05-27Tempo ramps - add Canvas::FramedCurve and use it in the tempo marker bar.nick_m
2016-05-17backport canvas color functions from MixbusRobin Gareus
2015-11-02fix crash when cleaning up canvas itemsRobin Gareus
Backport from Mixbus. In Ardour this does not currently matter since there is no top-level canvas destroyed top-down. ... Editor::session_going_away MixerStrip::~MixerStrip MixbusStripCanvas::~MixbusStripCanvas ArdourCanvas::GtkCanvas::~GtkCanvas ArdourCanvas::Canvas::~Canvas ArdourCanvas::Root::~Root ArdourCanvas::Container::~Container ArdourCanvas::Item::~Item ArdourCanvas::Item::clear_items GtkCanvas::item_going_away() queue_draw_item_area() ..expose can take place async to garbage collection: crash in one of the items.
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-09-11spelling error fixes (notably "overriden" => "overidden") from IOhannes m ↵Paul Davis
zmölnig
2015-09-06consistent pango-text layout size - fixes #6490Robin Gareus
Use gdk_pango_layout() for all text-size calculations. In Canvas::Text always use the same context (local image surface) for layouting (prior to this, local and window-context mix resulted in different sizes).
2015-09-02waveform, mutex for _current_imageRobin Gareus
may be used in render-thread while invalidate_image_cache() is called. possible fix for #6478
2015-08-20clear waveform cache when shape changes - fixes #6525Robin Gareus
2015-06-23several changes, major and minor, to improve threaded waveview renderingPaul Davis
2015-06-23create sortable, linear list for cache clearing on demand, rather than ↵Paul Davis
trying to maintain it in parallel with the cache map
2015-06-23change location for initialization of static WaveView image cache, and ↵Paul Davis
provide a visible method to set the cache flush threshold
2015-06-19stop pixel jitter when changing waveview height.Paul Davis
To avoid pixel jitter, the top and bottom of each line in the waveview must be computed together in a single computation, rather than independently. Also, remove various height corrections and cairo translations that are not necessary or relevant anymore. A subsequent commit for the GUI will pick up on this work to get the appearance completely correct
2015-06-19attempt to correctly respond to changes in _amplitude_above_axis in ↵Paul Davis
ArdourCanvas::WaveView
2015-06-19fix compiler const-cast warningPaul Davis
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.