diff options
Diffstat (limited to 'src/engine/graphics/statusline.hpp')
-rw-r--r-- | src/engine/graphics/statusline.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/graphics/statusline.hpp b/src/engine/graphics/statusline.hpp index add8e02..6f0a4c2 100644 --- a/src/engine/graphics/statusline.hpp +++ b/src/engine/graphics/statusline.hpp @@ -1,8 +1,8 @@ #pragma once #include "interfaces/cursor.hpp" +#include "interfaces/scene.hpp" #include "interfaces/statusline.hpp" -#include "interfaces/window.hpp" #include "engine/data/vector2.hpp" @@ -19,7 +19,7 @@ class StatusLine : public IStatusLine public: StatusLine( std::shared_ptr<ICursorController> cursor_controller, - std::shared_ptr<IWindow> window) noexcept; + std::shared_ptr<IScene> scene) noexcept; void initialize_background() noexcept override; @@ -35,7 +35,7 @@ private: std::unordered_map<StatusLineSection, uint32_t> _sections_lengths; std::shared_ptr<ICursorController> _cursor_controller; - std::shared_ptr<IWindow> _window; + std::shared_ptr<IScene> _scene; auto _move_to_statusline(int32_t x) noexcept -> Vector2; |