mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
Add PreRender signal to the canvas
Emitted by the canvas immediately before rendering.
This commit is contained in:
parent
48fd06a209
commit
d6e7082797
2 changed files with 4 additions and 0 deletions
|
|
@ -101,6 +101,8 @@ Canvas::zoomed ()
|
|||
void
|
||||
Canvas::render (Rect const & area, Cairo::RefPtr<Cairo::Context> const & context) const
|
||||
{
|
||||
PreRender (); // emit signal
|
||||
|
||||
#ifdef CANVAS_DEBUG
|
||||
if (DEBUG_ENABLED(PBD::DEBUG::CanvasRender)) {
|
||||
cerr << this << " RENDER: " << area << endl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue