add required virtual method to Push2Canvas
This commit is contained in:
parent
f8ea1b49a7
commit
210702481b
|
@ -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 ()) {
|
||||
|
|
|
@ -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; }
|
||||
|
|
Loading…
Reference in New Issue
Block a user