X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_filter%2Fhalftone3.cpp;h=6df7d5d13b381be99ec39ad746f25a06e6a11f7b;hb=4b886acca3929def466b0fb6a948bb5c37029190;hp=36775911e314d39b66ca70e38eb99c3a3342555d;hpb=cc54c38609ee9745ad678e5e9b9d7d2912be9c95;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_filter/halftone3.cpp b/synfig-core/trunk/src/modules/mod_filter/halftone3.cpp index 3677591..6df7d5d 100644 --- a/synfig-core/trunk/src/modules/mod_filter/halftone3.cpp +++ b/synfig-core/trunk/src/modules/mod_filter/halftone3.cpp @@ -6,6 +6,7 @@ ** ** \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 @@ -53,8 +54,8 @@ using namespace etl; SYNFIG_LAYER_INIT(Halftone3); SYNFIG_LAYER_SET_NAME(Halftone3,"halftone3"); -SYNFIG_LAYER_SET_LOCAL_NAME(Halftone3,_("Halftone3")); -SYNFIG_LAYER_SET_CATEGORY(Halftone3,_("Filters")); +SYNFIG_LAYER_SET_LOCAL_NAME(Halftone3,N_("Halftone 3")); +SYNFIG_LAYER_SET_CATEGORY(Halftone3,N_("Filters")); SYNFIG_LAYER_SET_VERSION(Halftone3,"0.0"); SYNFIG_LAYER_SET_CVS_ID(Halftone3,"$Id$"); @@ -229,13 +230,13 @@ Halftone3::color_func(const Point &point, float supersample,const Color& in_colo } inline float -Halftone3::calc_supersample(const synfig::Point &x, float pw,float ph)const +Halftone3::calc_supersample(const synfig::Point &/*x*/, float pw,float /*ph*/)const { return abs(pw/(tone[0].size).mag()); } synfig::Layer::Handle -Halftone3::hit_check(synfig::Context context, const synfig::Point &point)const +Halftone3::hit_check(synfig::Context /*context*/, const synfig::Point &/*point*/)const { return const_cast(this); }