make the window half of the GLUI window for now

This commit is contained in:
radius 2016-02-14 19:54:24 -05:00
parent a236c559f0
commit 9109ea3dde
1 changed files with 3 additions and 4 deletions

View File

@ -86,8 +86,7 @@ static void wimp_main(struct zr_context *ctx, int width, int height)
{ {
struct zr_panel layout; struct zr_panel layout;
if (zr_begin(ctx, &layout, "Show", zr_rect(width/2, 0, width/2, height), 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_BORDER))
ZR_WINDOW_CLOSABLE|ZR_WINDOW_MINIMIZABLE|ZR_WINDOW_TITLE))
{ {
enum {EASY, HARD}; enum {EASY, HARD};
static int op = EASY; static int op = EASY;