aboutsummaryrefslogtreecommitdiff
path: root/sherlock_nk.h
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2016-11-05 17:06:43 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2016-11-05 17:06:43 +0100
commit18f88c1446db7094a0e26b8dfbbf224c5af1db8f (patch)
tree3516c6a5eb5b3c3053da6f09c8600c2e82c4093e /sherlock_nk.h
parent38eb4c53d89ebeb5718bd9f663d200cf6e81ec2d (diff)
downloadsherlock.lv2-18f88c1446db7094a0e26b8dfbbf224c5af1db8f.tar.xz
define colors only once.
Diffstat (limited to 'sherlock_nk.h')
-rw-r--r--sherlock_nk.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sherlock_nk.h b/sherlock_nk.h
index 66982c8..53c67a0 100644
--- a/sherlock_nk.h
+++ b/sherlock_nk.h
@@ -72,6 +72,16 @@ struct _plughandle_t {
extern const char *max_items [5];
extern const int32_t max_values [5];
+extern const struct nk_color white;
+extern const struct nk_color gray;
+extern const struct nk_color yellow;
+extern const struct nk_color magenta;
+extern const struct nk_color green;
+extern const struct nk_color blue;
+extern const struct nk_color orange;
+extern const struct nk_color violet;
+extern const struct nk_color red;
+
void
_midi_inspector_expose(struct nk_context *ctx, struct nk_rect wbounds, void *data);