aboutsummaryrefslogtreecommitdiff
path: root/subprojects/d2tk/d2tk
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2020-07-13 21:24:29 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2020-07-13 21:24:29 +0200
commit3c35a2483dae8135cd33a7faf5429a9c2db9546b (patch)
tree4fe3c455124e88a01cd2eac3f43baf160df09685 /subprojects/d2tk/d2tk
parent54cbc2b4e32309098e18573e0711fe7463cefeec (diff)
parent45958234d88781e6a155f32bf939480fa1922b41 (diff)
downloadtracker.lv2-master.tar.xz
Merge commit '45958234d88781e6a155f32bf939480fa1922b41'HEADmaster
Diffstat (limited to 'subprojects/d2tk/d2tk')
-rw-r--r--subprojects/d2tk/d2tk/base.h25
1 files changed, 23 insertions, 2 deletions
diff --git a/subprojects/d2tk/d2tk/base.h b/subprojects/d2tk/d2tk/base.h
index 4e4238c..0926b6d 100644
--- a/subprojects/d2tk/d2tk/base.h
+++ b/subprojects/d2tk/d2tk/base.h
@@ -567,8 +567,15 @@ d2tk_base_dial_double(d2tk_base_t *base, d2tk_id_t id, const d2tk_rect_t *rect,
d2tk_state_is_changed(d2tk_base_dial_double(__VA_ARGS__))
D2TK_API d2tk_state_t
+d2tk_base_spinner_bool(d2tk_base_t *base, d2tk_id_t id, const d2tk_rect_t *rect,
+ ssize_t lbl_len, const char *lbl, bool *value);
+
+#define d2tk_base_spinner_bool_is_changed(...) \
+ d2tk_state_is_changed(d2tk_base_spinner_bool(__VA_ARGS__))
+
+D2TK_API d2tk_state_t
d2tk_base_spinner_int32(d2tk_base_t *base, d2tk_id_t id, const d2tk_rect_t *rect,
- int32_t min, int32_t *value, int32_t max);
+ ssize_t lbl_len, const char *lbl, int32_t min, int32_t *value, int32_t max);
#define d2tk_base_spinner_int32_is_changed(...) \
d2tk_state_is_changed(d2tk_base_spinner_int32(__VA_ARGS__))
@@ -582,18 +589,32 @@ d2tk_base_bar_int32(d2tk_base_t *base, d2tk_id_t id, const d2tk_rect_t *rect,
D2TK_API d2tk_state_t
d2tk_base_spinner_float(d2tk_base_t *base, d2tk_id_t id, const d2tk_rect_t *rect,
- float min, float *value, float max);
+ ssize_t lbl_len, const char *lbl, float min, float *value, float max);
#define d2tk_base_spinner_float_is_changed(...) \
d2tk_state_is_changed(d2tk_base_spinner_float(__VA_ARGS__))
D2TK_API d2tk_state_t
+d2tk_base_spinner_wave_float(d2tk_base_t *base, d2tk_id_t id, const d2tk_rect_t *rect,
+ ssize_t lbl_len, const char *lbl, float min, const float *value, int32_t nelem, float max);
+
+#define d2tk_base_spinner_wave_float_is_changed(...) \
+ d2tk_state_is_changed(d2tk_base_spinner_wave_float(__VA_ARGS__))
+
+D2TK_API d2tk_state_t
d2tk_base_bar_float(d2tk_base_t *base, d2tk_id_t id, const d2tk_rect_t *rect,
float min, float *value, float max);
#define d2tk_base_bar_float_is_changed(...) \
d2tk_state_is_changed(d2tk_base_bar_float(__VA_ARGS__))
+D2TK_API d2tk_state_t
+d2tk_base_wave_float(d2tk_base_t *base, d2tk_id_t id, const d2tk_rect_t *rect,
+ float min, const float *value, int32_t nelem, float max);
+
+#define d2tk_base_wave_float_is_changed(...) \
+ d2tk_state_is_changed(d2tk_base_wave_float(__VA_ARGS__))
+
D2TK_API d2tk_flowmatrix_t *
d2tk_flowmatrix_begin(d2tk_base_t *base, const d2tk_rect_t *rect, d2tk_id_t id,
d2tk_flowmatrix_t *flowmatrix);