-/*! ========================================================================
-** 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
**
** This package is free software; you can redistribute it and/or
** 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 ===========================================================
**
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;