virtualx-engine/platform/javascript
Fabio Alessandrelli b3f78687de [HTML5] Detect screen scale and DPI.
`OS.get_screen_scale` will now return the `window.devicePixelRatio`
value, `OS.get_screen_dpi` uses CSS media queries to find approximate
DPI value for the current display.
`OS.get_screen_size` also return the actual screen size (not the CSS
pixel size).
2021-02-12 12:02:30 +01:00
..
api Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
export [HTML5] Builtin HTTP server disable browsers cache 2021-01-25 20:16:44 +01:00
js [HTML5] Detect screen scale and DPI. 2021-02-12 12:02:30 +01:00
.eslintrc.engine.js [HTML5] Enforce JavaScript style with eslint. 2020-11-23 13:26:19 +01:00
.eslintrc.js [HTML5] Enforce JavaScript style with eslint. 2020-11-23 13:26:19 +01:00
.eslintrc.libs.js Add support for WebXR 2021-01-04 17:01:42 -06:00
audio_driver_javascript.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
audio_driver_javascript.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
detect.py Don't handle BaseException in JavaScript build script 2021-01-28 19:43:08 +00:00
dom_keys.inc Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
emscripten_helpers.py [HTML5] Better editor HTML, small refactor. 2021-01-25 20:16:44 +01:00
godot_audio.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
godot_js.h [HTML5] Detect screen scale and DPI. 2021-02-12 12:02:30 +01:00
http_client.h.inc Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
http_client_javascript.cpp [HTML5] Fix HTTPClient request_raw. 2021-02-11 09:32:17 +01:00
http_request.h [HTML5] Fix HTTPClient request_raw. 2021-02-11 09:32:17 +01:00
javascript_eval.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
javascript_main.cpp [HTML5] Make home path persistent in editor. 2021-02-03 17:18:28 +01:00
javascript_runtime.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
logo.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2019-10-12 23:23:33 +02:00
os_javascript.cpp [HTML5] Detect screen scale and DPI. 2021-02-12 12:02:30 +01:00
os_javascript.h [HTML5] Detect screen scale and DPI. 2021-02-12 12:02:30 +01:00
package-lock.json [HTML5] Enforce JavaScript style with eslint. 2020-11-23 13:26:19 +01:00
package.json [HTML5] Enforce JavaScript style with eslint. 2020-11-23 13:26:19 +01:00
platform_config.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
run_icon.png
SCsub [HTML5] Better editor HTML, small refactor. 2021-01-25 20:16:44 +01:00