Initial framework for saving/restoring model state.

This commit is contained in:
Jim Evins
2016-04-28 22:19:56 -04:00
parent c69db1efd7
commit 231dc66c0d
12 changed files with 302 additions and 41 deletions
+21
View File
@@ -60,6 +60,18 @@ Outline::Outline( LabelModelObject* owner )
}
///
/// Outline Copy constructor
///
Outline::Outline( const Outline* outline, LabelModelObject* newOwner )
: mOwner(newOwner)
{
mDashes = outline->mDashes;
mPen1 = outline->mPen1;
mPen2 = outline->mPen2;
}
///
/// Outline Destructor
///
@@ -68,6 +80,15 @@ Outline::~Outline()
}
///
/// Clone Outline
///
Outline* Outline::clone( LabelModelObject* newOwner ) const
{
return new Outline( this, newOwner );
}
///
/// Draw Outline
///