mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
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:
parent
fe34485907
commit
84fb0a8dce
39 changed files with 1 additions and 463 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue