X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Flyr_std%2Fshade.h;h=ec16ad144a9ae03e415477b0c5e02a03246312a9;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=a402554d6acf8ea230de25a8bbdbc4151efea1f5;hpb=5ddcf36f04cfbd10fabda4e3c5633cb27cdd4c0a;p=synfig.git diff --git a/synfig-core/trunk/src/modules/lyr_std/shade.h b/synfig-core/trunk/src/modules/lyr_std/shade.h index a402554..ec16ad1 100644 --- a/synfig-core/trunk/src/modules/lyr_std/shade.h +++ b/synfig-core/trunk/src/modules/lyr_std/shade.h @@ -1,11 +1,12 @@ /* === S Y N F I G ========================================================= */ /*! \file shade.h -** \brief Template Header +** \brief Header file for implementation of the "Shade" layer ** -** $Id: shade.h,v 1.2 2005/01/24 03:08:17 darco Exp $ +** $Id$ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2008 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -43,7 +44,7 @@ private: synfig::Vector size; int type; synfig::Color color; - synfig::Vector offset; + synfig::Vector origin; bool invert; public: @@ -57,9 +58,9 @@ public: virtual bool accelerated_render(Context context,Surface *surface,int quality, const RendDesc &renddesc, ProgressCallback *cb)const; virtual Rect get_full_bounding_rect(Context context)const; - virtual Vocab get_param_vocab()const; -}; // END of class Blur + virtual bool reads_context()const { return true; } +}; // END of class Layer_Shade /* -- E X T E R N S --------------------------------------------------------- */