From 337e86673006d86be661ac060bc54e13ec23fb84 Mon Sep 17 00:00:00 2001 From: vurtun Date: Thu, 31 Dec 2015 12:23:57 +0100 Subject: [PATCH] updated Readme --- Readme.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Readme.md b/Readme.md index b75b01a..aa6f6de 100644 --- a/Readme.md +++ b/Readme.md @@ -50,7 +50,7 @@ draw the GUI. ```c /* init gui state */ struct zr_context ctx; -zr_init_fixed(&ctx, calloc(1, MAX_MEMORY), MAX_MEMORY, &font, sinf, cosf); +zr_init_fixed(&ctx, calloc(1, MAX_MEMORY), MAX_MEMORY, &font, sin, cos); enum {EASY, HARD}; int op = EASY; @@ -63,8 +63,7 @@ while (1) { zr_input_end(&ctx.input); zr_begin(&ctx, "Show", zr_rect(50, 50, 220, 220), - ZR_WINDOW_BORDER|ZR_WINDOW_MOVEABLE|ZR_WINDOW_SCALEABLE| - ZR_WINDOW_CLOSEABLE|ZR_WINDOW_MINIMIZABLE); + ZR_WINDOW_BORDER|ZR_WINDOW_MOVEABLE|ZR_WINDOW_CLOSEABLE); { /* fixed widget pixel width */ zr_layout_row_static(&ctx, 30, 80, 1);