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=15c23e37a0259ff9d93dd906567486d8e5a0a231;hpb=34491670843d9e4df3edb5c7183bb6919abdab8a;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 15c23e3..ec16ad1 100644 --- a/synfig-core/trunk/src/modules/lyr_std/shade.h +++ b/synfig-core/trunk/src/modules/lyr_std/shade.h @@ -6,6 +6,7 @@ ** ** \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 --------------------------------------------------------- */