Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-08-03 | Update canvas/UI lib GPL boilerplate and (C) from git log | Robin Gareus | |
2017-07-17 | Clean up library inheritance (colors.h, utils.h) | Robin Gareus | |
make libwidget independent of libcanvas. Confine basics to pbd and gtkmm2ext. | |||
2017-03-11 | Disable Retina/Appple pango text-width workaround | Robin Gareus | |
Fix right-alignment (tempo-markers) and oversized bounding-boxes. _width_correction should be removed after testing on various systems. | |||
2017-01-19 | remove 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 | |||
2016-10-13 | stop 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-27 | provide ArdourCanvas::Text::{width,height}() | Paul Davis | |
2016-05-27 | Crapola - this is an experimental performance hack that must be reverted. | nick_m | |
2015-10-05 | NOOP, remove trailing tabs/whitespace. | Robin Gareus | |
2015-10-04 | globally remove all trailing whitespace from ardour code base. | Paul Davis | |
Paul Davis was responsible for introducing almost all of this. | |||
2015-09-06 | consistent pango-text layout size - fixes #6490 | Robin 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-06-16 | fixes for canvas text display on Retina (from Valeriy) | Paul Davis | |
2015-06-13 | NOOP, reindent code. | Robin Gareus | |
2015-06-13 | fix crash on OSX displaying MIDI sysex, or similar text. | Robin Gareus | |
2015-04-29 | make computation of OS X pango text width correction less intrusive/more ↵ | Paul Davis | |
efficient. Compute the correction only once after each font specification setting. Conflicts: libs/canvas/canvas/text.h | |||
2015-04-29 | manually 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-29 | Fix method hiding in Canvas::Text | Paul Davis | |
2014-11-07 | use new canvas colors header as necessary | Paul Davis | |
2014-11-06 | changing the clamp_width of an ArdourCanvas::Text needs to potentially ↵ | Paul Davis | |
provoke an entire redraw This fixes missing range marker text in sessions where the initial zoom value causes an initial clamp_width of zero | |||
2014-06-30 | allow Canvas::Text to have outline drawn in a contrasting color (based on ↵ | Paul Davis | |
actual color) | |||
2014-06-21 | refactor Canvas so that all Items have children; add Container abstract base ↵ | Paul Davis | |
class; rename Group as "Layout" and retain only drawing semantics | |||
2014-06-17 | a set of 3 fixes that cure Canvas::Text leaving dirty pixels when being ↵ | Paul Davis | |
dragged. or might not - testing is non-deterministic, which is alarming | |||
2014-06-12 | change Canvas heirarchy and constructors | Paul Davis | |
Items no longer need a parent group (they require a Canvas pointer instead), so all constructors have been rationalized and have two variants, one with a parent and one with a canvas. All Items now inherit from Fill and Outline, to banish diagonal inheritance and virtual base classes and all that. There were zero changes to the Ardour GUI arising from these changes. | |||
2013-10-28 | fix computation of Text bounding box to respect _clamped_width | Paul Davis | |
2013-10-24 | fix computation of canvas text item bounding box | Paul Davis | |
2013-06-27 | workaround/hack/fix for cairo pattern gradient space exceeding 2^16 size limit | Paul Davis | |
2013-06-26 | move text origin back down, since it was a mistake to move it; alter ↵ | Paul Davis | |
computation of text bounding box to more accurate and efficient (not done yet) | |||
2013-06-26 | tweak position of pango-rendered text image on canvas by 2 pixels upward | Paul Davis | |
this is an arbitrary tweak but seems to work well thus far | |||
2013-06-18 | fix rect redraw problems caused by intersection requiring the usual 0.5 ↵ | Paul Davis | |
expansion (though consider a more general fix for this at teh group level) | |||
2013-06-18 | basically operational switch to canvas drawing coordinates, although text ↵ | Paul Davis | |
and waves don't work, and redraw areas are too small | |||
2013-04-16 | add back various functionality to waveviews such as zero line, amplitude scaling | Paul Davis | |
2013-04-15 | add headers to all canvas .cc and .h files | Paul Davis | |
2013-04-15 | remove all xml++.h inclusion by canvas implementations | Paul Davis | |
2013-04-15 | remove all XML related API from canvas. it may have been useful during ↵ | Paul Davis | |
development, but it is just a distraction - we will NEVER be saving or restoring canvas state via XML or any kind of serialized state | |||
2013-04-15 | tweak time axis view item text positioning; allow ArdourCanvas::Text to have ↵ | Paul Davis | |
its width clamped, and use this as TAVI's get narrow so that text doesn't overflow | |||
2013-04-15 | Fix dragging objects on the canvas and remove redundant canvas groups | Paul 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-09 | a variety of fixes for the cairocanvas, but it still buggy as hell handling ↵ | Paul Davis | |
events and lots of other stuff | |||
2013-04-08 | mo' better debugging of canvas "structure" via Item::dump and derivatives | Paul Davis | |
2013-04-06 | lazy redraw of Canvas::Text image | Paul Davis | |
2013-04-06 | pre-render text canvas items so that ::render() is just a blit from an image ↵ | Paul Davis | |
surface | |||
2013-04-04 | commit immediately post linking | Paul Davis | |
2013-04-04 | initial commit of hand merging, plus getting "ancient" waf script to work ↵ | Paul Davis | |
correctly |