summaryrefslogtreecommitdiffstats
path: root/Project/Text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Project/Text.cpp')
-rw-r--r--Project/Text.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Project/Text.cpp b/Project/Text.cpp
index f012044..05915f7 100644
--- a/Project/Text.cpp
+++ b/Project/Text.cpp
@@ -894,3 +894,10 @@ void Text::UpdateText(double systemPowerBase)
} break;
}
}
+
+Element* Text::GetCopy()
+{
+ Text* copy = new Text();
+ *copy = *this;
+ return copy;
+}