Blob Blame Raw
#pragma once

#ifndef FLIPCONSOLEOWNER_H
#define FLIPCONSOLEOWNER_H

//-----------------------------------------------------------------
/*!	FlipConsoleOwner class
        inherited by ViewerPane and FlipBook, which receives redraw signal from
   FlipConsole.
*/

#include "toonzqt/flipconsole.h"

class FlipConsole;

class FlipConsoleOwner {
public:
  virtual void onDrawFrame(int frame,
                           const ImagePainter::VisualSettings &settings) = 0;

  virtual void swapBuffers(){};
  virtual void changeSwapBehavior(bool enable){};
};
#endif