aboutsummaryrefslogtreecommitdiff
path: root/src/engine/graphics/component_renderer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/graphics/component_renderer.hpp')
-rw-r--r--src/engine/graphics/component_renderer.hpp5
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;
};