Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#ifndef TZERARYFX_H
Toshihiro Shimizu 890ddd
#define TZERARYFX_H
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#include "trasterfx.h"
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
//============================================================
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
//    Forward declarations
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
class TZeraryColumnFx;
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
//============================================================
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
//************************************************************************
Toshihiro Shimizu 890ddd
//    TBaseZeraryFx  definition
Toshihiro Shimizu 890ddd
//************************************************************************
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
//! Defines built-in Toonz zerary fxs.
Toshihiro Shimizu 890ddd
/*!
Toshihiro Shimizu 890ddd
\par Toonz Internals - Zerary Column Fxs
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
  Toonz Zerary fxs are currently implemented with associated
Toshihiro Shimizu 890ddd
   zerary column fxs <\I> owning them. It is important to make
Toshihiro Shimizu 890ddd
  these column fxs accessible from the actual zerary fx in order to
Toshihiro Shimizu 890ddd
  allow complete traversability of an fxs tree.
Toshihiro Shimizu 890ddd
*/
Toshihiro Shimizu 890ddd
class TZeraryFx : public TRasterFx
Toshihiro Shimizu 890ddd
{
Toshihiro Shimizu 890ddd
public:
Toshihiro Shimizu 890ddd
	friend class TZeraryColumnFx; // Defined in ToonzLib
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
public:
Toshihiro Shimizu 890ddd
	TZeraryFx() : m_columnFx() {}
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
	//! Returns the associated column fx, if any.
Toshihiro Shimizu 890ddd
	TZeraryColumnFx *getColumnFx() const { return m_columnFx; }
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
private:
Toshihiro Shimizu 890ddd
	TZeraryColumnFx *m_columnFx; //!< The associated column fx. Note that
Toshihiro Shimizu 890ddd
								 //!< it is never cloned, as expected.
Toshihiro Shimizu 890ddd
};
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#endif // TZERARYFX_H