Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-02-07 | Merge pull request #62179 from Rindbee/fix-popup_center-off-center | Rémi Verschelde | |
Use min_size/max_size to limit window size and position while popup center | |||
2023-02-07 | Use min_size/max_size to limit the window size and the position while popup ↵ | Rindbee | |
center | |||
2023-02-07 | Fix Viewport::get_mouse_position for SubViewports | Markus Sauermann | |
SubViewports don't have a cached mouse position available. This PR calculates the mouse position from the screen position of the mouse cursor. | |||
2023-02-06 | Fix mouse/drag/touch InputEvents having no device id | Markus Sauermann | |
Some internally created emulated/instantiated events didn't have a device id. This PR sets for these cases a device id. Also rename `DEVICE_ID_TOUCH_MOUSE` to the more generic `DEVICE_ID_EMULATION`. | |||
2023-02-02 | Remove `Viewport::_get_input_pre_xform` | Markus Sauermann | |
This function is only relevant for `Window`. So this PR moves the functionality to the `Window`-class. | |||
2023-02-02 | Simplify Viewport::_set_size | Markus Sauermann | |
`Viewport.to_screen_rect` is used only in a single location to compare it to `Rect2i()`. When called from `SubViewport`, `to_screen_rect` is always equal to `Rect2i()`. When called from `Window`, `to_screen_rect` is always different from `Rect2i()`. So the comparison `to_screen_rect != Rect2i()` can be replaced by `Object::cast_to<Window>(this)`. This allows the removal of `Viewport.to_screen_rect` and the simplification of `Viewport::_set_size`. | |||
2023-02-01 | Fix stretch transform when resizing SubViewports | Markus Sauermann | |
Move calculation of stretch transform from outside to inside of `Viewport::_set_size` function. | |||
2023-01-31 | Remove some unused signals | Rémi Verschelde | |
Part of #37604. | |||
2023-01-31 | Fix MSVC shadow local warning | Rémi Verschelde | |
2023-01-31 | Merge pull request #59310 from Sauermann/proposal-event-transform | Rémi Verschelde | |
Calculate window input event transform only on window change | |||
2023-01-27 | Merge pull request #71470 from YeldhamDev/window_fixes | Rémi Verschelde | |
Fix some small bugs in the `Window` node | |||
2023-01-26 | Merge pull request #68627 from Sauermann/fix-tooltip-position | Rémi Verschelde | |
Fix position of Tooltips | |||
2023-01-26 | Fix position of Tooltips | Markus Sauermann | |
CanvasItem::get_screen_transform returns a transform from the CanvasItem to the coordinate system, where a Popup - created as a child of the CanvasItem - should be opened. get_screen_transform makes some simplifications, that work well, when used in the editor, but not in general cases. Since Popups like Tooltips are now used more commonly in projects, it becomes necessary to correct these simplifications. This solution introduces Viewport::get_popup_base_transform, which makes the necessary calculations. | |||
2023-01-19 | Reorganize main and sub-window initial position properties. | bruvzg | |
2023-01-18 | Fix some small bugs in the `Window` node | Michael Alexsander | |
2023-01-16 | Add `WINDOW_FLAG_MOUSE_PASSTHROUGH` flag and enabled it for tooltips. Expose ↵ | bruvzg | |
`window_set_mouse_passthrough` to `Window`. | |||
2023-01-07 | Add support for the custom initial screen for the main window, fix primary ↵ | bruvzg | |
screen detection. | |||
2023-01-05 | One Copyright Update to rule them all | Ré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-29 | Improve `window_set_current_screen` and fix secondary window initial mode ↵ | bruvzg | |
and positions. | |||
2022-12-07 | Copy local theme overrides from Control to Window | Yuri Sizov | |
2022-12-07 | Rename `window_get_real_size` to `window_get_size_with_decorations`, add ↵ | bruvzg | |
`window_get_position_with_decorations`. | |||
2022-11-14 | Remove redundant Variant-types initializations | Markus Sauermann | |
2022-10-27 | Merge pull request #64710 from MinusKube/window-size-crash | Clay John | |
Prevent windows from having a size greater than device limit | |||
2022-10-12 | Merge pull request #67232 from bruvzg/popup_edit | Rémi Verschelde | |
Improve Popup / Window behavior in the edited scene tree. | |||
2022-10-11 | Set window size after setting new limits | Nikola Bunjevac | |
Otherwise this can fail as the size may not fit into current limits. This is problematic at least on X11. | |||
2022-10-11 | Prevent `Popup`s it the edited scene tree from closing on focus loss. Hide ↵ | bruvzg | |
irrelevant `Popup` flags from the editor inspector. | |||
2022-10-07 | Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵ | bruvzg | |
change warnings=all to use /W4. | |||
2022-10-03 | Fix invalid popup position for embedded popups | Cykyrios | |
2022-10-01 | Calculate window input event transform only on window change | Markus Sauermann | |
2022-09-28 | Merge pull request #58995 from Sauermann/fix-mouse-cursor-change-2 | Rémi Verschelde | |
Update mouse cursor shape after changes | |||
2022-09-26 | Force window position if spawned outside screen | kobewi | |
2022-09-22 | [macOS extend-to-title] Add scene/project name to the editor title, fix ↵ | bruvzg | |
incorrect window button position/order when system primary language is RTL. | |||
2022-09-18 | Update mouse cursor shape after changes | Markus Sauermann | |
This fixes some cases where the mouse cursor shape did not change automatically, but instead required a MouseMove to update. | |||
2022-09-16 | Merge pull request #65496 from MinusKube/popup-capture-mouse-bug | Rémi Verschelde | |
Fix MOUSE_MODE_CAPTURED not working correctly with popups | |||
2022-09-09 | Use embedding viewport instead of parent viewport to determine popup rect | MinusKube | |
2022-09-07 | Fix MOUSE_MODE_CAPTURED not working correctly with popups | MinusKube | |
2022-09-04 | Prevent windows from having a size greater than device limit | MinusKube | |
2022-09-03 | Un-defer the initial theme changed notification in Window | Yuri Sizov | |
2022-09-02 | Un-defer the initial theme changed notification | Yuri Sizov | |
Co-authored-by: Rindbee <idleman@yeah.net> | |||
2022-09-02 | Add ThemeOwner type for managing theme propagation and lookup | Yuri Sizov | |
2022-09-01 | Add dumb and manual theme caching systems to Window | Yuri Sizov | |
2022-08-30 | Allow to change the Stop shortcut used at runtime | kobewi | |
2022-08-29 | Merge pull request #64119 from YuriSizov/theme-init-database | Rémi Verschelde | |
2022-08-26 | Merge pull request #64777 from bruvzg/extend_to_title | Rémi Verschelde | |
[macOS] Extend editor contents to the window title bar for better space usage. | |||
2022-08-26 | Add ThemeDB, expose previously static Theme methods | Yuri Sizov | |
2022-08-26 | [macOS] Extend editor contents to the window titlebar for better space usage. | bruvzg | |
2022-08-26 | Merge pull request #64574 from Begah/fix_transient_window_wrap_mouse | Rémi Verschelde | |
2022-08-25 | Refactor and remove excessive calls of `NOTIFICATION_THEME_CHANGED` | Aaron Record | |
2022-08-25 | Fix warp_mouse for transient windows, smoother mouse positioning when ↵ | MathieuRoux | |
releasing mouse for spinbox | |||
2022-08-23 | Avoid warnings about cursor shape change not supported | Pedro J. Estébanez | |