Blame toonz/sources/include/toonzqt/flipconsoleowner.h
|
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,
|
|
shun-iwasawa |
fe0983 |
const ImagePainter::VisualSettings& settings,
|
|
shun-iwasawa |
fe0983 |
QElapsedTimer* timer = nullptr,
|
|
shun-iwasawa |
fe0983 |
qint64 targetInstant = 0) = 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
|