aboutsummaryrefslogtreecommitdiff
path: root/src/Text.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-09-24 01:26:12 +0200
committerdec05eba <dec05eba@protonmail.com>2020-09-24 01:26:12 +0200
commit35508a1c737056c4ff821d1d5c40bea4715dffc8 (patch)
tree69540206faf45445d12f9d8c46e34d97bac3a7f1 /src/Text.cpp
parent4f33e96ef1b2323e88206dc9a3deb4fc2c333738 (diff)
Fix broken author text
Diffstat (limited to 'src/Text.cpp')
-rw-r--r--src/Text.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Text.cpp b/src/Text.cpp
index 4aaf1c6..8f58e3d 100644
--- a/src/Text.cpp
+++ b/src/Text.cpp
@@ -155,6 +155,11 @@ namespace QuickMedia
dirtyCaret = true;
}
}
+
+ float Text::getWidth() const
+ {
+ return boundingBox.width;
+ }
float Text::getHeight() const
{