summaryrefslogtreecommitdiffstats
path: root/platform/web/display_server_web.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix copyright headers referring to GodotSpartan3222024-10-271-2/+2
|
* Rebrand preambles to RedotSpartan3222024-10-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit e8542b06acca3c1bdeee4b528411771f0819f084) Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* Merge pull request #91695 from bruvzg/web_ime_posRémi Verschelde2024-05-281-0/+1
|\ | | | | | | [Web IME] Fix suggestion window position in Chromium based browsers.
| * [Web IME] Fix suggestion window position in Chromium based browsers.bruvzg2024-05-091-0/+1
| |
* | Properly set window class in WaylandPaulo Poiati2024-05-221-2/+2
|/
* Move `global_menu_*` methods to a separate `NativeMenu` class.bruvzg2024-03-041-0/+1
|
* Add InputEventKey.location to tell left from rightMel Collins2024-01-261-0/+1
| | | | | | | | | | This adds a new enum `KeyLocation` and associated property `InputEventKey.location`, which indicates the left/right location of key events which may come from one of two physical keys, eg. Shift, Ctrl. It also adds simulation of missing Shift KEYUP events for Windows. When multiple Shifts are held down at the same time, Windows natively only sends a KEYUP for the last one to be released.
* [Web] Add IME input support.bruvzg2023-12-151-0/+28
|
* Add `proxy_to_pthread` option to `platform=web`Adam Scott2023-10-091-8/+23
| | | | Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
* [Web] Fix dlink_enabled buildFabio Alessandrelli2023-10-011-15/+17
| | | | | | | | After changing the default visibility to hidden to avoid generating thousands of import/export symbols (browsers have a hard limit of 10k), explicitly setting visibility for "boundary functions" (i.e. wasm callbacks called by JS via pointer) is required to ensure the function can be retrieved via pointer from the function table.
* [DisplayServer] Add method to check if native window is focused.bruvzg2023-06-161-0/+1
|
* Added override for window_get_vsync_mode in display_server_web.cpphlutor2023-05-311-0/+2
|
* Add `audio/general/text_to_speech` project setting to enable/disable TTS.bruvzg2023-05-181-0/+1
|
* Don't expose mac specific display server.HolonProduction2023-05-111-0/+2
|
* [InputEventKey] Avoid setting both key and modifier to the same value.bruvzg2023-02-141-1/+1
|
* Add support for the custom initial screen for the main window, fix primary ↵bruvzg2023-01-071-2/+3
| | | | screen detection.
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Merge pull request #69712 from bruvzg/real_sizeRémi Verschelde2022-12-071-1/+2
|\ | | | | | | Rename `window_get_real_size`, add position counterpart.
| * Rename `window_get_real_size` to `window_get_size_with_decorations`, add ↵bruvzg2022-12-071-1/+2
| | | | | | | | `window_get_position_with_decorations`.
* | Fix Determining Window for TouchscreenMarkus Sauermann2022-12-071-1/+1
|/ | | | | | | | | DisplayServer::screen_is_touchscreen will likely never utilize its parameter p_screen. This PR replaces this function by DisplayServer::is_touchscreen_available() with the same functionality. This solves the problem, that a SubViewport was used for determining the screen, which resulted in error messages.
* Fix viewport doesn't auto-resize on Web.Zae2022-11-081-0/+1
|
* Make window creation with custom position do not flashWei Guo2022-10-241-2/+2
|
* [Web] Rename JavaScript platform to Web.Fabio Alessandrelli2022-08-291-0/+228
Also rename export name from "HTML5" to "Web".