Shinya Kitaoka 810553
#pragma once
Shinya Kitaoka 810553
Toshihiro Shimizu 890ddd
#ifndef FLIPCONSOLEOWNER_H
Toshihiro Shimizu 890ddd
#define FLIPCONSOLEOWNER_H
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
//-----------------------------------------------------------------
Toshihiro Shimizu 890ddd
/*!	FlipConsoleOwner class
Shinya Kitaoka 120a6e
        inherited by ViewerPane and FlipBook, which receives redraw signal from
Shinya Kitaoka 120a6e
   FlipConsole.
Toshihiro Shimizu 890ddd
*/
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#include "toonzqt/flipconsole.h"
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
class FlipConsole;
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
class FlipConsoleOwner {
Toshihiro Shimizu 890ddd
public:
Shinya Kitaoka 120a6e
  virtual void onDrawFrame(int frame,
Shinya Kitaoka 120a6e
                           const ImagePainter::VisualSettings &settings) = 0;
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  virtual void swapBuffers(){};
Shinya Kitaoka 120a6e
  virtual void changeSwapBehavior(bool enable){};
Toshihiro Shimizu 890ddd
};
Toshihiro Shimizu 890ddd
#endif