From a570e494bca43c30d7ec91d293051c0c818509b5 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 23 Jun 2022 17:05:43 +0200 Subject: feat: add statusline mode styling --- src/engine/graphics/component_renderer.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/engine/graphics/component_renderer.hpp') diff --git a/src/engine/graphics/component_renderer.hpp b/src/engine/graphics/component_renderer.hpp index 4f53e07..ff1bc47 100644 --- a/src/engine/graphics/component_renderer.hpp +++ b/src/engine/graphics/component_renderer.hpp @@ -8,6 +8,8 @@ #include +constexpr auto SET_BOLD_MODE = "{esc}[1m"; + class ComponentRenderer : public IComponentRenderer { public: @@ -20,4 +22,7 @@ public: private: std::shared_ptr _cursor_controller; + + static void + _use_component_colors(const std::shared_ptr &component) noexcept; }; -- cgit v1.2.3-18-g5258