Add support for hidden windows, hide on munit tests

This commit is contained in:
Joshua Granick
2016-08-10 11:07:31 -07:00
parent 0aac32f551
commit 2918876ede
5 changed files with 20 additions and 6 deletions

View File

@@ -85,6 +85,9 @@ class ApplicationMain {
fullscreen: ::fullscreen::,
hardware: ::hardware::,
height: ::height::,
hidden: #if munit true #else ::hidden:: #end,
maximized: ::maximized::,
minimized: ::minimized::,
parameters: "::parameters::",
resizable: ::resizable::,
stencilBuffer: ::stencilBuffer::,
@@ -112,11 +115,7 @@ class ApplicationMain {
var result = app.exec ();
#if (sys && !nodejs && !emscripten)
if (result != 0) {
Sys.exit (result);
}
lime.system.System.exit (result);
#end
#else