aboutsummaryrefslogtreecommitdiff
path: root/src/engine/data
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/data')
-rw-r--r--src/engine/data/bounds.hpp6
-rw-r--r--src/engine/data/style.hpp8
-rw-r--r--src/engine/data/vector2.hpp6
3 files changed, 10 insertions, 10 deletions
diff --git a/src/engine/data/bounds.hpp b/src/engine/data/bounds.hpp
index 731db5c..b122489 100644
--- a/src/engine/data/bounds.hpp
+++ b/src/engine/data/bounds.hpp
@@ -15,14 +15,14 @@ enum CoordsValidation
struct BoundsOptions
{
- uint32_t width;
- uint32_t height;
+ std::uint32_t width;
+ std::uint32_t height;
};
class Bounds
{
public:
- using Value = uint32_t;
+ using Value = std::uint32_t;
explicit Bounds(const BoundsOptions &options) noexcept;
diff --git a/src/engine/data/style.hpp b/src/engine/data/style.hpp
index 50c1faa..6cb3fbd 100644
--- a/src/engine/data/style.hpp
+++ b/src/engine/data/style.hpp
@@ -7,14 +7,14 @@ class Style
{
public:
// Colors
- std::optional<uint32_t> fg_color{};
- std::optional<uint32_t> bg_color{};
+ std::optional<std::uint32_t> fg_color{};
+ std::optional<std::uint32_t> bg_color{};
// Toggles
bool bold = false;
bool reset_before = false;
// Spacing
- uint32_t padding_left = 0U;
- uint32_t padding_right = 0U;
+ std::uint32_t padding_left = 0U;
+ std::uint32_t padding_right = 0U;
};
diff --git a/src/engine/data/vector2.hpp b/src/engine/data/vector2.hpp
index 96ebf87..b83e924 100644
--- a/src/engine/data/vector2.hpp
+++ b/src/engine/data/vector2.hpp
@@ -5,8 +5,8 @@
struct Vector2Options
{
- int32_t x;
- int32_t y;
+ std::int32_t x;
+ std::int32_t y;
};
/**
@@ -15,7 +15,7 @@ struct Vector2Options
class Vector2
{
public:
- using Value = int32_t;
+ using Value = std::int32_t;
constexpr explicit Vector2(const Vector2Options &options) noexcept
: _x(options.x), _y(options.y)