summaryrefslogtreecommitdiff
path: root/scene/main/window.cpp
AgeCommit message (Collapse)Author
2022-10-12Merge pull request #67232 from bruvzg/popup_editRémi Verschelde
Improve Popup / Window behavior in the edited scene tree.
2022-10-11Set window size after setting new limitsNikola Bunjevac
Otherwise this can fail as the size may not fit into current limits. This is problematic at least on X11.
2022-10-11Prevent `Popup`s it the edited scene tree from closing on focus loss. Hide ↵bruvzg
irrelevant `Popup` flags from the editor inspector.
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-03Fix invalid popup position for embedded popupsCykyrios
2022-09-28Merge pull request #58995 from Sauermann/fix-mouse-cursor-change-2Rémi Verschelde
Update mouse cursor shape after changes
2022-09-26Force window position if spawned outside screenkobewi
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-18Update mouse cursor shape after changesMarkus Sauermann
This fixes some cases where the mouse cursor shape did not change automatically, but instead required a MouseMove to update.
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-09Use embedding viewport instead of parent viewport to determine popup rectMinusKube
2022-09-07Fix MOUSE_MODE_CAPTURED not working correctly with popupsMinusKube
2022-09-03Un-defer the initial theme changed notification in WindowYuri Sizov
2022-09-02Un-defer the initial theme changed notificationYuri Sizov
Co-authored-by: Rindbee <idleman@yeah.net>
2022-09-02Add ThemeOwner type for managing theme propagation and lookupYuri Sizov
2022-09-01Add dumb and manual theme caching systems to WindowYuri Sizov
2022-08-30Allow to change the Stop shortcut used at runtimekobewi
2022-08-29Merge pull request #64119 from YuriSizov/theme-init-databaseRémi Verschelde
2022-08-26Merge pull request #64777 from bruvzg/extend_to_titleRémi Verschelde
[macOS] Extend editor contents to the window title bar for better space usage.
2022-08-26Add ThemeDB, expose previously static Theme methodsYuri Sizov
2022-08-26[macOS] Extend editor contents to the window titlebar for better space usage.bruvzg
2022-08-26Merge pull request #64574 from Begah/fix_transient_window_wrap_mouseRémi Verschelde
2022-08-25Refactor and remove excessive calls of `NOTIFICATION_THEME_CHANGED`Aaron Record
2022-08-25Fix warp_mouse for transient windows, smoother mouse positioning when ↵MathieuRoux
releasing mouse for spinbox
2022-08-23Avoid warnings about cursor shape change not supportedPedro J. Estébanez
2022-08-22Make `_validate_property` a multilevel methodYuri Sizov
2022-08-05Fix some bugs with `Window`sMichael Alexsander
2022-07-16rename translate(d) to translate(d)_local in Transform 2D/3DFabian Keller
2022-06-27Merge pull request #61587 from YuriSizov/control-fix-theme-owner-toplevelRémi Verschelde
Fix theme propagation for children of top level controls and windows
2022-06-20Quickfix editor hangs when rooting a window with exclusive and transient ↵Rindbee
flags enabled
2022-06-19Add explicit deferred flagsmarkdibarry
2022-06-17Fix previous min size affects _get_contents_minimum_size in AcceptDialogRindbee
2022-06-13Single-window mode popups and edited scene windows fixes.bruvzg
Fix single-window mode popup not closing when OptionBox is clicked. Fix single-window mode submenus closing when parent menu item, that was used to open it is clicked (using same safe-area logic as platform specific code). Disallow windows that are part of an edited scene from being set as exclusive or popup to prevent it from locking up the editor.
2022-06-11Add suffixes to all nodes and resourcesFireForge
2022-06-04Merge pull request #60830 from Ansraer/fix-2d-scaleRémi Verschelde
[4.x] Add viewport content scale
2022-06-01Fix theme propagation for children of top level controls and windowsYuri Sizov
2022-05-19Use range iterators for RBSet in most casesAaron Record
2022-05-16Replace most uses of Map by HashMapreduz
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
2022-05-06Add viewport content scaleAnsraer
2022-04-20Avoid setting sub-window or started project window positions, if it's ↵bruvzg
impossible to get screen rect.
2022-04-12Redesign InputEvent editor pluginFireForge
- Use vertical layout and add text wrapping - Fix Window.popup_centered() rect calculation
2022-04-11Merge pull request #54191 from Ev1lbl0w/bugfix-window_popup_ratioRémi Verschelde
2022-04-11Improvements to files_dropped signalkobewi
2022-04-10Clamp ratio from popup_centered_ratioEv1lbl0w
2022-03-30Merge pull request #59308 from Sauermann/fix-viewport-warp-mouseRémi Verschelde
2022-03-28Fix using Viewport::warp_mouse within ViewportsMarkus Sauermann
2022-03-28Send a focus-out notification when opening a Window Manager PopupMarkus Sauermann
2022-03-10Revert "Update mouse cursor shape after changes"Markus Sauermann
This reverts commit 0fce98b4b5f568298477b175c70510924793f6b0.
2022-03-09Update mouse cursor shape after changesMarkus Sauermann
This fixes some cases where the mouse cursor shape did not change automatically, but instead required a MouseMove to update.
2022-02-28Merge pull request #58282 from keptsecret/filedialog_visibility_unresponsiveRémi Verschelde
Fix to prevent AcceptDialog and children class taking over main window