mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +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
|
|
@ -131,24 +131,6 @@ Text::render (Rect const & /*area*/, Cairo::RefPtr<Cairo::Context> context) cons
|
|||
context->fill ();
|
||||
}
|
||||
|
||||
XMLNode *
|
||||
Text::get_state () const
|
||||
{
|
||||
XMLNode* node = new XMLNode ("Text");
|
||||
#ifdef CANVAS_DEBUG
|
||||
if (!name.empty ()) {
|
||||
node->add_property ("name", name);
|
||||
}
|
||||
#endif
|
||||
return node;
|
||||
}
|
||||
|
||||
void
|
||||
Text::set_state (XMLNode const * /*node*/)
|
||||
{
|
||||
/* XXX */
|
||||
}
|
||||
|
||||
void
|
||||
Text::set_alignment (Pango::Alignment alignment)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue