aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2020-04-09 00:15:15 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2020-04-09 00:15:15 +0200
commit187b94e4b6051269bee8664593a1a16e609af354 (patch)
tree54302145d730ce02624d5ceacf28bb69af536cf3
parente8270e7675b13afdcbcaa1b82a7f5476397139ba (diff)
downloadd2tk.lv2-187b94e4b6051269bee8664593a1a16e609af354.tar.xz
ui: fixes for updated d2tk.
-rw-r--r--VERSION2
-rw-r--r--plug_ui.c14
2 files changed, 8 insertions, 8 deletions
diff --git a/VERSION b/VERSION
index 962d1c1..ef2f8c8 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.81
+0.1.87
diff --git a/plug_ui.c b/plug_ui.c
index 1d992a6..1d25289 100644
--- a/plug_ui.c
+++ b/plug_ui.c
@@ -34,7 +34,7 @@ struct _plughandle_t {
LV2_Log_Logger logger;
d2tk_pugl_config_t config;
- d2tk_pugl_t *dpugl;
+ d2tk_frontend_t *dpugl;
LV2UI_Controller *controller;
LV2UI_Write_Function writer;
@@ -68,8 +68,8 @@ _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);
+ d2tk_frontend_t *dpugl = handle->dpugl;
+ d2tk_base_t *base = d2tk_frontend_get_base(dpugl);
const d2tk_rect_t rect = D2TK_RECT(0, 0, w, h);
static const d2tk_coord_t vfrac [3] = { 1, 1, CONTROL_N };
@@ -239,7 +239,7 @@ cleanup(LV2UI_Handle instance)
{
plughandle_t *handle = instance;
- d2tk_pugl_free(handle->dpugl);
+ d2tk_frontend_free(handle->dpugl);
free(handle);
}
@@ -323,7 +323,7 @@ port_event(LV2UI_Handle instance, uint32_t index, uint32_t size,
if(redisplay)
{
- d2tk_pugl_redisplay(handle->dpugl);
+ d2tk_frontend_redisplay(handle->dpugl);
}
}
}
@@ -333,7 +333,7 @@ _idle(LV2UI_Handle instance)
{
plughandle_t *handle = instance;
- return d2tk_pugl_step(handle->dpugl);
+ return d2tk_frontend_step(handle->dpugl);
}
static const LV2UI_Idle_Interface idle_ext = {
@@ -345,7 +345,7 @@ _resize(LV2UI_Handle instance, int width, int height)
{
plughandle_t *handle = instance;
- return d2tk_pugl_set_size(handle->dpugl, width, height);
+ return d2tk_frontend_set_size(handle->dpugl, width, height);
}
static const LV2UI_Resize resize_ext = {