Commit Graph

57 Commits

Author SHA1 Message Date
Wojtek Figat
285710360c Fix margins issues in context menus 2024-04-18 15:26:52 +02:00
Wojtek Figat
aca7913c93 Add automatic last dangling separator removal in context menu 2024-03-07 22:14:01 +01:00
Wojtek Figat
cee6aad0ef Add automatic last dangling separator removal in context menu 2024-03-07 22:13:56 +01:00
Wojtek Figat
6905382310 Fix custom context menu popup showing as child (eg. prefab diff) 2024-02-26 22:13:50 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
f1fe83ca81 Add RayCast utility to UI controls
#1952
2024-02-26 16:22:56 +01:00
Chandler Cox
1e061b77af Add back in checking for textRect x location. 2024-01-08 19:48:12 -06:00
Chandler Cox
afb5edb824 Adjust ContextMenu ShortKeys as needed to accommodate for scrollbar when visible. 2024-01-08 19:45:54 -06:00
Wojtek Figat
3ac7c4e0ee Codestyle fix 2023-10-09 23:21:02 +02: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
642766d9cc Add Editor input options for Play Current Scenes and running cooked game 2023-09-23 15:23:07 +03:00
Wojtek Figat
16fed8927c Refactor #1266 (code quality and simplicity) 2023-09-11 20:02:53 +02:00
Wojtek Figat
462da342a7 Fix ContextMenuSingleSelectGroup selection of the first item that had default value 2023-09-01 11:43:02 +02:00
Wojtek Figat
81860e5f18 Cleanup code #1215 and add cook game icon 2023-07-31 19:02:53 +02:00
envision3d
940b0e02e5 improve state syncing of context menus and editor options 2023-06-28 04:08:36 -05:00
envision3d
39f4c00135 add play button actions, number of players
- add context menu support for toolstrip buttons
- add "Play Game" vs. "Play Scenes"
- add context menu for choosing play button action to toolstrip button
- add number of game client selection for cook & run
- add context menu for cook & run to toolstrip button
- add menu items for the above
- add editor option entries for saving user preferences for the above
2023-06-28 02:02:10 -05:00
Wojtek Figat
e10aa1ff58 Add support for editing dictionary keys that are structures 2023-05-24 22:58:07 +02:00
Chandler Cox
3ddaa6da1a fix issue of child context menu hiding when de-hovered then re-hovered. Fixed issue of clicking on child cm hiding child. 2023-02-18 07:47:49 -06:00
Wojtek Figat
05cb02aa09 Improve #936 for ExternalPopups and preserve odl impl on Windows 2023-02-17 20:44:23 +01:00
Wojtek Figat
2f97db306a Merge branch 'context_menu_focus_fixes' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-context_menu_focus_fixes 2023-02-17 20:27:47 +01:00
Chandler Cox
4725a83406 Move the child menu arrow image to accommodatefor the scroll bar showing when the amunt of items exceeds the maximum. 2023-02-12 21:29:58 -06:00
cc4864231f Use input focus to manage context menu hiding logic 2023-02-11 20:07:56 +02:00
Wojciech Figat
a7e428a21c Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/CustomEditors/Editors/ActorTagEditor.cs
#	Source/Engine/Core/Config/GraphicsSettings.cpp
#	Source/Engine/Engine/PostProcessEffect.cs
#	Source/Engine/Graphics/GPUResourcesCollection.cpp
#	Source/Engine/Graphics/GPUResourcesCollection.h
#	Source/Engine/Graphics/PostProcessBase.h
#	Source/FlaxEngine.Gen.cs
2023-01-10 15:37:55 +01:00
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojtek Figat
bc7bf72660 Fix case when child context menu is already hidden and changed to other from code 2023-01-01 21:42:35 +01:00
Wojtek Figat
0dd79fe10a Fix sub-context menu child popup still being open when parent context menu gets focused again by the user 2022-12-20 21:11:41 +01:00
Wojtek Figat
b7b31aad8e Code style fix
#793
2022-10-23 23:49:46 +02:00
Wojtek Figat
2b514cc10e Merge branch 'CM-fix-open-left' of https://github.com/Tryibion/FlaxEngine into Tryibion-CM-fix-open-left 2022-10-23 23:48:49 +02:00
Chandler Cox
1c44c42b52 fixed position of child CMs when having to open left 2022-10-21 14:14:13 -05:00
Chandler Cox
b20967559b added to not close the child context menu on click 2022-10-20 19:49:36 -05:00
Wojtek Figat
22367498da Fix editing LinearCurve<Color> in properties window (color picker window closed keyframe editing popup) 2022-07-25 17:18:05 +02:00
Wojtek Figat
37fbc7600e Add don't auto-closing View -> View Flags menu to improve debug testing workflow in Editor viewport 2022-07-23 10:51:38 +02:00
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojciech Figat
4722b58a40 Refactor ContextMenuChildMenu to inherit from ContextMenuButton 2021-11-16 20:45:12 +01:00
Wojtek Figat
34132e3074 Fix context menu keyboard arrows navigation to skip disabled items 2021-08-16 22:50:10 +02:00
Wojtek Figat
d1b142db08 Fix error in context menu search on fail 2021-05-15 16:34:38 +02:00
Wojtek Figat
759dc98737 Fix Rename Popup direction near screen edges
#317
2021-03-18 16:48:07 +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
W2.Wizard
52bc268ee7 Cleanup 1 2021-02-21 10:05:47 +01:00
stefnotch
8f8f0266ce Add DpiScale to RootWindow 2021-02-08 09:48:57 +01:00
stefnotch
f5b48e03e9 Per window DPI 2021-02-07 17:26:41 +01:00
Wojtek Figat
464523f318 Add missing control reference clear 2021-01-03 23:38:30 +01:00
Wojtek Figat
0d4ac16d18 Merge branch 'context-menu-focus-returning' of git://github.com/stefnotch/FlaxEngine into stefnotch-context-menu-focus-returning 2021-01-03 23:36:08 +01:00
Jean-Baptiste Perrier
03eb39afe6 Bumping all copyright headers to 2021. 2021-01-02 14:28:49 +01:00
stefnotch
b63753b4d5 Return focus to the previous control when closing a context menu
Fixes the fancy Visject input stuff
2021-01-02 13:30:12 +01:00
stefnotch
65ab9cac50 Change ClientFrom/ToScreen to PointFrom/ToScreen
Fix #67
2020-12-29 18:10:26 +01:00
stefnotch
310140e91b Fix context menu disappearing
Fix #10
2020-12-23 14:11:11 +01:00
Wojtek Figat
8ac2d7069d Fixes for code style
(cherry picked from commit c987acb709)
2020-12-21 11:56:22 +01:00
Jean-Baptiste Perrier
3c60f2691d Typo 2020-12-21 11:54:51 +01:00