/* === S Y N F I G ========================================================= */
/*! \file checkerboard.cpp
-** \brief Template Header
+** \brief Implementation of the "Checkerboard" layer
**
** $Id$
**
bool
CheckerBoard::set_param(const String ¶m, const ValueBase &value)
{
- IMPORT(color);
+ IMPORT_PLUS(color, { if (color.get_a() == 0) { if (converted_blend_) {
+ set_blend_method(Color::BLEND_ALPHA_OVER);
+ color.set_a(1); } else transparent_color_ = true; } });
IMPORT(pos);
IMPORT(pos[0]);
IMPORT(pos[1]);