aboutsummaryrefslogtreecommitdiff
path: root/mwe/events/src/uiObject.cpp
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-22 13:48:46 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-22 13:48:46 +0100
commit6a7e06f875d789af0e8f9b5ce0ad24b9eaa96d25 (patch)
tree07397ab46e2518fde4140777e2e181cde8ad938e /mwe/events/src/uiObject.cpp
parent296c80edd6727d6808ed0c98c001a8b456f1c037 (diff)
parent61148c757a1f742ff09e40e5347e74e638c7371c (diff)
Merge branch 'master' into niels/UI
Diffstat (limited to 'mwe/events/src/uiObject.cpp')
-rw-r--r--mwe/events/src/uiObject.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/mwe/events/src/uiObject.cpp b/mwe/events/src/uiObject.cpp
index 947d1a2..6b5b326 100644
--- a/mwe/events/src/uiObject.cpp
+++ b/mwe/events/src/uiObject.cpp
@@ -10,7 +10,7 @@ Text::Text(int width, int height)
: UIObject(width, height),
size(12),
font(nullptr),
- color{255, 255, 255} { // Default size and color
+ color {255, 255, 255} { // Default size and color
alignment.horizontal = Alignment::Horizontal::CENTER;
alignment.vertical = Alignment::Vertical::MIDDLE;
alignment.mode = Alignment::PositioningMode::RELATIVE;
@@ -21,8 +21,8 @@ TextInput::TextInput(int width, int height)
textBuffer(""),
placeholder(""),
isActive(false),
- textColor{255, 255, 255},
- backgroundColor{0, 0, 0},
+ textColor {255, 255, 255},
+ backgroundColor {0, 0, 0},
maxLength(100),
font(nullptr) {
alignment.horizontal = Alignment::Horizontal::LEFT;