aboutsummaryrefslogtreecommitdiff
path: root/subprojects/d2tk/d2tk
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2019-08-09 10:14:20 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2019-08-09 10:14:20 +0200
commit388244db4a22c1342a257d50b945cf6bb77048f4 (patch)
tree55a818a0ebcd77586a7817c0a411d50c0d2cb769 /subprojects/d2tk/d2tk
parent36a96ed68d7d3d9d85e1ba15fa4f9037204883d3 (diff)
parent49a801055cb8fd82ab0e7cbcc2e122027baf45ae (diff)
downloadtracker.lv2-388244db4a22c1342a257d50b945cf6bb77048f4.tar.xz
Merge commit '49a801055cb8fd82ab0e7cbcc2e122027baf45ae'
Diffstat (limited to 'subprojects/d2tk/d2tk')
-rw-r--r--subprojects/d2tk/d2tk/base.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/subprojects/d2tk/d2tk/base.h b/subprojects/d2tk/d2tk/base.h
index b51b3fe..048b91d 100644
--- a/subprojects/d2tk/d2tk/base.h
+++ b/subprojects/d2tk/d2tk/base.h
@@ -424,6 +424,13 @@ d2tk_base_label(d2tk_base_t *base, ssize_t lbl_len, const char *lbl,
float mul, const d2tk_rect_t *rect, d2tk_align_t align);
D2TK_API d2tk_state_t
+d2tk_base_link(d2tk_base_t *base, d2tk_id_t id, ssize_t lbl_len, const char *lbl,
+ float mul, const d2tk_rect_t *rect, d2tk_align_t align);
+
+#define d2tk_base_link_is_changed(...) \
+ d2tk_state_is_changed(d2tk_base_link(__VA_ARGS__))
+
+D2TK_API d2tk_state_t
d2tk_base_dial_bool(d2tk_base_t *base, d2tk_id_t id, const d2tk_rect_t *rect,
bool *value);