summaryrefslogtreecommitdiff
path: root/libs/canvas/widget.cc
AgeCommit message (Collapse)Author
2017-03-20Towards a consistent render() API.Robin Gareus
This fixes an -Woverloaded-virtual ambiguity introduced in b5e613d45 void render (cairo_t*, cairo_rectagle*) void render (Cairo::RefPtr<Cairo::Context> const&, cairo_rectangle_t*) ArdourCanvas prefers cairomm and CairoWidget itself uses Cairo::Context, this improves overall API consistency.
2017-02-01canvas::grid starts being able to do its job a littlePaul Davis
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-19correct translation matrix for Canvas::WidgetPaul Davis
2016-12-19Towards packing CairoWidgets on ArdourCanvas.Robin Gareus
2014-11-18Avoid possible use of uninitialized values.David Robillard
This could only happen with a broken widget, but it shuts up clang and doesn't hurt.
2014-06-21refactor 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-12change Canvas heirarchy and constructorsPaul 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.
2014-06-05remove debugging outputPaul Davis
2014-06-05basic, initial structure for canvas widget itemPaul Davis