From d792fcf7b2a5862ac86ee69aa86021b5637ca8ee Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Thu, 29 Dec 2016 02:32:50 -0200 Subject: Copy paste implemented Some bugs on the text --- Project/Text.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Project/Text.cpp') 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; +} -- cgit