tahoma2d/toonz/sources/include/tzeraryfx.h

45 lines
1.2 KiB
C
Raw Normal View History

2016-05-17 03:04:11 +12:00
#pragma once
2016-03-19 06:57:51 +13:00
#ifndef TZERARYFX_H
#define TZERARYFX_H
#include "trasterfx.h"
//============================================================
// Forward declarations
class TZeraryColumnFx;
//============================================================
//************************************************************************
// TBaseZeraryFx definition
//************************************************************************
//! Defines built-in Toonz zerary fxs.
/*!
\par Toonz Internals - Zerary Column Fxs
Toonz Zerary fxs are currently implemented with associated
<I> zerary column fxs <\I> owning them. It is important to make
these column fxs accessible from the actual zerary fx in order to
allow complete traversability of an fxs tree.
*/
2016-06-15 18:43:10 +12:00
class TZeraryFx : public TRasterFx {
2016-03-19 06:57:51 +13:00
public:
2016-06-15 18:43:10 +12:00
friend class TZeraryColumnFx; // Defined in ToonzLib
2016-03-19 06:57:51 +13:00
public:
2016-06-15 18:43:10 +12:00
TZeraryFx() : m_columnFx() {}
2016-03-19 06:57:51 +13:00
2016-06-15 18:43:10 +12:00
//! Returns the associated column fx, if any.
TZeraryColumnFx *getColumnFx() const { return m_columnFx; }
2016-03-19 06:57:51 +13:00
private:
2016-06-15 18:43:10 +12:00
TZeraryColumnFx *m_columnFx; //!< The associated column fx. Note that
//!< it is never cloned, as expected.
2016-03-19 06:57:51 +13:00
};
2016-06-15 18:43:10 +12:00
#endif // TZERARYFX_H