aboutsummaryrefslogtreecommitdiff
path: root/src/engine/graphics/statusline.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-05-22 17:05:00 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:59 +0200
commit7de921836587cdc359c2c4b84ed6446ada16c008 (patch)
treec4ec20b4769817c41ce7d939956da297bf787597 /src/engine/graphics/statusline.hpp
parent723ea6535b4c4e5605e5592137a898d6ffa458c1 (diff)
refactor: remove window class
Diffstat (limited to 'src/engine/graphics/statusline.hpp')
-rw-r--r--src/engine/graphics/statusline.hpp6
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;