X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Flayer.h;h=4f2fb10dc7bcb4b4947e397aa54d0dcdbd4374ec;hb=dbd7f22645f08a25197645ba558914fc84c89fa0;hp=f2d1c8b2217b6fcf99538079d09dd2607f88792c;hpb=2faf3310778c102003b3408b24fcc7968a854a4b;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/layer.h b/synfig-core/trunk/src/synfig/layer.h index f2d1c8b..4f2fb10 100644 --- a/synfig-core/trunk/src/synfig/layer.h +++ b/synfig-core/trunk/src/synfig/layer.h @@ -2,7 +2,7 @@ /*! \file layer.h ** \brief Layer Class Header ** -** $Id: layer.h,v 1.2 2005/01/24 03:08:18 darco Exp $ +** $Id$ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley @@ -62,10 +62,10 @@ #define SYNFIG_LAYER_INIT(class) synfig::Layer* class::create() { return new class(); } //! \writeme -#define IMPORT_PLUS(x,y) if(param==#x && value.same_as(x)) { value.put(&x);{y;}return true;} +#define IMPORT_PLUS(x,y) if(param==#x && value.same_type_as(x)) { value.put(&x);{y;}return true;} //! \writeme -#define IMPORT_AS(x,y) if(param==y && value.same_as(x)) { value.put(&x); return true;} +#define IMPORT_AS(x,y) if(param==y && value.same_type_as(x)) { value.put(&x); return true;} //! \writeme #define IMPORT(x) IMPORT_AS(x,#x) @@ -168,7 +168,7 @@ public: private: - /*! \c true if the layer is visible, \c is it is to be skipped + /*! \c true if the layer is visible, \c false if it is to be skipped ** \see set_active(), enable(), disable, active() */ bool active_; @@ -268,7 +268,7 @@ public: //! Gets the name of the group that this layer belongs to String get_group()const; - //! \todo writeme + //! writeme //DynamicParamList &dynamic_param_list() { return dynamic_param_list_; } //! \todo writeme @@ -401,12 +401,12 @@ public: /*! \param context Context iterator refering to next Layer. ** \param surface Pointer to Surface to render to. ** \param quality The requested quality-level to render at. - ** \param rend_desc The associated RendDesc. - ** \param callback Pointer to callback object. May be NULL if there is no callback. + ** \param renddesc The associated RendDesc. + ** \param cb Pointer to callback object. May be NULL if there is no callback. ** \return \c true on success, \c false on failure ** \see Handle::accelerated_render() */ - virtual bool accelerated_render(Context context,Surface *surface,int quality, const RendDesc &rend_desc, ProgressCallback *callback)const; + virtual bool accelerated_render(Context context,Surface *surface,int quality, const RendDesc &renddesc, ProgressCallback *cb)const; //! Checks to see if a part of the layer is directly under \a point /*! \param context Context iterator refering to next Layer.