aboutsummaryrefslogtreecommitdiff
path: root/d2tk/base.h
diff options
context:
space:
mode:
Diffstat (limited to 'd2tk/base.h')
-rw-r--r--d2tk/base.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/d2tk/base.h b/d2tk/base.h
index b51b3fe..048b91d 100644
--- a/d2tk/base.h
+++ b/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);