aboutsummaryrefslogtreecommitdiff
path: root/src/engine/data/style.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-06-23 17:05:43 +0200
committerHampusM <hampus@hampusmat.com>2022-06-23 18:24:48 +0200
commita570e494bca43c30d7ec91d293051c0c818509b5 (patch)
tree4eea8c16d1434893ca51b721c5498ece65c836aa /src/engine/data/style.hpp
parentec5c7cbccc533bacab661e991e7011584d3bb47f (diff)
feat: add statusline mode styling
Diffstat (limited to 'src/engine/data/style.hpp')
-rw-r--r--src/engine/data/style.hpp20
1 files changed, 20 insertions, 0 deletions
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 <cstdint>
+#include <optional>
+
+class Style
+{
+public:
+ // Colors
+ std::optional<uint32_t> fg_color{};
+ std::optional<uint32_t> bg_color{};
+
+ // Toggles
+ bool bold = false;
+ bool reset_before = false;
+
+ // Spacing
+ uint32_t padding_left = 0U;
+ uint32_t padding_right = 0U;
+};