Commit Graph

40 Commits

Author SHA1 Message Date
43e38df8b0 Refactor application window class name 2025-01-28 22:09:07 +02:00
553ca7d71c Refactor Windows drag and drop implementation 2025-01-28 22:09:06 +02:00
Chandler Cox
f01784108d Add check to cursor hidden/showing loops. 2024-05-30 08:47:41 -05:00
Chandler Cox
7c4b8758ea Fix a few edge cases for cursor showing/not showing 2024-05-22 21:10:01 -05:00
Chandler Cox
c1e3eaeab1 Force windows cursor to show or hide based on cursor hidden value 2024-05-01 13:23:56 -05:00
Wojtek Figat
f0c2e65b5c Fix incorrect mouse cursor hiding on Windows when window is not focused
#1757
2024-03-05 15:00:47 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Chandler Cox
18fc6ebd39 Half windowed size and center on screen if going to windowed mode. 2024-01-26 10:38:36 -06:00
Wojtek Figat
e7b1fce3eb Merge DoDragDropJob to hsare the same code for Mac and Windows
#1723
2023-11-06 17:03:03 +01:00
Wojtek Figat
b47420f232 Compact various source code chunks 2023-11-06 16:56:15 +01:00
Wojtek Figat
c025b4414c Add support for unlimited window size if MaximumSize is set to Zero
#1824
2023-11-06 14:42:29 +01:00
dca6baee49 Use and store restored window position after minimizing the window 2023-10-14 16:44:21 +03:00
Wojtek Figat
dad3e1f77d Revert f1d57e47cb in favor of #1670 2023-10-11 17:17:46 +02:00
MineBill
1986f2b58b Only set WS_CAPTION if the window is a regular window 2023-10-11 17:06:16 +03:00
Wojtek Figat
f1d57e47cb Fix regression in some context menus on Windows due to recent changes to windows showing after first paint 2023-10-04 17:34:14 +02:00
Chandler Cox
b5d927baa5 Force windows window to be correct size when restoring window on maximize from minimize. 2023-10-03 16:22:43 -05:00
Wojtek Figat
50c85aec6d Minor improvements to #1315 and add getter of current window style 2023-08-21 23:33:33 +02:00
Chandler Cox
cfd11a7e77 Add borderless window on Windows platform and add easy function in Screen class to change window mode. 2023-08-14 18:11:05 -05:00
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Cristhofer Marques
2c12fffdf6 reset value when start/stop mouse tracking 2022-10-13 09:14:05 -03:00
Cristhofer Marques
ae04253ba4 added is flipping mouse on windows platform 2022-10-13 01:11:33 -03:00
Wojtek Figat
7f3a32a69b Improve cursor clipping logic (fix after alt+tab and confine to game window in Editor)
#691
2022-07-17 00:09:59 +02:00
Wojtek Figat
1f1c3adaf1 Merge branch 'feature-clip-cursor' of https://github.com/ScottLongley/FlaxEngine into ScottLongley-feature-clip-cursor 2022-07-16 09:03:47 +02:00
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
6e6f2859ab Fix switching to fullscreen mode in D3D11/D3D12 flip presentation modes 2022-03-26 16:48:46 +02:00
Scott Longley
749895f2ca typo fixes 2022-02-18 21:58:46 +10:00
Scott Longley
8db4c3cfff Add ClipCursor (Windows only) 2022-02-18 21:14:08 +10:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojciech Figat
dd92ae0ff4 Fix Windows Game build 2021-12-08 17:14:14 +01:00
Wojciech Figat
11b88cc621 Fix Windows Snap with borderless windows
#629 #676
2021-12-08 16:49:44 +01:00
Wojtek Figat
81f3a65a5f Merge branch 'fix-per-window-dpi' of git://github.com/stefnotch/FlaxEngine into stefnotch-fix-per-window-dpi
# Conflicts:
#	Source/Editor/Utilities/Utils.cs
#	Source/Editor/Windows/Assets/MaterialWindow.cs
#	Source/Editor/Windows/Assets/ParticleEmitterWindow.cs
#	Source/Engine/Platform/Linux/LinuxWindow.cpp
#	Source/Engine/Platform/Windows/WindowsWindow.cpp
2021-03-08 20:50:31 +01:00
Wojtek Figat
43d578deb2 Add support for borderless window style on Windows that supports system docking and aero shadow 2021-02-25 14:46:16 +01:00
Wojtek Figat
a98f867bd8 Fix compiler warning 2021-02-16 11:47:39 +01:00
stefnotch
311793dd7e Fix StartMouseCapture(true) with secondary monitors on the left
Yes, negative mouse coordinates are a thing
2021-02-12 22:50:47 +01:00
stefnotch
20d9c7181f Untested cross platform implementation 2021-02-08 10:07:47 +01:00
stefnotch
c7feeb624d Tweaks 2021-02-08 09:48:46 +01:00
stefnotch
f5b48e03e9 Per window DPI 2021-02-07 17:26:41 +01:00
Jean-Baptiste Perrier
03eb39afe6 Bumping all copyright headers to 2021. 2021-01-02 14:28:49 +01:00
Wojtek Figat
05790ab9a1 Fix code style 2020-12-30 22:56:17 +01:00
Wojtek Figat
6fb9eee74c You're breathtaking! 2020-12-07 23:40:54 +01:00