From 9109ea3dde73aca41e728df5556b7f150b4d09cc Mon Sep 17 00:00:00 2001 From: radius Date: Sun, 14 Feb 2016 19:54:24 -0500 Subject: [PATCH] make the window half of the GLUI window for now --- menu/drivers/wimp.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/menu/drivers/wimp.c b/menu/drivers/wimp.c index e29c66db5b..10b50be78e 100644 --- a/menu/drivers/wimp.c +++ b/menu/drivers/wimp.c @@ -85,10 +85,9 @@ struct wimp { static void wimp_main(struct zr_context *ctx, int width, int height) { struct zr_panel layout; - if (zr_begin(ctx, &layout, "Show", zr_rect(width / 2, 0, width/2, height), - ZR_WINDOW_BORDER|ZR_WINDOW_MOVABLE|ZR_WINDOW_SCALABLE| - ZR_WINDOW_CLOSABLE|ZR_WINDOW_MINIMIZABLE|ZR_WINDOW_TITLE)) - { + if (zr_begin(ctx, &layout, "Show", zr_rect(width/2, 0, width/2, height), + ZR_WINDOW_BORDER)) + { enum {EASY, HARD}; static int op = EASY; static int property = 20;