X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Flayer.h;h=64cd310f600bdd42f0e03ebd7b12d4ff315de473;hb=515a8fd01a0b1229899edaf13ca2c2de1d1d81cf;hp=a3ae3b74561099424da7c966b8f98e49699c91bd;hpb=b32ee1ef8d1dabe2cbcb318c42b1bbd06fd4387d;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/layer.h b/synfig-core/trunk/src/synfig/layer.h index a3ae3b7..64cd310 100644 --- a/synfig-core/trunk/src/synfig/layer.h +++ b/synfig-core/trunk/src/synfig/layer.h @@ -82,6 +82,10 @@ //! \writeme #define EXPORT_VERSION() if(param=="Version" || param=="version" || param=="version__") { return version__; } +//! This is used as the category for layer book entries which represent aliases of layers. +//! It prevents these layers showing up in the menu. +#define CATEGORY_DO_NOT_USE "Do Not Use" + /* === T Y P E D E F S ===================================================== */ /* === C L A S S E S & S T R U C T S ======================================= */ @@ -418,8 +422,10 @@ public: //! Duplicates the Layer virtual Handle clone(const GUID& deriv_guid=GUID())const; +#ifdef THIS_CODE_IS_NOT_USED //! Duplicates the Layer without duplicating the value nodes virtual Layer *simple_clone()const; +#endif /* THIS_CODE_IS_NOT_USED */ protected: