diff options
author | HampusM <hampus@hampusmat.com> | 2022-05-15 19:57:02 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:59 +0200 |
commit | 019337908e37ffee9b624b313e9d7f885bff9781 (patch) | |
tree | 7f8ba5e8b12fff7723b1af2317c3fba52c0c7011 /src/engine/graphics/statusline.hpp | |
parent | 741a6008e806abb8e5aaa8f8fb91827fa97ece9d (diff) |
style: change braced list & bracket style
Diffstat (limited to 'src/engine/graphics/statusline.hpp')
-rw-r--r-- | src/engine/graphics/statusline.hpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/engine/graphics/statusline.hpp b/src/engine/graphics/statusline.hpp index 181090d..add8e02 100644 --- a/src/engine/graphics/statusline.hpp +++ b/src/engine/graphics/statusline.hpp @@ -19,16 +19,14 @@ class StatusLine : public IStatusLine public: StatusLine( std::shared_ptr<ICursorController> cursor_controller, - std::shared_ptr<IWindow> window - ) noexcept; + std::shared_ptr<IWindow> window) noexcept; void initialize_background() noexcept override; void set_status( const StatusLineSection §ion, const std::string_view &status, - std::size_t start - ) noexcept override; + std::size_t start) noexcept override; void set_section_length(const StatusLineSection §ion, uint32_t length) noexcept override; @@ -43,8 +41,8 @@ private: void _move_back(Vector2 previous_position) noexcept; - [[nodiscard]] auto _get_section_start_x(const StatusLineSection §ion - ) const noexcept -> int32_t; + [[nodiscard]] auto + _get_section_start_x(const StatusLineSection §ion) const noexcept -> int32_t; void _clear_section(const StatusLineSection §ion, std::size_t start) noexcept; }; |