aboutsummaryrefslogtreecommitdiff
path: root/include/BH/Color.h
diff options
context:
space:
mode:
authorMikhail Romanko <me@blankhex.com>2025-08-07 22:05:12 +0300
committerMikhail Romanko <me@blankhex.com>2025-08-07 22:05:12 +0300
commitd05efc5f85fa4d820c476a73d262abf5f6a58228 (patch)
treecd7dcff6d03a7484a6a662cf5f9c5da9307cc39b /include/BH/Color.h
parent4ce443f0d9143b4485c2e2627180bb0275abfdbe (diff)
downloadbhlib-d05efc5f85fa4d820c476a73d262abf5f6a58228.tar.gz
Refactor bitmap, add extra accessor for color data
Diffstat (limited to 'include/BH/Color.h')
-rw-r--r--include/BH/Color.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/BH/Color.h b/include/BH/Color.h
index 1fb2d73..2cb8b76 100644
--- a/include/BH/Color.h
+++ b/include/BH/Color.h
@@ -56,6 +56,7 @@ typedef struct BH_Color
uint16_t l;
uint16_t a;
} hsla;
+ uint16_t channel[4];
} data;
} BH_Color;