Paul Davis
f2b3c3fae4
Canvas: tweak debug output for canvas rendering
2020-06-19 13:57:58 -06:00
Paul Davis
76c89b0029
remove debug output
2020-06-19 13:52:43 -06:00
Paul Davis
a941c04171
Revert "towards a very different constraint layout tester"
...
This reverts commit 7f65ffe576 .
2020-06-11 00:44:11 -06:00
Paul Davis
7f65ffe576
towards a very different constraint layout tester
2020-06-10 22:13:00 -06:00
Paul Davis
37a166f236
Canvas: add shell scrip to run cnnstraint_test
2020-06-10 21:54:07 -06:00
Paul Davis
4ce7b51239
Canvas: size request using preferred_size() callstack
2020-06-10 19:42:04 -06:00
Paul Davis
2f93a1a3c5
Canvas: container supports option to do fill & outline
2020-06-10 19:42:04 -06:00
Paul Davis
58ddb07f4c
Canvas: use whomami() not earlier debug_name() API
2020-06-10 19:42:03 -06:00
Paul Davis
e1f1b23eb0
Canvas: some tidying in layout test app
2020-06-10 19:42:03 -06:00
Paul Davis
2931cbf91f
Canvas: make Rectangle work with layouts
2020-06-10 19:42:03 -06:00
Paul Davis
a9e416dea6
Canvas: add aliases to Canvas::Rect for comprehension
2020-06-10 19:42:03 -06:00
Paul Davis
f303da1890
Canvas: add aliases to Canvas::Rect for comprehension
2020-06-10 19:42:03 -06:00
Paul Davis
bcf3d170f7
Canvas: add layout-related methods and members to Item
2020-06-10 19:42:03 -06:00
Paul Davis
142a819620
Canvas: add Item::whoami() for debugging output
2020-06-10 19:42:03 -06:00
Paul Davis
e5d6de611e
Canvas: modify Arc to work with layout
2020-06-10 19:42:03 -06:00
Paul Davis
7d6620f823
Canvas: alter RootGroup to work with layout
2020-06-10 19:42:03 -06:00
Paul Davis
99da7c977f
Canvas: initiate size allocation process from GTK-level size allocate event
2020-06-10 19:42:03 -06:00
Paul Davis
79b424ab6c
Canvas: child_changed() API fix for Box
2020-06-10 19:42:03 -06:00
Paul Davis
00c7ec6373
Canvas: change API of Item::child_changed() to include bool indicate bounding_box change
2020-06-10 19:42:03 -06:00
Paul Davis
06d0813a1d
Canvas: Text item should take position into account when rendering
2020-06-10 19:42:03 -06:00
Paul Davis
3055d0c1fc
Canvas: reindent Kiwi code, and provide operator<<(ostream&) for several objects
2020-06-10 19:42:03 -06:00
Paul Davis
071b5ef79b
NOOP: remove whitespace
2020-06-10 19:42:03 -06:00
Paul Davis
cedd4f3d4e
Canvas::Arc obey fill/outline conditionals
2020-06-10 19:42:03 -06:00
Paul Davis
ab5af01007
add/update constraint packing containers, test code
2020-06-10 19:42:03 -06:00
Paul Davis
f196defbca
add small dev/test utility for working on constraint packer
2020-06-10 19:42:03 -06:00
Paul Davis
fbacf3f17a
Canvas: continued work on constraint packer
2020-06-10 19:42:03 -06:00
Paul Davis
da6621fc48
Canvas: change container-related methods in Item to be virtual
2020-06-10 19:42:03 -06:00
Paul Davis
5a9b28dd62
Canvas: change LineSet::add() to ::add_line()
...
Preparation for virtualization of Item::add()
2020-06-10 19:42:03 -06:00
Paul Davis
91af7cd9a2
stub constraint-based packer for canvas
2020-06-10 19:42:03 -06:00
Robin Gareus
247bd4d3d9
NO-OP: whitespace
2020-04-10 18:32:18 +02:00
Robin Gareus
ede0fd3ddf
Remove hardcoded 2^15 cairo-boundary, prefer window-area
2020-04-10 18:28:26 +02:00
Robin Gareus
2177462b73
NO-OP: consistent function and variable naming
2020-04-10 18:06:42 +02:00
Robin Gareus
bc4de874dc
NO-OP: whitespace
2020-04-10 18:06:42 +02:00
Robin Gareus
9bbedcb781
Remove unused function
...
Cairo::curve_to renders cubic Bézier splines, those are not
generally useful in a DAW context.
Canvas::Curve implements centripetal catmull-rom spline drawing
which can be used for fades and automation interpolation.
2020-04-10 18:06:42 +02:00
Robin Gareus
7bb8ca1e76
Interpolate poly-line with view-point #6481
2020-04-10 18:06:41 +02:00
Robin Gareus
6cc1e5e75d
NO-OP: whitespace
2020-04-10 18:06:39 +02:00
Paul Davis
f744b5fc12
change velocity bar inside notes to extend to edges of note
...
Having the velocity bar inset from note causes distracting space at beginning of note
when viewing a MIDI note that is zoomed out
2020-03-26 10:12:54 -06:00
Paul Davis
4151ec1907
remove accumulated debug output
2020-03-25 15:12:30 -06:00
Paul Davis
dbcf7dd666
more playhead-drag/click locate debugging
2020-03-25 13:50:23 -06:00
André Nusser
0a1ed004f2
Remove unused forward declaration.
2020-02-24 23:01:15 +01:00
Robin Gareus
06b2eb1c27
Explicitly use OSX
...
Previously this was inherited via PBD.
On MacOS/X, this adds
"-undefined dynamic_lookup -flat_namespace"
and various "-framework .." options to linkflags
Without this flag, .dylibs fail to link usually because
of missing `-lintl` (Undefined symbols: "_libintl_dgettext")
On other systems this is a NO-OP:
CFLAGS_OSX, CXXFLAGS_OSX and LINKFLAGS_OSX
are only set on the darwin platform.
2020-01-25 04:07:41 +01:00
Robin Gareus
bca825e515
NO-OP: whitespace
2020-01-14 00:52:24 +01:00
John Emmas
45dd6a8ed3
Add a missing semicolon
2020-01-05 10:29:35 +00:00
Robin Gareus
0b266a54f0
Return of image-surface backed canvas (windows graphics performance)
...
This partially reverts 2edbda2526 .
Using cairo-groups increases performance on MacOS, and retains
retina-resolution.
However it adds a performance regression for MS Windows graphics
rendering. cairo-groups use a "similar" surface, not an image surface.
Empirically this adds significant overhead compared to rendering
using the CPU and using bitblt.
2020-01-04 00:30:07 +01:00
Robin Gareus
2edbda2526
Replace explicit image-surface with cairo pattern/group
...
For MacOS/X this is equivalent, rendering happens using a
CGBitmapContext + image-surface. Windows and Linux needs profiling
for respective equivalent surfaces.
2019-12-27 19:35:02 +01:00
Robin Gareus
c3ab63a2ea
Allow for per-widget image-surface backing
...
This is an intermediate commit, before replacing image surfaces with
cairo pattern groups.
The eventual goal is to reduce flickering and/or use
CPU + bitblt for specific widgets instead of cairo
graphics-cards accel.
This also removes excessive calls to getenv() for every rendering
operation.
2019-12-27 19:34:56 +01:00
Robin Gareus
ecc2597870
Fix remaining doxygen warnings (!)
2019-09-30 21:03:29 +02:00
Robin Gareus
bfec73b8c3
NO-OP: whitespace, indent
2019-09-30 21:03:20 +02:00
Paul Davis
5ec5bc4523
goodbye USE_TRACKS_CODE_FEATURES and is_tracks_build
2019-09-25 12:16:13 -06:00
Robin Gareus
cec5ce8f45
Update canvas/UI lib GPL boilerplate and (C) from git log
2019-08-03 15:53:17 +02:00