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/data/style.hpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/engine/data/style.hpp (limited to 'src/engine/data/style.hpp') diff --git a/src/engine/data/style.hpp b/src/engine/data/style.hpp new file mode 100644 index 0000000..50c1faa --- /dev/null +++ b/src/engine/data/style.hpp @@ -0,0 +1,20 @@ +#pragma once + +#include +#include + +class Style +{ +public: + // Colors + std::optional fg_color{}; + std::optional bg_color{}; + + // Toggles + bool bold = false; + bool reset_before = false; + + // Spacing + uint32_t padding_left = 0U; + uint32_t padding_right = 0U; +}; -- cgit v1.2.3-18-g5258