13
0
livetrax/libs/canvas
Paul Davis 6019f06bdf 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-06-03 16:10:27 -04:00
..
benchmark
canvas different approach to independent scrolling, involving ArdourCanvas::ScrollGroup 2014-06-03 16:10:27 -04:00
doc
MSVCcanvas Add newly introduced sources to MSVC project 2014-05-30 12:52:03 +01:00
test
arc.cc
arrow.cc
build-and-run-benchmark.sh
build-and-run-manual-test.sh
build-and-run-tests.sh
canvas.cc different approach to independent scrolling, involving ArdourCanvas::ScrollGroup 2014-06-03 16:10:27 -04:00
circle.cc
curve.cc smooth visual curve drawing 2014-05-30 03:04:02 +02: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 if a Fill object is given a zero-alpha (transparent) color, note that 2014-03-07 12:28:52 -05: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-06-03 16:10: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-06-03 16:10:27 -04:00
line_set.cc
line.cc initial redesign of canvas scrolling to facilitate independent x- and y-axis scrolling of specific groups within the canvas. 2014-06-03 16:09:06 -04:00
lookup_table.cc
Notes
outline.cc outline width of 0.5 is stupid and meaningless, and was just hiding other issues with outlines 2014-01-07 11:31:47 -05:00
pixbuf.cc
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-06-03 16:09:06 -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 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
root_group.cc
run-manual-test.sh
run-tests.sh
scroll_group.cc different approach to independent scrolling, involving ArdourCanvas::ScrollGroup 2014-06-03 16:10:27 -04:00
stateful_image.cc make stateful image canvas item actually compile 2014-02-17 16:05:52 -05:00
text.cc
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-06-03 16:10:27 -04:00
wscript different approach to independent scrolling, involving ArdourCanvas::ScrollGroup 2014-06-03 16:10:27 -04:00
xfade_curve.cc test possible 'flickering' with nvidia 2014-05-31 18:22:34 +02:00