diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-15 21:57:08 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-15 21:57:08 -0400 |
commit | 84fb0a8dceda063d58b946cb891c3e21214c8f75 (patch) | |
tree | 1802e90cff0548e201397392c8aebd9f8f5f83dd /libs/canvas/fill.cc | |
parent | fe344859073b00ff63b0fd0b68c26af6cd96aae3 (diff) |
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
Diffstat (limited to 'libs/canvas/fill.cc')
-rw-r--r-- | libs/canvas/fill.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/libs/canvas/fill.cc b/libs/canvas/fill.cc index 6a424d8c63..4e2d2b1912 100644 --- a/libs/canvas/fill.cc +++ b/libs/canvas/fill.cc @@ -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; -} |