add required virtual method to Push2Canvas

This commit is contained in:
Paul Davis 2018-11-19 11:32:11 -05:00
parent f8ea1b49a7
commit 210702481b
2 changed files with 11 additions and 0 deletions

View File

@ -69,9 +69,19 @@ Push2Canvas::~Push2Canvas ()
device_sample_buffer = 0;
}
void
Push2Canvas::queue_resize ()
{
/* nothing to do here, for now */
}
bool
Push2Canvas::vblank ()
{
if (_root.resize_queued()) {
_root.layout ();
}
/* re-render dirty areas, if any */
if (expose ()) {

View File

@ -48,6 +48,7 @@ class Push2Canvas : public ArdourCanvas::Canvas
void request_redraw ();
void request_redraw (ArdourCanvas::Rect const &);
void queue_resize ();
bool vblank ();
Cairo::RefPtr<Cairo::Context> image_context() { return context; }