diff --git a/toonz/sources/common/tvrender/tflash.cpp b/toonz/sources/common/tvrender/tflash.cpp index d4ed7a8..bb5d752 100644 --- a/toonz/sources/common/tvrender/tflash.cpp +++ b/toonz/sources/common/tvrender/tflash.cpp @@ -221,6 +221,19 @@ void computeOutlineBoundary(vector &outlines, list &po //------------------------------------------------------------------- +// TFlash::drawSegments and TFlash::drawquads cannot be inline defined +// since size of TSegment and TQuadratic are unkown in the header + +void TFlash::drawSegments(const vector segmentArray, bool isGradientColor) +{ +} + +void TFlash::drawquads(const vector quadsArray) +{ +} + +//------------------------------------------------------------------- + bool PolyStyle::operator==(const PolyStyle &p) const { if (m_type != p.m_type) diff --git a/toonz/sources/include/tflash.h b/toonz/sources/include/tflash.h index 74ff81f..911647c 100644 --- a/toonz/sources/include/tflash.h +++ b/toonz/sources/include/tflash.h @@ -53,9 +53,6 @@ public: class DVAPI TFlash { - class Imp; - Imp *m_imp; - public: static const wstring ConstantLines; static const wstring MixedLines; @@ -78,8 +75,8 @@ public: void drawRegion(const TRegion &r, int clippedShapes = 0) {} void drawCenterline(const TStroke *s, bool drawAll) {} bool drawOutline(TStroke *s) { return false; } - void drawSegments(const vector segmentArray, bool isGradientColor) {} - void drawquads(const vector quadsArray) {} + void drawSegments(const vector segmentArray, bool isGradientColor); + void drawquads(const vector quadsArray); USHORT buildImage(const TImageP img, bool isMask) { return 0; } void draw(const TImageP vi, const TColorFunction *cf) {} void beginFrame(int frameIndex) {} @@ -102,11 +99,6 @@ public: void endMask() {} void drawHangedObjects() {} void setGlobalScale(const TAffine &aff) {} - -private: - TFlash(); - TFlash(const TFlash &); - TFlash &operator=(const TFlash &); }; #endif