Removed wrong nk_window_is_closed
in demos
This commit is contained in:
parent
0d010a39a4
commit
5cf6f204b7
@ -241,7 +241,6 @@ int main(void)
|
||||
}
|
||||
}
|
||||
nk_end(ctx);
|
||||
if (nk_window_is_closed(ctx, "Demo")) break;
|
||||
|
||||
/* -------------- EXAMPLES ---------------- */
|
||||
/*calculator(ctx);*/
|
||||
|
@ -141,7 +141,6 @@ int main(void)
|
||||
nk_property_int(ctx, "Compression:", 0, &property, 100, 10, 1);
|
||||
}
|
||||
nk_end(ctx);
|
||||
if (nk_window_is_closed(ctx, "Demo")) break;
|
||||
|
||||
/* -------------- EXAMPLES ---------------- */
|
||||
/*calculator(ctx);*/
|
||||
|
@ -136,7 +136,6 @@ int main(void)
|
||||
nk_property_int(ctx, "Compression:", 0, &property, 100, 10, 1);
|
||||
}
|
||||
nk_end(ctx);
|
||||
if (nk_window_is_closed(ctx, "Demo")) break;
|
||||
|
||||
/* -------------- EXAMPLES ---------------- */
|
||||
/*calculator(ctx);*/
|
||||
|
@ -47,8 +47,8 @@
|
||||
* and the corresponding function. */
|
||||
/*#include "../style.c"*/
|
||||
/*#include "../calculator.c"*/
|
||||
/*#include "../overview.c"*/
|
||||
/*#include "../node_editor.c"*/
|
||||
/*#include "../overview.c" */
|
||||
/*#include "../node_editor.c" */
|
||||
|
||||
/* ===============================================================
|
||||
*
|
||||
|
@ -179,7 +179,7 @@ main(void)
|
||||
nk_property_int(ctx, "Compression:", 0, &property, 100, 10, 1);
|
||||
}
|
||||
nk_end(ctx);
|
||||
if (nk_window_is_closed(ctx, "Demo")) break;
|
||||
if (nk_window_is_hidden(ctx, "Demo")) break;
|
||||
|
||||
/* -------------- EXAMPLES ---------------- */
|
||||
/*calculator(ctx);*/
|
||||
|
@ -289,7 +289,6 @@ int main(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
nk_end(ctx);
|
||||
if (nk_window_is_closed(ctx, "Demo")) break;
|
||||
|
||||
/* -------------- EXAMPLES ---------------- */
|
||||
/*calculator(ctx);*/
|
||||
|
@ -286,7 +286,6 @@ int main(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
nk_end(ctx);
|
||||
if (nk_window_is_closed(ctx, "Demo")) break;
|
||||
|
||||
/* -------------- EXAMPLES ---------------- */
|
||||
/*calculator(ctx);*/
|
||||
|
Loading…
Reference in New Issue
Block a user