summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-08-03 12:47:00 +0200
committerraveit65 <[email protected]>2020-09-01 09:56:09 +0200
commit939c009ded49576d60785da8abba89fdb1471bc2 (patch)
tree53bf0860254d35867a8d906c2adbd0997e017a5a /src
parentaaa8cf0b7b32536398846b8cf28250e0150f55b2 (diff)
downloadmarco-939c009ded49576d60785da8abba89fdb1471bc2.tar.bz2
marco-939c009ded49576d60785da8abba89fdb1471bc2.tar.xz
theme: macro "ALPHA_TO_UCHAR" is not used
Diffstat (limited to 'src')
-rw-r--r--src/ui/theme.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ui/theme.c b/src/ui/theme.c
index 51be390d..3a623f9e 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -75,8 +75,6 @@
((int)((color).green * 255) << 8) | \
((int)((color).blue * 255))))
-#define ALPHA_TO_UCHAR(d) ((unsigned char) ((d) * 255))
-
#define DEBUG_FILL_STRUCT(s) memset ((s), 0xef, sizeof (*(s)))
#define CLAMP_UCHAR(v) ((guchar) (CLAMP (((int)v), (int)0, (int)255)))
#define INTENSITY(r, g, b) ((r) * 0.30 + (g) * 0.59 + (b) * 0.11)