summaryrefslogtreecommitdiff
path: root/platform/macos/display_server_macos.h
AgeCommit message (Collapse)Author
2023-01-08Use BitField<> in core type masksJuan Linietsky
* All core types masks are now correctly marked as bitfields. * The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks. * Most bitmask operations replaced by functions in BitField<> * Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is. * Documentation and API dump updated to reflect bitfields in core types.
2023-01-07Add support for the custom initial screen for the main window, fix primary ↵bruvzg
screen detection.
2023-01-05One Copyright Update to rule them allRémi Verschelde
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".
2022-12-29Improve `window_set_current_screen` and fix secondary window initial mode ↵bruvzg
and positions.
2022-12-07Rename `window_get_real_size` to `window_get_size_with_decorations`, add ↵bruvzg
`window_get_position_with_decorations`.
2022-11-21[macOS] Dynamically attach and detach transient windows to allow them to ↵bruvzg
stay on top of parent and can be moved to another screen.
2022-11-14[macOS] Add exclusive fullscreen mode with Dock and Menu disabled.bruvzg
2022-10-24Make window creation with custom position do not flashWei Guo
2022-10-10[macOS] Fix window button position and title bar size when editor scale do ↵bruvzg
not match OS UI scale.
2022-09-24[macOS] Process menu callback after event processing step to avoid event ↵bruvzg
queue corruption.
2022-09-21[macOS] Improve "extended to title" transition to / from fullscreen.bruvzg
2022-09-20[macOS] Add an option to align window buttons in "extend to title" mode.bruvzg
2022-09-16Merge pull request #65496 from MinusKube/popup-capture-mouse-bugRémi Verschelde
Fix MOUSE_MODE_CAPTURED not working correctly with popups
2022-09-15[macOS] Fix redraw lag at the edge of the resizing window.bruvzg
2022-09-07Fix MOUSE_MODE_CAPTURED not working correctly with popupsMinusKube
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-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-05Implement `screen_is_kept_on` for macOS.bruvzg
2022-08-04Implement `screen_set_keep_on` for macOSbruvzg
2022-07-21Rename OSX to macOS and iPhoneOS to iOS.bruvzg