diff options
author | HampusM <hampus@hampusmat.com> | 2022-06-23 17:05:43 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-23 18:24:48 +0200 |
commit | a570e494bca43c30d7ec91d293051c0c818509b5 (patch) | |
tree | 4eea8c16d1434893ca51b721c5498ece65c836aa /src/engine/graphics/component_renderer.hpp | |
parent | ec5c7cbccc533bacab661e991e7011584d3bb47f (diff) |
feat: add statusline mode styling
Diffstat (limited to 'src/engine/graphics/component_renderer.hpp')
-rw-r--r-- | src/engine/graphics/component_renderer.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
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 <memory> +constexpr auto SET_BOLD_MODE = "{esc}[1m"; + class ComponentRenderer : public IComponentRenderer { public: @@ -20,4 +22,7 @@ public: private: std::shared_ptr<ICursorController> _cursor_controller; + + static void + _use_component_colors(const std::shared_ptr<IComponent> &component) noexcept; }; |