summaryrefslogtreecommitdiff
path: root/doc/classes/DisplayServer.xml
AgeCommit message (Collapse)Author
2022-09-02Add support for system dark mode (Linux)Raul Santos
- Use `org.freedesktop.appearance color-scheme` to support system dark mode.
2022-09-02Merge pull request #65026 from bruvzg/dark_modeRémi Verschelde
2022-09-01[macOS] Handle accelerator and click events of the global menu items separately.bruvzg
2022-08-31Add support for system dark mode and accent color detection (macOS and ↵bruvzg
Windows). Add support for dark mode title bar on Windows.
2022-08-29[Web] Rename JavaScript platform to Web.Fabio Alessandrelli
Also rename export name from "HTML5" to "Web".
2022-08-26[macOS] Extend editor contents to the window titlebar for better space usage.bruvzg
2022-08-22Replace Array return types with TypedArraykobewi
2022-08-18Implement `MenuBar` control to wrap `PopupMenu`s or native menu, use native ↵bruvzg
menu for editor.
2022-08-15Improve the `make_rst.py` parser for BBCode tagsYuri Sizov
2022-08-12[doc] Use "param" instead of "code" to refer to parameters (7)Andy Maloney
2022-08-08Rename the argument tag to param in XML documentationYuri Sizov
2022-08-04Add support for multiple virtual keyboard typesBrian Semrau
2022-08-04Improve error message when the requested V-Sync mode cannot be usedHugo Locurcio
2022-05-02Fix screen_get_usable_rect returning display safe areaMarcel Admiraal
2022-05-02Merge pull request #60551 from madmiraal/implement-3466Rémi Verschelde
Add a method for obtaining display cutouts on Android
2022-04-28Implement text-to-speech support on Android, iOS, HTML5, Linux, macOS and ↵bruvzg
Windows. Implement TextServer word break method.
2022-04-26Add a method for obtaining display cutouts on AndroidMarcel Admiraal
2022-03-31Fix typos with codespellRémi Verschelde
Using codespell 2.2-dev from current git. Fix a couple incorrect uses of gendered pronouns.
2022-03-27Rename warp mouse functions to warp_mouseMarkus Sauermann
2022-03-22[macOS] Add missing global menu features.bruvzg
2022-02-25Improve popup window handling.bruvzg
Add window FLAG_POPUP and a platform specific routines to control popup auto-hiding and event forwarding.
2022-02-18Fix default value for DisplayServer::virtual_keyboard_show Rect2 parameterPierre-Thomas Meisels
2022-02-15Add an XML schema for documentationHugo Locurcio
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
2022-02-12Merge pull request #56953 from bruvzg/ex_wndRémi Verschelde
2022-02-12Add exclusive window handling to DisplayServer (on macOS and Windows).bruvzg
2022-02-11Change SCREEN_GET_REFRESH_RATE_FALLBACK to -1.0jordi
2022-02-04Merge pull request #57341 from bruvzg/win_multiwin_fsRémi Verschelde
2022-02-04Merge pull request #57335 from jordigcs/display-refresh-rateRémi Verschelde
2022-02-04[Windows] Add WS_BORDER flag to windows in WINDOW_MODE_FULLSCREEN mode to ↵bruvzg
allow multi-window interface in full-screen. [Windows] Add WINDOW_MODE_EXCLUSIVE_FULLSCREEN without WS_BORDER flag enabled (no multi-window support).
2022-02-03Add screen_get_refresh_rate to DisplayServerjordi
2022-01-27Merge pull request #56785 from bruvzg/nat_handles_4Rémi Verschelde
2022-01-19Add `DisplayServer.clipboard_has()` to check clipboard contentHaoyu Qiu
2022-01-18Window management improvements.bruvzg
[macOS] Fix transient windows not working in the full-screen mode. [macOS] Fix moving transient windows to the other screen than parent window. [macOS] Fix popup menu switch on hover. [macOS] Use content origin rect for windows position (to ensure `DS.mouse_get_position` is equal to `DS.window_get_position` + mouse position from the input events). [macOS] Fix incorrect input coordinates, when external display with different scaling in connected/disconnected. [macOS/Windows] Fix moving fullscreen windows between the screens. Add auto refocusing of the parent window, when the focused transient window is closed. Remove redundant `DS.mouse_get_absolute_position` function (returns mouse position in the screen coordinates, same as `DS.mouse_get_position`).
2022-01-17Merge pull request #56012 from bruvzg/wt🤎4Rémi Verschelde
2022-01-14Add support for getting native display, window, and view handles.bruvzg
2022-01-02Fix usage of "Return" in the docskobewi
2021-12-18[Windows] Improve console handling and execute/create_process.bruvzg
Always build with the GUI subsystem. Redirect stdout and stderr output to the parent process console. Use CreateProcessW for blocking `execute` calls with piped stdout and stderr (prevent console windows for popping up when used with the GUI subsystem build, and have more consistent behavior with `create_process`). Add `open_console` argument to the `execute` and `create_process` to open a new console window. Remove `interface/editor/hide_console_window` editor setting. Remove `Toggle System Console` menu option. Remove `set_console_visible` and `is_console_visible` functions.
2021-11-15Replace Godot docs URL with `$DOCS_URL` in XML class referenceRémi Verschelde
2021-10-23Fix primary clipboard warningConteZero
2021-10-18Added primary clipboard for LinuxConteZero
2021-10-07DisplayServer: Add multiple descriptions for methods.DeeJayLSP
Added multiple descriptions for clipboard, mouse and window methods.
2021-10-05Describe how window mode setter and getter worksDeeJayLSP
2021-09-21Allow for mapping keycodes to current layoutFrixuu
2021-08-22Define a default minimum window size to workaround rendering issuesHugo Locurcio
The minimum window size can still be set to `Vector2(0, 0)` in a script if needed. This closes #37242.
2021-07-30doc: Use self-closing tags for `return` and `argument`Rémi Verschelde
For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there.
2021-07-22Move `alert` function from `DisplayServer` to `OS`.bruvzg
2021-07-06Restructure and reimplement vsync optionsHendrik Brucker
-Add a v-sync mode setting which allows to choose between DISABLED, ON, ADAPTIVE and MAILBOX -Removed the V-Sync via Compositor option
2021-06-20Use mouse and joypad enums instead of plain integersAaron Franke
Also MIDIMessage
2021-06-18Better format arguments in variant parserMichael Alexsander Silva Dias
2021-06-03Add MOUSE_MODE_CONFINED_HIDDENAaron Franke
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>