aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2019-08-05 21:14:03 +0200
committerGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2019-08-05 21:14:03 +0200
commitefd1421fdb50a195ac8b9d88eed3df4761ffabff (patch)
treeb340894faa81def1e46e029db9802a79aebf5335
parenta195b56abaa730c879b8ca5088b88937ac577743 (diff)
downloadsynthpod-efd1421fdb50a195ac8b9d88eed3df4761ffabff.zip
synthpod-efd1421fdb50a195ac8b9d88eed3df4761ffabff.tar.gz
synthpod-efd1421fdb50a195ac8b9d88eed3df4761ffabff.tar.bz2
synthpod-efd1421fdb50a195ac8b9d88eed3df4761ffabff.tar.xz
d2tk: fixes for updated d2tk.
-rw-r--r--VERSION2
-rw-r--r--plugins/synthpod_common_d2tk.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/VERSION b/VERSION
index 85bd8e9..a7ed89d 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.6103
+0.1.6113
diff --git a/plugins/synthpod_common_d2tk.c b/plugins/synthpod_common_d2tk.c
index b6de4da..8111f9c 100644
--- a/plugins/synthpod_common_d2tk.c
+++ b/plugins/synthpod_common_d2tk.c
@@ -334,7 +334,7 @@ _expose_plugin_list_body(plughandle_t *handle, const d2tk_rect_t *rect)
const float voffset = d2tk_scrollbar_get_offset_y(vscroll);
const d2tk_rect_t *col = d2tk_scrollbar_get_rect(vscroll);
- D2TK_BASE_TABLE(col, 1, dn, trow)
+ D2TK_BASE_TABLE(col, 1, dn, D2TK_FLAG_TABLE_REL, trow)
{
const unsigned k = d2tk_table_get_index_y(trow) + voffset;
@@ -477,7 +477,7 @@ _expose_sidebar_bottom(plughandle_t *handle, const d2tk_rect_t *rect)
const float voffset = d2tk_scrollbar_get_offset_y(vscroll);
const d2tk_rect_t *col = d2tk_scrollbar_get_rect(vscroll);
- D2TK_BASE_TABLE(col, 1, dn, trow)
+ D2TK_BASE_TABLE(col, 1, dn, D2TK_FLAG_TABLE_REL, trow)
{
const unsigned k = d2tk_table_get_index_y(trow) + voffset;
@@ -611,7 +611,7 @@ _expose_patchmatrix(plughandle_t *handle, const d2tk_rect_t *rect)
return;
}
- D2TK_BASE_TABLE(rect, N, N, tab)
+ D2TK_BASE_TABLE(rect, N, N, D2TK_FLAG_TABLE_REL, tab)
{
const d2tk_rect_t *trect = d2tk_table_get_rect(tab);
const unsigned x = d2tk_table_get_index_x(tab);