X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Flyr_std%2Fxorpattern.cpp;h=aaf3a9f5be1dd4be0b68c3aaf212edd0fa4b8aac;hb=7b4762d8b568f70e9b1a8d18afe0998af661d906;hp=2fe64a712fae64dbb95a3fb515af77fa3fe3111f;hpb=21bfc670b83d4c45da9ed1b95063b7e6a007168c;p=synfig.git diff --git a/synfig-core/trunk/src/modules/lyr_std/xorpattern.cpp b/synfig-core/trunk/src/modules/lyr_std/xorpattern.cpp index 2fe64a7..aaf3a9f 100644 --- a/synfig-core/trunk/src/modules/lyr_std/xorpattern.cpp +++ b/synfig-core/trunk/src/modules/lyr_std/xorpattern.cpp @@ -1,8 +1,10 @@ -/*! ======================================================================== -** Synfig -** Template File -** $Id: xorpattern.cpp,v 1.1.1.1 2005/01/04 01:23:10 darco Exp $ +/* === S Y N F I G ========================================================= */ +/*! \file xorpattern.cpp +** \brief Template Header ** +** $Id$ +** +** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley ** ** This package is free software; you can redistribute it and/or @@ -14,6 +16,7 @@ ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ** General Public License for more details. +** \endlegal ** ** === N O T E S =========================================================== ** @@ -50,7 +53,7 @@ SYNFIG_LAYER_SET_NAME(XORPattern,"XORPattern"); SYNFIG_LAYER_SET_LOCAL_NAME(XORPattern,_("XOR Pattern")); SYNFIG_LAYER_SET_CATEGORY(XORPattern,_("Other")); SYNFIG_LAYER_SET_VERSION(XORPattern,"0.1"); -SYNFIG_LAYER_SET_CVS_ID(XORPattern,"$Id: xorpattern.cpp,v 1.1.1.1 2005/01/04 01:23:10 darco Exp $"); +SYNFIG_LAYER_SET_CVS_ID(XORPattern,"$Id$"); /* === P R O C E D U R E S ================================================= */ @@ -61,7 +64,7 @@ XORPattern::XORPattern(): size(0.25,0.25) { } - + bool XORPattern::set_param(const String & param, const ValueBase &value) { @@ -75,11 +78,11 @@ XORPattern::get_param(const String & param)const { EXPORT(pos); EXPORT(size); - + EXPORT_NAME(); EXPORT_VERSION(); - - return ValueBase(); + + return ValueBase(); } Color @@ -92,12 +95,12 @@ XORPattern::get_color(Context context, const Point &point)const return Color((Color::value_type)rindex/(Color::value_type)255.0,(Color::value_type)gindex/(Color::value_type)255.0,(Color::value_type)bindex/(Color::value_type)255.0,1.0); } - + Layer::Vocab XORPattern::get_param_vocab()const { Layer::Vocab ret; - + ret.push_back(ParamDesc("pos") .set_local_name(_("Offset")) ); @@ -105,6 +108,6 @@ XORPattern::get_param_vocab()const .set_local_name(_("Size")) .set_origin("pos") ); - + return ret; }