X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fexample%2Ffilledrect.cpp;h=3aec7d5ff67ab44689c8653c555ccb3fc8bb5338;hb=820e061bbc686559b1b7f00da5db7964fc901b08;hp=8b693888f4b99f91b6c302fac4c5984165e662b3;hpb=5ddcf36f04cfbd10fabda4e3c5633cb27cdd4c0a;p=synfig.git diff --git a/synfig-core/trunk/src/modules/example/filledrect.cpp b/synfig-core/trunk/src/modules/example/filledrect.cpp index 8b69388..3aec7d5 100644 --- a/synfig-core/trunk/src/modules/example/filledrect.cpp +++ b/synfig-core/trunk/src/modules/example/filledrect.cpp @@ -1,8 +1,8 @@ /* === S Y N F I G ========================================================= */ /*! \file filledrect.cpp -** \brief Template Header +** \brief Implementation of the "Rectangle" layer ** -** $Id: filledrect.cpp,v 1.1.1.1 2005/01/04 01:23:09 darco Exp $ +** $Id$ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley @@ -53,10 +53,10 @@ using namespace synfig; SYNFIG_LAYER_INIT(FilledRect); SYNFIG_LAYER_SET_NAME(FilledRect,"rectangle"); -SYNFIG_LAYER_SET_LOCAL_NAME(FilledRect,_("Rectangle")); -SYNFIG_LAYER_SET_CATEGORY(FilledRect,_("Geometry")); +SYNFIG_LAYER_SET_LOCAL_NAME(FilledRect,N_("Rectangle")); +SYNFIG_LAYER_SET_CATEGORY(FilledRect,N_("Geometry")); SYNFIG_LAYER_SET_VERSION(FilledRect,"0.1"); -SYNFIG_LAYER_SET_CVS_ID(FilledRect,"$Id: filledrect.cpp,v 1.1.1.1 2005/01/04 01:23:09 darco Exp $"); +SYNFIG_LAYER_SET_CVS_ID(FilledRect,"$Id$"); /* === P R O C E D U R E S ================================================= */ @@ -82,8 +82,8 @@ FilledRect::set_param(const String & param, const ValueBase &value) IMPORT(color); IMPORT(point1); IMPORT(point2); - IMPORT(feather_x); - IMPORT(feather_y); + IMPORT_PLUS(feather_x, if(feather_x<0)feather_x=0;); + IMPORT_PLUS(feather_y, if(feather_y<0)feather_y=0;); IMPORT(bevel); IMPORT(bevCircle);