godot/platform/javascript
Fabio Alessandrelli 6cff589b5b [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:01:44 +01:00
..
api Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
export Merge pull request #45315 from RandomShaper/modernize_thread 2021-01-31 15:24:56 +01:00
js [HTML5] Detect screen scale and DPI. 2021-02-12 12:01:44 +01:00
.eslintrc.engine.js [HTML5] Enforce JavaScript style with eslint. 2020-11-23 12:15:18 +01:00
.eslintrc.js [HTML5] Enforce JavaScript style with eslint. 2020-11-23 12:15:18 +01:00
.eslintrc.libs.js Add support for WebXR 2021-01-04 17:02:37 -06:00
SCsub [HTML5] Better editor HTML, small refactor. 2021-01-25 20:15:57 +01:00
audio_driver_javascript.cpp Modernize Thread 2021-01-29 12:02:13 +01:00
audio_driver_javascript.h Modernize Thread 2021-01-29 12:02:13 +01:00
detect.py Don't handle BaseException in JavaScript build script 2021-01-28 19:23:49 +00:00
display_server_javascript.cpp [HTML5] Detect screen scale and DPI. 2021-02-12 12:01:44 +01:00
display_server_javascript.h [HTML5] Detect screen scale and DPI. 2021-02-12 12:01:44 +01:00
dom_keys.inc Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
emscripten_helpers.py [HTML5] Better editor HTML, small refactor. 2021-01-25 20:15:57 +01:00
godot_audio.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
godot_js.h [HTML5] Detect screen scale and DPI. 2021-02-12 12:01:44 +01:00
http_client.h.inc Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
http_client_javascript.cpp [HTML5] Fix HTTPClient request_raw. 2021-02-11 10:03:36 +01:00
http_request.h [HTML5] Fix HTTPClient request_raw. 2021-02-11 10:03:36 +01:00
javascript_eval.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
javascript_main.cpp [HTML5] Make home path persistent in editor. 2021-02-03 18:59:54 +01:00
javascript_runtime.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
logo.png Optimize images losslessly using `oxipng -o6 --strip all --zopfli` 2019-10-12 23:23:33 +02:00
os_javascript.cpp Split OS::execute into two methods 2021-01-09 10:03:23 +00:00
os_javascript.h Split OS::execute into two methods 2021-01-09 10:03:23 +00:00
package-lock.json [HTML5] Enforce JavaScript style with eslint. 2020-11-23 12:15:18 +01:00
package.json [HTML5] Enforce JavaScript style with eslint. 2020-11-23 12:15:18 +01:00
platform_config.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
run_icon.png Optimize images losslessly using `oxipng -o6 --strip all --zopfli` 2018-06-28 19:17:41 +02:00