X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_filter%2Flumakey.cpp;h=cd7ed902d6693bacbf490537bc60beef03d22872;hb=49b7555d9c8ae6590a56b5dcc82f34ee8b025e34;hp=c102cb3b37abbe0e431cf21e62c5789522dc7ed6;hpb=16b3beced25134bef064705568ecb893a6be4e79;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_filter/lumakey.cpp b/synfig-core/trunk/src/modules/mod_filter/lumakey.cpp index c102cb3..cd7ed90 100644 --- a/synfig-core/trunk/src/modules/mod_filter/lumakey.cpp +++ b/synfig-core/trunk/src/modules/mod_filter/lumakey.cpp @@ -1,20 +1,21 @@ -/* === S I N F G =========================================================== */ +/* === S Y N F I G ========================================================= */ /*! \file checkerboard.cpp ** \brief Template Header ** ** $Id: lumakey.cpp,v 1.1.1.1 2005/01/04 01:23:10 darco Exp $ ** ** \legal -** Copyright (c) 2002 Robert B. Quattlebaum Jr. +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley ** -** This software and associated documentation -** are CONFIDENTIAL and PROPRIETARY property of -** the above-mentioned copyright holder. +** This package is free software; you can redistribute it and/or +** modify it under the terms of the GNU General Public License as +** published by the Free Software Foundation; either version 2 of +** the License, or (at your option) any later version. ** -** You may not copy, print, publish, or in any -** other way distribute this software without -** a prior written agreement with -** the copyright holder. +** This package is distributed in the hope that it will be useful, +** 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 */ /* ========================================================================= */ @@ -30,19 +31,19 @@ #include "lumakey.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #endif -using namespace sinfg; +using namespace synfig; using namespace std; using namespace etl; @@ -50,12 +51,12 @@ using namespace etl; /* === G L O B A L S ======================================================= */ -SINFG_LAYER_INIT(LumaKey); -SINFG_LAYER_SET_NAME(LumaKey,"lumakey"); -SINFG_LAYER_SET_LOCAL_NAME(LumaKey,_("LumaKey")); -SINFG_LAYER_SET_CATEGORY(LumaKey,_("Filters")); -SINFG_LAYER_SET_VERSION(LumaKey,"0.1"); -SINFG_LAYER_SET_CVS_ID(LumaKey,"$Id: lumakey.cpp,v 1.1.1.1 2005/01/04 01:23:10 darco Exp $"); +SYNFIG_LAYER_INIT(LumaKey); +SYNFIG_LAYER_SET_NAME(LumaKey,"lumakey"); +SYNFIG_LAYER_SET_LOCAL_NAME(LumaKey,_("LumaKey")); +SYNFIG_LAYER_SET_CATEGORY(LumaKey,_("Filters")); +SYNFIG_LAYER_SET_VERSION(LumaKey,"0.1"); +SYNFIG_LAYER_SET_CVS_ID(LumaKey,"$Id: lumakey.cpp,v 1.1.1.1 2005/01/04 01:23:10 darco Exp $"); /* === P R O C E D U R E S ================================================= */ @@ -104,8 +105,8 @@ LumaKey::get_param_vocab()const return ret; } -sinfg::Layer::Handle -LumaKey::hit_check(sinfg::Context context, const sinfg::Point &getpos)const +synfig::Layer::Handle +LumaKey::hit_check(synfig::Context context, const synfig::Point &getpos)const { return context.hit_check(getpos); }