X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_geometry%2Fcheckerboard.h;h=f30bda7e43c4a7156e1660444239fc97c41a0f9b;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;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..f30bda7 100644 --- a/synfig-core/trunk/src/modules/mod_geometry/checkerboard.h +++ b/synfig-core/trunk/src/modules/mod_geometry/checkerboard.h @@ -1,9 +1,12 @@ -/*! ======================================================================== -** 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 ** +** $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 @@ -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;