@@ -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);
@@ -136,7 +136,6 @@ int main(void)
@@ -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)
+ if (nk_window_is_hidden(ctx, "Demo")) break;
@@ -289,7 +289,6 @@ int main(int argc, char **argv)
@@ -286,7 +286,6 @@ int main(int argc, char **argv)