aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/classes/GUIOverlappingElementsBox.cpp
diff options
context:
space:
mode:
author Nemrav <>2024-11-16 18:22:18 +0100
committer Nemrav <>2024-11-16 18:22:18 +0100
commit401f3ffbc5e727e46c42c5643b4e9515e23a3c03 (patch)
tree025e1e4379191738ee78f28ddb1ef52162093dcb /extension/src/openvic-extension/classes/GUIOverlappingElementsBox.cpp
parent9455c807d392e2cdd11c7f3cc89dd567422faa99 (diff)
use text alignment type
Diffstat (limited to 'extension/src/openvic-extension/classes/GUIOverlappingElementsBox.cpp')
-rw-r--r--extension/src/openvic-extension/classes/GUIOverlappingElementsBox.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/extension/src/openvic-extension/classes/GUIOverlappingElementsBox.cpp b/extension/src/openvic-extension/classes/GUIOverlappingElementsBox.cpp
index ca5e666..52d26b7 100644
--- a/extension/src/openvic-extension/classes/GUIOverlappingElementsBox.cpp
+++ b/extension/src/openvic-extension/classes/GUIOverlappingElementsBox.cpp
@@ -5,6 +5,7 @@
#include "openvic-extension/utility/ClassBindings.hpp"
#include "openvic-extension/utility/UITools.hpp"
#include "openvic-extension/utility/Utilities.hpp"
+#include "openvic-simulation/types/TextFormat.hpp"
using namespace OpenVic;
using namespace godot;
@@ -30,7 +31,7 @@ Error GUIOverlappingElementsBox::_update_child_positions() {
float starting_x = 0.0f;
Error err = OK;
- using enum GUI::AlignedElement::format_t;
+ using enum text_format_t;
switch (gui_overlapping_elements_box->get_format()) {
case left:
break;