summaryrefslogtreecommitdiffstats
path: root/doc/classes/DisplayServer.xml
Commit message (Collapse)AuthorAgeFilesLines
* [DisplayServer] [docs] Improve readability of `get_screen_from_rect()`Jesse2024-11-141-1/+1
| | | Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
* [DisplayServer] [docs] Describe edge cases for `get_screen_from_rect()`Jesse2024-11-131-1/+1
| | | Describes output when multiple screens intersect with rectangle or rectangle has no area.
* [Android] Implement support for accent color retrievalAnish Mishra2024-11-011-1/+1
|
* [Android] Implement native file picker supportAnish Mishra2024-10-301-5/+6
|
* [DisplayServer] Add feature flag for native file dialog access to `user/res` ↵Anish Mishra2024-10-301-2/+5
| | | | and `options`
* [Android] Implement native input dialog supportAnish Mishra2024-10-291-1/+1
|
* Merge pull request #97771 from dsnopek/openxr-linux-eglThaddeus Crews2024-10-251-0/+13
|\ | | | | | | OpenXR: Add support for Wayland on Linux
| * OpenXR: Add support for Wayland on LinuxDavid Snopek2024-10-041-0/+13
| |
* | Update documentation for Android immersive modeAnish Mishra2024-10-221-0/+3
| |
* | Core: Add `DisplayServer` flag for sharp cornersThaddeus Crews2024-10-181-1/+5
| |
* | [DisplayServer] Implement has_hardware_keyboard method for Android and iOS.bruvzg2024-10-021-0/+7
|/
* Merge pull request #94477 from RedMser/typos-batch-1Rémi Verschelde2024-08-281-1/+1
|\ | | | | | | Fix various typos
| * Fix typosRedMser2024-07-171-1/+1
| |
* | Merge pull request #94412 from dsnopek/xr-always-renderRémi Verschelde2024-07-181-0/+21
|\ \ | |/ |/| | | Always render when XR is enabled, even if no OS windows can draw
| * Always render when XR is enabled, even if no OS windows can drawDavid Snopek2024-07-171-0/+21
| |
* | Clarify clipboard_get_image()kobewi2024-07-131-0/+1
|/
* [DisplayServer] Add error messages and descriptions to callbacks.bruvzg2024-05-281-3/+4
|
* [DisplayServer] Add method to check if window transparency is supported and ↵bruvzg2024-05-231-1/+7
| | | | enabled.
* Wayland: Workaround API limitation in screen/UI scale logicRiteo2024-05-071-2/+3
| | | | | | | | | | | | | | Mainly, this fixes auto UI scaling with _single-monitor_ fractional setups (see the comment in `display_server_wayland.cpp` for more info). This is the result of a bunch of current limitations, mainly the fact that the UI scale is static (it's probed at startup) and the fact that Wayland exposes fractional scales only at the window-level, by design. The `screen_get_scale` special case should help in 99% of cases, while the auto UI scale part will unfortunately only help with single-screen situations, as multi-screen fractional scaling requires dynamic UI scale changing.
* [StatusIndicator] Add method to get indicator icon screen rect.bruvzg2024-05-021-0/+11
|
* Merge pull request #89588 from bruvzg/status_ind_menu_directRémi Verschelde2024-05-011-2/+13
|\ | | | | | | [StatusIndicator] Switch API to use Texture2D instead of Image, improve handling on macOS, add method to set native popup menu directly.
| * [StatusIndicator] Switch API to use Texture2D instead of Image, improve ↵bruvzg2024-03-201-2/+13
| | | | | | | | handling on macOS, add method to set native popup menu directly.
* | doc fix typo that flipped the description ofbrennen2024-04-271-2/+2
| | | | | | | | window_set_max_size and window_set_min_size
* | Use `[codeblock lang=text]` more often in class refMicky2024-04-081-14/+14
| |
* | [DisplayServer] Add separate feature flags for different native dialog types.bruvzg2024-03-261-5/+11
| |
* | [MenuBar] Use NativeMenu RIDs instead of indices to track items.bruvzg2024-03-251-2/+2
|/
* Merge pull request #87452 from bruvzg/native_menuRémi Verschelde2024-03-061-50/+50
|\ | | | | | | Move `global_menu_*` methods to a separate `NativeMenu` class.
| * Move `global_menu_*` methods to a separate `NativeMenu` class.bruvzg2024-03-041-50/+50
| |
* | Check if DisplayServer supports icons before attempting setting itRémi Verschelde2024-03-051-0/+2
| |
* | Merge pull request #88957 from 398utubzyt/windows/native-dialogsRémi Verschelde2024-03-051-4/+4
|\ \ | |/ |/| | | Windows: Implement `dialog_show` and `dialog_input_text` for `DisplayServer`
| * Windows: Implement `DisplayServer::dialog_show` and ↵398utubzyt2024-03-041-4/+4
| | | | | | | | `DisplayServer::dialog_input_text`
* | Update FileDialog filters documentationRedMser2024-03-041-0/+2
| |
* | Overhaul some "uncommon" wording in class referenceMicky2024-03-011-2/+2
| |
* | Improve cursor_set_custom_image() methodkobewi2024-02-281-0/+1
|/
* Merge pull request #87384 from bruvzg/sys_base_colorRémi Verschelde2024-02-131-2/+17
|\ | | | | | | Add method to get "base" system UI color and system theme change callback.
| * Add method to get "base" system UI color (macOS/Windows) and system theme ↵bruvzg2024-02-131-2/+17
| | | | | | | | change callback.
* | [macOS] Add support for native help menu search callbacks, integrate editor ↵bruvzg2024-02-131-0/+14
|/ | | | help.
* Implement support for application status indicators (tray icons).bruvzg2024-02-131-0/+46
|
* Minor fix in DisplayServer.xml to include Linux & Windows in ↵Emmanouil Papadeas2024-02-031-1/+1
| | | | FEATURE_NATIVE_DIALOG
* [Wayland] Add support for native file dialogs.bruvzg2024-01-311-2/+2
|
* Add Wayland supportRiteo2024-01-301-41/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not everything is yet implemented, either for Godot or personal limitations (I don't have all hardware in the world). A brief list of the most important issues follows: - Single-window only: the `DisplayServer` API doesn't expose enough information for properly creating XDG shell windows. - Very dumb rendering loop: this is very complicated, just know that the low consumption mode is forced to 2000 Hz and some clever hacks are in place to overcome a specific Wayland limitation. This will be improved to the extent possible both downstream and upstream. - Features to implement yet: IME, touch input, native file dialog, drawing tablet (commented out due to a refactor), screen recording. - Mouse passthrough can't be implement through a poly API, we need a rect-based one. - The cursor doesn't yet support fractional scaling. - Auto scale is rounded up when using fractional scaling as we don't have a per-window scale query API (basically we need `DisplayServer::window_get_scale`). - Building with `x11=no wayland=yes opengl=yes openxr=yes` fails. This also adds a new project property and editor setting for selecting the default DisplayServer to start, to allow this backend to start first in exported projects (X11 is still the default for now). The editor setting always overrides the project setting. Special thanks to Drew Devault, toger5, Sebastian Krzyszkowiak, Leandro Benedet Garcia, Subhransu, Yury Zhuravlev and Mara Huldra.
* [Native File Dialog] Add support for adding custom options to the dialogs.bruvzg2024-01-241-3/+27
| | | | Add support for adding custom options (checkboxes and optionboxes) to the dialogs (both native and built-in).
* Replace some "uncommon" words in class referenceMicky2024-01-151-5/+5
|
* [Windows] Make Windows Ink tablet API default, add dummy driver to disable ↵bruvzg2023-12-181-0/+4
| | | | tablet input.
* [macOS] Add default Window and Help menus, allow special menu customization.bruvzg2023-12-131-0/+37
|
* doc: Clarify that `DisplayServer.window_set_*_callback` aren't supported on ↵Rémi Verschelde2023-11-091-8/+13
| | | | Window nodes
* Merge pull request #82691 from YuriSizov/rst-validate-with-exceptionsRémi Verschelde2023-10-041-2/+2
|\ | | | | | | Validate `code` tags for class and member references
| * Validate `code` tags for class and member referencesYuri Sizov2023-10-031-2/+2
| | | | | | | | | | | | | | | | This commit also adds means to manually disable warnings in `code` tags where it's a false positive with the new `skip-lint` attribute. Warnings are now enabled on CI to prevent future errors.
* | Merge pull request #81218 from bruvzg/_temp_fsRémi Verschelde2023-10-041-1/+1
|\ \ | | | | | | | | | [Native File Dialogs] Improve filter list handling, add selected filter to the callback.
| * | [Native File Dialogs] Improve filter list handling, add selected filter to ↵bruvzg2023-10-031-1/+1
| | | | | | | | | | | | the callback.