diff options
Diffstat (limited to 'src/interfaces')
-rw-r--r-- | src/interfaces/component.hpp | 4 | ||||
-rw-r--r-- | src/interfaces/cursor.hpp | 2 | ||||
-rw-r--r-- | src/interfaces/generation_tracker.hpp | 4 | ||||
-rw-r--r-- | src/interfaces/matrix.hpp | 4 | ||||
-rw-r--r-- | src/interfaces/statusline.hpp | 4 |
5 files changed, 9 insertions, 9 deletions
diff --git a/src/interfaces/component.hpp b/src/interfaces/component.hpp index 2f62c95..bf0680a 100644 --- a/src/interfaces/component.hpp +++ b/src/interfaces/component.hpp @@ -29,7 +29,7 @@ public: virtual void set_need_render(bool need_render) noexcept = 0; - [[nodiscard]] virtual auto get_foreground_color() const noexcept -> uint32_t = 0; + [[nodiscard]] virtual auto get_foreground_color() const noexcept -> std::uint32_t = 0; - [[nodiscard]] virtual auto get_background_color() const noexcept -> uint32_t = 0; + [[nodiscard]] virtual auto get_background_color() const noexcept -> std::uint32_t = 0; }; diff --git a/src/interfaces/cursor.hpp b/src/interfaces/cursor.hpp index 90d45da..a21e7a2 100644 --- a/src/interfaces/cursor.hpp +++ b/src/interfaces/cursor.hpp @@ -24,7 +24,7 @@ public: virtual void move( const Vector2 &direction, - const uint32_t &amount, + const std::uint32_t &amount, bool flush_cout = false) noexcept = 0; virtual void move_to(const Vector2 &position, bool flush_cout = false) noexcept = 0; diff --git a/src/interfaces/generation_tracker.hpp b/src/interfaces/generation_tracker.hpp index c3f6a7e..5f9bd13 100644 --- a/src/interfaces/generation_tracker.hpp +++ b/src/interfaces/generation_tracker.hpp @@ -11,9 +11,9 @@ class IGenerationTracker public: virtual ~IGenerationTracker() noexcept = default; - [[nodiscard]] virtual auto get_current_generation() const noexcept -> uint32_t = 0; + [[nodiscard]] virtual auto get_current_generation() const noexcept -> std::uint32_t = 0; - virtual void set_current_generation(uint32_t current_generation) noexcept = 0; + virtual void set_current_generation(std::uint32_t current_generation) noexcept = 0; [[nodiscard]] virtual auto get_is_paused() const noexcept -> bool = 0; diff --git a/src/interfaces/matrix.hpp b/src/interfaces/matrix.hpp index 10a3590..8edad80 100644 --- a/src/interfaces/matrix.hpp +++ b/src/interfaces/matrix.hpp @@ -23,9 +23,9 @@ public: virtual void set(const Vector2 &pos, Element element) noexcept = 0; - [[nodiscard]] virtual auto get_row_cnt() const noexcept -> uint32_t = 0; + [[nodiscard]] virtual auto get_row_cnt() const noexcept -> std::uint32_t = 0; - [[nodiscard]] virtual auto get_column_cnt() const noexcept -> uint32_t = 0; + [[nodiscard]] virtual auto get_column_cnt() const noexcept -> std::uint32_t = 0; [[nodiscard]] virtual auto begin() const noexcept -> MatrixIterator<Element> = 0; diff --git a/src/interfaces/statusline.hpp b/src/interfaces/statusline.hpp index ff6e1a9..c9fd392 100644 --- a/src/interfaces/statusline.hpp +++ b/src/interfaces/statusline.hpp @@ -30,10 +30,10 @@ public: virtual void set_section_status( StatusLineSection section, const std::string_view &status, - int32_t start = 1) noexcept = 0; + std::int32_t start = 1) noexcept = 0; virtual void - set_section_length(StatusLineSection section, int32_t length) noexcept = 0; + set_section_length(StatusLineSection section, std::int32_t length) noexcept = 0; virtual void set_section_style(StatusLineSection section, const Style &style) noexcept = 0; |