summaryrefslogtreecommitdiffstats
path: root/Project/Text.cpp
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2016-12-29 02:32:50 -0200
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2016-12-29 02:32:50 -0200
commitd792fcf7b2a5862ac86ee69aa86021b5637ca8ee (patch)
treec00bb1d27666ee7d42839efbd420369b2a0d24e3 /Project/Text.cpp
parentfb9de1b7935376897f1c93676ab1faeb1ea25f25 (diff)
downloadPSP.git-d792fcf7b2a5862ac86ee69aa86021b5637ca8ee.tar.gz
PSP.git-d792fcf7b2a5862ac86ee69aa86021b5637ca8ee.tar.xz
PSP.git-d792fcf7b2a5862ac86ee69aa86021b5637ca8ee.zip
Copy paste implemented
Some bugs on the text
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;
+}