X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Flyr_std%2Ftranslate.h;h=3e06d60b885469577028e2973374e6f83959d7b4;hb=fbf931812d7fc58c6457c898c7758debbf56a3b5;hp=c642f3be77def36f697c3a811ea22ebfbf82b895;hpb=28f28705612902c15cd0702cc891fba35bf2d2df;p=synfig.git diff --git a/synfig-core/trunk/src/modules/lyr_std/translate.h b/synfig-core/trunk/src/modules/lyr_std/translate.h index c642f3b..3e06d60 100644 --- a/synfig-core/trunk/src/modules/lyr_std/translate.h +++ b/synfig-core/trunk/src/modules/lyr_std/translate.h @@ -1,18 +1,22 @@ -/*! ======================================================================== -** Synfig -** Template Header File -** $Id: translate.h,v 1.2 2005/01/24 03:08:17 darco Exp $ +/* === S Y N F I G ========================================================= */ +/*! \file translate.h +** \brief Template Header ** -** 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 ** -** 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 =========================================================== ** @@ -40,7 +44,7 @@ using namespace std; using namespace etl; class Translate_Trans; - + class Translate : public Layer { SYNFIG_LAYER_MODULE_EXT @@ -50,14 +54,14 @@ private: public: Translate(); ~Translate(); - + virtual bool set_param(const String & param, const synfig::ValueBase &value); virtual ValueBase get_param(const String & param)const; virtual Color get_color(Context context, const Point &pos)const; virtual bool accelerated_render(Context context,Surface *surface,int quality, const RendDesc &renddesc, ProgressCallback *cb)const; virtual Vocab get_param_vocab()const; virtual synfig::Rect get_full_bounding_rect(Context context)const; - synfig::Layer::Handle hit_check(synfig::Context context, const synfig::Point &point)const; + synfig::Layer::Handle hit_check(synfig::Context context, const synfig::Point &point)const; virtual etl::handle get_transform()const; };