X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Flyr_std%2Ftimeloop.cpp;h=9c4b2b54f9f528fcf74201d0020703ce1edc6fde;hb=e3f4437fedbdd74aebbf1675723978853dac8a8b;hp=2a12ddfa5d10288f15ae8f2e61047e694e345835;hpb=16b3beced25134bef064705568ecb893a6be4e79;p=synfig.git diff --git a/synfig-core/trunk/src/modules/lyr_std/timeloop.cpp b/synfig-core/trunk/src/modules/lyr_std/timeloop.cpp index 2a12ddf..9c4b2b5 100644 --- a/synfig-core/trunk/src/modules/lyr_std/timeloop.cpp +++ b/synfig-core/trunk/src/modules/lyr_std/timeloop.cpp @@ -1,18 +1,23 @@ -/*! ======================================================================== -** Sinfg -** Image Layer_TimeLoop Layer Implementation -** $Id: timeloop.cpp,v 1.1.1.1 2005/01/04 01:23:10 darco Exp $ +/* === S Y N F I G ========================================================= */ +/*! \file timeloop.cpp +** \brief Implementation of the "Time Loop" layer ** -** Copyright (c) 2002 Robert B. Quattlebaum Jr. +** $Id$ ** -** This software and associated documentation -** are CONFIDENTIAL and PROPRIETARY property of -** the above-mentioned copyright holder. +** \legal +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2007 Chris Moore ** -** 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 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. +** +** 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 ** ** === N O T E S =========================================================== ** @@ -28,15 +33,15 @@ #endif #include "timeloop.h" -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #endif -using namespace sinfg; +using namespace synfig; using namespace std; using namespace etl; @@ -44,12 +49,12 @@ using namespace etl; /* === G L O B A L S ======================================================= */ -SINFG_LAYER_INIT(Layer_TimeLoop); -SINFG_LAYER_SET_NAME(Layer_TimeLoop,"timeloop"); -SINFG_LAYER_SET_LOCAL_NAME(Layer_TimeLoop,_("TimeLoop")); -SINFG_LAYER_SET_CATEGORY(Layer_TimeLoop,_("Other")); -SINFG_LAYER_SET_VERSION(Layer_TimeLoop,"0.1"); -SINFG_LAYER_SET_CVS_ID(Layer_TimeLoop,"$Id: timeloop.cpp,v 1.1.1.1 2005/01/04 01:23:10 darco Exp $"); +SYNFIG_LAYER_INIT(Layer_TimeLoop); +SYNFIG_LAYER_SET_NAME(Layer_TimeLoop,"timeloop"); +SYNFIG_LAYER_SET_LOCAL_NAME(Layer_TimeLoop,N_("Time Loop")); +SYNFIG_LAYER_SET_CATEGORY(Layer_TimeLoop,N_("Other")); +SYNFIG_LAYER_SET_VERSION(Layer_TimeLoop,"0.1"); +SYNFIG_LAYER_SET_CVS_ID(Layer_TimeLoop,"$Id$"); /* === P R O C E D U R E S ================================================= */ @@ -88,7 +93,7 @@ Layer::Vocab Layer_TimeLoop::get_param_vocab()const { Layer::Vocab ret(Layer::get_param_vocab()); - + ret.push_back(ParamDesc("start_time") .set_local_name(_("Start Time")) ); @@ -96,7 +101,7 @@ Layer_TimeLoop::get_param_vocab()const ret.push_back(ParamDesc("end_time") .set_local_name(_("End Time")) ); - + return ret; }