aboutsummaryrefslogtreecommitdiff
path: root/atom_inspector_nk.c
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2017-10-20 12:25:18 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2017-10-20 12:25:18 +0200
commit0f58f7b60413d3f81a54de6c7faeddc81d46817e (patch)
tree2cde9b20a646d381e6f2412f402f4079e5d0dcfb /atom_inspector_nk.c
parent279458e16cc6cb61035c029673a0e0d014de2938 (diff)
downloadsherlock.lv2-0f58f7b60413d3f81a54de6c7faeddc81d46817e.tar.xz
nk: fixes for updated nuklear.
Diffstat (limited to 'atom_inspector_nk.c')
-rw-r--r--atom_inspector_nk.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/atom_inspector_nk.c b/atom_inspector_nk.c
index 6a555af..9a987ee 100644
--- a/atom_inspector_nk.c
+++ b/atom_inspector_nk.c
@@ -125,9 +125,10 @@ _atom_inspector_expose(struct nk_context *ctx, struct nk_rect wbounds, void *dat
style->selectable.normal.data.color.a = 0x0;
style->selectable.hover.data.color.a = 0x0;
- if(nk_begin(ctx, "Window", wbounds, NK_WINDOW_NO_SCROLLBAR))
+ const char *window_name = "Sherlock";
+ if(nk_begin(ctx, window_name, wbounds, NK_WINDOW_NO_SCROLLBAR))
{
- nk_window_set_bounds(ctx, wbounds);
+ nk_window_set_bounds(ctx, window_name, wbounds);
struct nk_panel *panel= nk_window_get_panel(ctx);
struct nk_command_buffer *canvas = nk_window_get_canvas(ctx);