remove all XML related API from canvas. it may have been useful during development, but it is just a distraction - we will NEVER be saving or restoring canvas state via XML or any kind of serialized state

This commit is contained in:
Paul Davis 2013-04-15 21:57:08 -04:00
parent fe34485907
commit 84fb0a8dce
39 changed files with 1 additions and 463 deletions

View file

@ -43,19 +43,3 @@ Fill::setup_fill_context (Cairo::RefPtr<Cairo::Context> context) const
{
set_source_rgba (context, _fill_color);
}
void
Fill::add_fill_state (XMLNode* node) const
{
node->add_property ("fill-color", string_compose ("%1", _fill_color));
node->add_property ("fill", _fill ? "yes" : "no");
}
void
Fill::set_fill_state (XMLNode const * node)
{
_fill_color = atoll (node->property("fill-color")->value().c_str());
_fill = PBD::string_is_affirmative (node->property("fill")->value ().c_str());
_bounding_box_dirty = true;
}