X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_geometry%2Fcheckerboard.h;h=327f2f6bdcf34dc02733a8a4ae29892f29c8dfcc;hb=ce5ffc46ee746fc74cc716b4a4eebdebc471e2e0;hp=25d4d27f23e81c14a7bf1f8d9baba7ba6cad696f;hpb=21bfc670b83d4c45da9ed1b95063b7e6a007168c;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_geometry/checkerboard.h b/synfig-core/trunk/src/modules/mod_geometry/checkerboard.h index 25d4d27..327f2f6 100644 --- a/synfig-core/trunk/src/modules/mod_geometry/checkerboard.h +++ b/synfig-core/trunk/src/modules/mod_geometry/checkerboard.h @@ -1,10 +1,13 @@ -/*! ======================================================================== -** Synfig -** Checkerboard Layer -** $Id: checkerboard.h,v 1.1.1.1 2005/01/04 01:23:10 darco Exp $ +/* === S Y N F I G ========================================================= */ +/*! \file checkerboard.h +** \brief Header file for implementation of the "Checkerboard" layer ** -** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** $Id$ ** +** \legal +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2008 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 ** published by the Free Software Foundation; either version 2 of @@ -14,6 +17,7 @@ ** 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 =========================================================== ** @@ -41,20 +45,20 @@ class CheckerBoard : public synfig::Layer_Composite, public synfig::Layer_NoDefo SYNFIG_LAYER_MODULE_EXT private: synfig::Color color; - synfig::Point pos; + synfig::Point origin; synfig::Point size; bool point_test(const synfig::Point& x)const; public: CheckerBoard(); - + virtual bool set_param(const synfig::String & param, const synfig::ValueBase &value); virtual synfig::ValueBase get_param(const synfig::String & param)const; virtual synfig::Color get_color(synfig::Context context, const synfig::Point &pos)const; - + virtual Vocab get_param_vocab()const; synfig::Layer::Handle hit_check(synfig::Context context, const synfig::Point &point)const;