aboutsummaryrefslogtreecommitdiff
path: root/src/game/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/game.cpp')
-rw-r--r--src/game/game.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/game/game.cpp b/src/game/game.cpp
index e969fe1..fd53841 100644
--- a/src/game/game.cpp
+++ b/src/game/game.cpp
@@ -80,13 +80,20 @@ void Game::on_start()
statusline->set_section_length(StatusLineSection::G, statusline_section_g_length);
statusline->set_section_length(StatusLineSection::H, statusline_section_h_length);
+ statusline->set_section_style(
+ StatusLineSection::A,
+ {.bg_color = static_cast<uint32_t>(fmt::color::green),
+ .bold = true,
+ .padding_left = 1U,
+ .padding_right = 1U});
+
_scene->register_component(statusline, Vector2({.x = 0, .y = 1}));
_status_manager->bind(statusline);
_minimum_cursor_pos_y = 2;
- _status_manager->set_section_title(StatusLineSection::A, " ");
+ _status_manager->set_section_title(StatusLineSection::A, "");
_status_manager->set_section_title(StatusLineSection::B, "X: ");
_status_manager->set_section_title(StatusLineSection::C, "Y: ");
_status_manager->set_section_title(StatusLineSection::D, "Paused: ");