make the window half of the GLUI window for now
This commit is contained in:
parent
a236c559f0
commit
9109ea3dde
|
@ -85,10 +85,9 @@ struct wimp {
|
||||||
static void wimp_main(struct zr_context *ctx, int width, int height)
|
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;
|
||||||
static int property = 20;
|
static int property = 20;
|
||||||
|
|
Loading…
Reference in New Issue