mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-16 08:21:20 -04:00
key-binding: add binds for changing alpha
This commit is contained in:
parent
d7b48d3924
commit
1ed7206222
9 changed files with 54 additions and 2 deletions
1
util.h
1
util.h
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue