Edited the single line description of each source file that implements a layer.
[synfig.git] / synfig-core / trunk / src / modules / mod_gradient / radialgradient.cpp
index b3e892e..5c3d20b 100644 (file)
@@ -1,11 +1,12 @@
 /* === S Y N F I G ========================================================= */
 /*!    \file mod_gradient/radialgradient.cpp
-**     \brief Template Header
+**     \brief Implementation of the "Radial Gradient" layer
 **
 **     $Id$
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+**     Copyright (c) 2007 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
@@ -52,8 +53,8 @@ using namespace synfig;
 
 SYNFIG_LAYER_INIT(RadialGradient);
 SYNFIG_LAYER_SET_NAME(RadialGradient,"radial_gradient");
-SYNFIG_LAYER_SET_LOCAL_NAME(RadialGradient,_("Radial Gradient"));
-SYNFIG_LAYER_SET_CATEGORY(RadialGradient,_("Gradients"));
+SYNFIG_LAYER_SET_LOCAL_NAME(RadialGradient,N_("Radial Gradient"));
+SYNFIG_LAYER_SET_CATEGORY(RadialGradient,N_("Gradients"));
 SYNFIG_LAYER_SET_VERSION(RadialGradient,"0.1");
 SYNFIG_LAYER_SET_CVS_ID(RadialGradient,"$Id$");
 
@@ -125,7 +126,7 @@ RadialGradient::get_param_vocab()const
        );
 
        ret.push_back(ParamDesc("zigzag")
-               .set_local_name(_("Zig-Zag"))
+               .set_local_name(_("ZigZag"))
        );
 
        return ret;
@@ -172,7 +173,7 @@ RadialGradient::color_func(const Point &point, float supersample)const
 
 
 float
-RadialGradient::calc_supersample(const synfig::Point &x, float pw,float ph)const
+RadialGradient::calc_supersample(const synfig::Point &/*x*/, float pw,float /*ph*/)const
 {
 //     return sqrt(pw*pw+ph*ph)/radius;
        return 1.2*pw/radius;