key-binding: add binds for changing alpha

This commit is contained in:
Baltazár Radics 2022-08-16 12:49:44 +02:00
parent d7b48d3924
commit 1ed7206222
9 changed files with 54 additions and 2 deletions

1
util.h
View file

@ -8,6 +8,7 @@
#define ALEN(v) (sizeof(v) / sizeof((v)[0]))
#define min(x, y) ((x) < (y) ? (x) : (y))
#define max(x, y) ((x) > (y) ? (x) : (y))
#define clamp(x, lower, upper) (min(upper, max(x, lower)))
static inline bool
streq(const char *a, const char *b)