aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Color.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-08 20:21:36 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-08 20:21:36 +0100
commit506de66aaecc9b82415dde46058b848e46bc7258 (patch)
treea3f2427b0882d07f2d960b7214170533ad241830 /src/crepe/api/Color.h
parent7817c85e84560933a33ad86ec3f9ca3d48d327d5 (diff)
nitpicks (merge #27)
Diffstat (limited to 'src/crepe/api/Color.h')
-rw-r--r--src/crepe/api/Color.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/crepe/api/Color.h b/src/crepe/api/Color.h
index 4ebe3a3..aa47bf4 100644
--- a/src/crepe/api/Color.h
+++ b/src/crepe/api/Color.h
@@ -2,8 +2,9 @@
#include <cstdint>
-namespace crepe{
+namespace crepe {
+// TODO: make Color a struct w/o constructors/destructors
class Color {
// FIXME: can't these colors be defined as a `static constexpr const Color`
@@ -21,6 +22,7 @@ public:
static const Color & get_black();
private:
+ // TODO: why are these private!?
uint8_t r;
uint8_t g;
uint8_t b;