diff options
| author | grm <grm@eyesin.space> | 2026-03-14 02:29:15 +0200 |
|---|---|---|
| committer | grm <grm@eyesin.space> | 2026-03-14 02:29:15 +0200 |
| commit | 650e5afde271d22b3653832daf339e1bd09a10d6 (patch) | |
| tree | cc5e536b0150de1109daa43a055547d2266e60dd /lib/imgui-1.90.7/examples/libs/emscripten/shell_minimal.html | |
| parent | 20e64711ce2a09b657fb79d59cb824e9e34d2b07 (diff) | |
| download | cgame-650e5afde271d22b3653832daf339e1bd09a10d6.tar.gz cgame-650e5afde271d22b3653832daf339e1bd09a10d6.tar.bz2 cgame-650e5afde271d22b3653832daf339e1bd09a10d6.zip | |
Diffstat (limited to 'lib/imgui-1.90.7/examples/libs/emscripten/shell_minimal.html')
| -rw-r--r-- | lib/imgui-1.90.7/examples/libs/emscripten/shell_minimal.html | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/lib/imgui-1.90.7/examples/libs/emscripten/shell_minimal.html b/lib/imgui-1.90.7/examples/libs/emscripten/shell_minimal.html deleted file mode 100644 index bcf6262..0000000 --- a/lib/imgui-1.90.7/examples/libs/emscripten/shell_minimal.html +++ /dev/null @@ -1,65 +0,0 @@ -<!doctype html> -<html lang="en-us"> - <head> - <meta charset="utf-8"> - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"/> - <title>Dear ImGui Emscripten example</title> - <style> - body { margin: 0; background-color: black } - /* FIXME: with our GLFW example this block seems to break resizing and io.DisplaySize gets stuck */ - .emscripten { - position: absolute; - top: 0px; - left: 0px; - margin: 0px; - border: 0; - width: 100%; - height: 100%; - overflow: hidden; - display: block; - image-rendering: optimizeSpeed; - image-rendering: -moz-crisp-edges; - image-rendering: -o-crisp-edges; - image-rendering: -webkit-optimize-contrast; - image-rendering: optimize-contrast; - image-rendering: crisp-edges; - image-rendering: pixelated; - -ms-interpolation-mode: nearest-neighbor; - } - </style> - </head> - <body> - <canvas class="emscripten" id="canvas" oncontextmenu="event.preventDefault()"></canvas> - <script type='text/javascript'> - var Module = { - preRun: [], - postRun: [], - print: (function() { - return function(text) { - text = Array.prototype.slice.call(arguments).join(' '); - console.log(text); - }; - })(), - printErr: function(text) { - text = Array.prototype.slice.call(arguments).join(' '); - console.error(text); - }, - canvas: (function() { - var canvas = document.getElementById('canvas'); - //canvas.addEventListener("webglcontextlost", function(e) { alert('FIXME: WebGL context lost, please reload the page'); e.preventDefault(); }, false); - return canvas; - })(), - setStatus: function(text) { - console.log("status: " + text); - }, - monitorRunDependencies: function(left) { - // no run dependencies to log - } - }; - window.onerror = function() { - console.log("onerror: " + event); - }; - </script> - {{{ SCRIPT }}} - </body> -</html> |
