diff options
Diffstat (limited to 'midi_inspector_nk.c')
-rw-r--r-- | midi_inspector_nk.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/midi_inspector_nk.c b/midi_inspector_nk.c index b3d586b..6bfd123 100644 --- a/midi_inspector_nk.c +++ b/midi_inspector_nk.c @@ -15,22 +15,11 @@ * http://www.perlfoundation.org/artistic_license_2_0. */ +#include <inttypes.h> + #include <sherlock.h> #include <sherlock_nk.h> -#define ful 0xff -#define one 0xbb -#define two 0x66 -#define non 0x0 -static const struct nk_color white = {.r = one, .g = one, .b = one, .a = ful}; -static const struct nk_color gray = {.r = two, .g = two, .b = two, .a = ful}; -static const struct nk_color yellow = {.r = one, .g = one, .b = non, .a = ful}; -static const struct nk_color magenta = {.r = one, .g = two, .b = one, .a = ful}; -static const struct nk_color green = {.r = non, .g = one, .b = non, .a = ful}; -static const struct nk_color blue = {.r = non, .g = one, .b = one, .a = ful}; -static const struct nk_color orange = {.r = one, .g = two, .b = non, .a = ful}; -static const struct nk_color violet = {.r = two, .g = two, .b = one, .a = ful}; - typedef struct _midi_msg_t midi_msg_t; struct _midi_msg_t { |