ardour/libs/canvas
Paul Davis cb9453b475 different approach to independent scrolling, involving ArdourCanvas::ScrollGroup
The idea now is that a scroll group item can be added to the canvas which will causes its children to scroll in either or both
directions (horizontal or vertical). There are few complications: the position() of the ScrollGroup is ambiguous depending
on whether you want it with scroll taken into account or not, so Item::canvas_position() was added, which defaults to
the same value as Item::position() but is overridden by ScrollGroup to return the position independent of scrolling. This
method is used when translating between item/canvas/window coordinate systems.

Note that the basic idea is that we MOVE the scroll group when a scroll happens. This mirrors what happens in the GnomeCanvas,
where Nick Mainsbridge came up with a great idea that allowed unification of the time bar and track canvases.
2014-08-17 13:37:27 -04:00
..
benchmark
canvas different approach to independent scrolling, involving ArdourCanvas::ScrollGroup 2014-08-17 13:37:27 -04:00
doc [Summary] Fixed MAC build 2014-03-26 06:31:34 -05:00
MSVCcanvas Add newly introduced sources to MSVC project 2014-08-16 17:58:17 -04:00
test
arc.cc
arrow.cc
build-and-run-benchmark.sh [Summary] Fixed MAC build 2014-03-26 06:31:34 -05:00
build-and-run-manual-test.sh [Summary] Fixed MAC build 2014-03-26 06:31:34 -05:00
build-and-run-tests.sh [Summary] Fixed MAC build 2014-03-26 06:31:34 -05:00
canvas.cc different approach to independent scrolling, involving ArdourCanvas::ScrollGroup 2014-08-17 13:37:27 -04:00
circle.cc
curve.cc smooth visual curve drawing 2014-08-16 17:57:42 -04:00
debug.cc mingw build fixes (tested with i686-w64-mingw32 on linux-x86_64) 2014-03-04 15:25:58 +01:00
drag_handle.cc for now, hide ugly circle thing in drag handles 2014-01-07 20:56:03 -05:00
fill.cc overwrite state of libs/canvas with code from corresponding period in ardour-cairocanvas 2014-08-17 13:29:01 -04:00
flag.cc fix up problems with patch change flgs not changing height correctly 2014-02-14 12:06:44 -05:00
group.cc different approach to independent scrolling, involving ArdourCanvas::ScrollGroup 2014-08-17 13:37:27 -04:00
i18n.h make stateful image canvas item actually compile 2014-02-17 16:05:52 -05:00
image.cc
item.cc different approach to independent scrolling, involving ArdourCanvas::ScrollGroup 2014-08-17 13:37:27 -04:00
line.cc initial redesign of canvas scrolling to facilitate independent x- and y-axis scrolling of specific groups within the canvas. 2014-08-17 13:37:16 -04:00
line_set.cc
lookup_table.cc change event propagation to be based on parent/child lineage, not z-axis stacking, plus some more alterations to try to get enter/leave working 2013-12-12 10:03:33 -05:00
Notes
outline.cc overwrite state of libs/canvas with code from corresponding period in ardour-cairocanvas 2014-08-17 13:29:01 -04:00
pixbuf.cc overwrite state of libs/canvas with code from corresponding period in ardour-cairocanvas 2014-08-17 13:29:01 -04:00
poly_item.cc don't queue redraws when various canvas item properties are "reset" to the same value, plus supporting functions 2014-03-11 07:36:09 -04:00
poly_line.cc initial redesign of canvas scrolling to facilitate independent x- and y-axis scrolling of specific groups within the canvas. 2014-08-17 13:37:16 -04:00
polygon.cc tweak Polygon::render() to work whether or not fill or outline are unset 2014-03-06 23:15:59 -05:00
rectangle.cc overwrite state of libs/canvas with code from corresponding period in ardour-cairocanvas 2014-08-17 13:29:01 -04:00
root_group.cc
run-manual-test.sh [Summary] Fixed MAC build 2014-03-26 06:31:34 -05:00
run-tests.sh [Summary] Fixed MAC build 2014-03-26 06:31:34 -05:00
scroll_group.cc different approach to independent scrolling, involving ArdourCanvas::ScrollGroup 2014-08-17 13:37:27 -04:00
stateful_image.cc make stateful image canvas item actually compile 2014-02-17 16:05:52 -05:00
text.cc overwrite state of libs/canvas with code from corresponding period in ardour-cairocanvas 2014-08-17 13:29:01 -04:00
types.cc don't queue redraws when various canvas item properties are "reset" to the same value, plus supporting functions 2014-03-11 07:36:09 -04:00
utils.cc
wave_view.cc different approach to independent scrolling, involving ArdourCanvas::ScrollGroup 2014-08-17 13:37:27 -04:00
wscript different approach to independent scrolling, involving ArdourCanvas::ScrollGroup 2014-08-17 13:37:27 -04:00
xfade_curve.cc test possible 'flickering' with nvidia 2014-08-16 17:59:45 -04:00
xml_ui.cc overwrite state of libs/canvas with code from corresponding period in ardour-cairocanvas 2014-08-17 13:29:01 -04:00