fixed demo in Readme

This commit is contained in:
vurtun
2015-12-30 22:15:56 +01:00
parent 20b9d3cd45
commit 64b1adffe6
+1 -4
View File
@@ -72,14 +72,11 @@ while (1) {
/* event handling */
}
/* fixed widget window ration width */
/* fixed widget window ratio width */
zr_layout_row_dynamic(&ctx, 30, 2);
if (zr_option(&ctx, "easy", op == EASY)) op = EASY;
if (zr_option(&ctx, "hard", op == HARD)) op = HARD;
zr_layout_row_dynamic(&ctx, 30, 1);
zr_property_int(&ctx, "Compression:", 0, &i, 100, 10, 1);
/* custom widget pixel width */
zr_layout_row_begin(&ctx, ZR_STATIC, 30, 2);
{