aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2019-02-05 19:12:25 +0100
committerGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2019-02-05 19:12:25 +0100
commitc37cce9d075cb1eb6691244cf25121ddea438f3b (patch)
tree0f58f5aea305af1a00c10c1aeb8b6091131a9c29
parent1f62de9dfd639f51ae75cb8849c6507de026a00c (diff)
downloadtracker.lv2-c37cce9d075cb1eb6691244cf25121ddea438f3b.zip
tracker.lv2-c37cce9d075cb1eb6691244cf25121ddea438f3b.tar.gz
tracker.lv2-c37cce9d075cb1eb6691244cf25121ddea438f3b.tar.bz2
tracker.lv2-c37cce9d075cb1eb6691244cf25121ddea438f3b.tar.xz
sequencer: use absolute layout.
-rw-r--r--VERSION2
-rw-r--r--tracker_sequencer_ui.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/VERSION b/VERSION
index b58eff6..ef395e3 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.3273
+0.1.3295
diff --git a/tracker_sequencer_ui.c b/tracker_sequencer_ui.c
index 764e9b5..a2f094a 100644
--- a/tracker_sequencer_ui.c
+++ b/tracker_sequencer_ui.c
@@ -578,9 +578,9 @@ _expose(void *data, d2tk_coord_t w, d2tk_coord_t h)
plughandle_t *handle = data;
d2tk_pugl_t *dpugl = handle->dpugl;
d2tk_base_t *base = d2tk_pugl_get_base(dpugl);
- const uint32_t frac [3] = { 1, 22, 1};
+ const d2tk_coord_t frac [3] = { 30, 0, 30};
- D2TK_BASE_LAYOUT(&D2TK_RECT(0, 0, w, h), 3, frac, D2TK_FLAG_LAYOUT_Y, vlay)
+ D2TK_BASE_LAYOUT(&D2TK_RECT(0, 0, w, h), 3, frac, D2TK_FLAG_LAYOUT_Y_ABS, vlay)
{
const d2tk_rect_t *vrect = d2tk_layout_get_rect(vlay);
const unsigned k = d2tk_layout_get_index(vlay);