Commit Graph

406 Commits

Author SHA1 Message Date
Chandler Cox
b85ec46545 Change selected color. 2023-12-16 22:05:04 -06:00
Chandler Cox
272a147c2e Add saved colors to color picker. 2023-12-16 20:36:27 -06:00
Wojtek Figat
e9a1be481f Add short delay before auto-selecting editor tab on drag over header
#1934
2023-11-20 11:03:49 +01:00
Wojtek Figat
c0f0bd87aa Fix error in Tabs.SelectedTab
#1932
2023-11-14 10:33:40 +01:00
Wojtek Figat
618273977c Minor improvements to code style #1541 2023-11-13 17:17:05 +01:00
Wojtek Figat
13881c7d97 Merge branch 'LightThemeTweaks' of https://github.com/Radiangames/FlaxEngine into Radiangames-LightThemeTweaks 2023-11-13 17:02:12 +01:00
Wojtek Figat
7d70a15034 Fix color editing control to properly handle mouse event
#1782
2023-11-10 10:20:21 +01:00
Wojtek Figat
7d43a0cc8b Fix various cases of closing window tabs when using Dock Windows in Editor
#1750
2023-11-07 16:14:09 +01:00
Wojtek Figat
fd4a5595c0 Merge branch 'editor-list-dragging' of https://github.com/MineBill/FlaxEngine into MineBill-editor-list-dragging 2023-11-07 10:21:57 +01:00
Wojtek Figat
c78ce9697c Fix incorrect tabs selection handling when tab gets removed
#1843
2023-11-06 18:14:16 +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
MineBill
151c6bc6c3 Fix color picker dialog not staying inside the current screen. 2023-11-01 20:07:58 +02:00
MineBill
df5dc0c284 Extract validation/item handling of AssetPicker in a separate class. 2023-10-31 16:32:57 +02:00
Wojtek Figat
9c4382dffb Fix using dock window panels on macOS in Editor 2023-10-23 15:59:09 +02:00
Wojtek Figat
6ff3e0f488 Various improvements to macOS platform 2023-10-22 20:06:54 +02:00
MineBill
c773c3e8fc Collapse/Expand all node in the tree if the user is pressing the Alt key. 2023-10-19 18:55:58 +03:00
nothingTVatYT
48a5fe54e8 keep auto-close for non-Linux platforms 2023-10-16 01:13:06 +02:00
nothingTVatYT
c42a264944 removed a left over debug statement 2023-10-16 01:08:47 +02:00
nothingTVatYT
d1b2b64cd1 fix color picker (signal handler + alpha channel) 2023-10-15 21:43:15 +02:00
Wojtek Figat
d0fbf12b92 Fix editor tabs control size for tab header when scroll bar is visible
#1135
2023-10-13 11:16:34 +02:00
Chandler Cox
f2c9ba5a00 Focus parent on value box slide end. 2023-10-11 15:33:32 -05:00
Wojtek Figat
3ac7c4e0ee Codestyle fix 2023-10-09 23:21:02 +02:00
Wojtek Figat
09f2be907e Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Flax.flaxproj
2023-10-09 12:40:47 +02:00
Wojtek Figat
2cac149741 Code cleanup for #1377 2023-10-06 15:58:23 +02:00
Wojtek Figat
e6c45fccb3 Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Source/Engine/Level/Actors/AnimatedModel.cpp
2023-10-05 10:44:03 +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
Wojtek Figat
dd21020297 Merge remote-tracking branch 'origin/master' into 1.7 2023-10-01 13:17:41 +02:00
Wojtek Figat
19a0eab966 Merge branch 'sceneanim_null_check_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-sceneanim_null_check_fix 2023-10-01 12:12:21 +02:00
Wojtek Figat
5e3bb4d51e Merge branch 'font-size-fixes' of https://github.com/Tryibion/FlaxEngine into Tryibion-font-size-fixes 2023-10-01 12:05:20 +02:00
Luke Schneider
b7b8213179 Some additional fixes to light theme support
Fixed some issues with light theme support:

1) Icons in content tree nodes (Folder icons) now use the foreground color.  I did not find a case where the content tree is used for other icons.

2) The asset picker now uses the Background Normal color (instead of a very transparent dark gray) for the background, and Orange for the text.  Did not seem like it warranted adding a new color, and Orange works in both dark and light styles.

3) The platform selector icons are now hard-coded instead of based on the style.  This may sound odd, but the icons are colored, so they should always use White as the fully active color.  Previously they worked with a dark theme because the Foreground was set to white.

4) Fixed the CollectionBackgroundColor in the light theme being dark gray instead of light gray like it should be.  This fixes certain lists of things having a dark background in the light theme.
2023-09-29 07:43:59 -05:00
58445f04c4 Fix potential incorrect null checks in FlaxEngine.Objects
The null-conditional operator checks for reference equality of the
Object, but doesn't check the validity of the unmanaged pointer. This
check is corrected in cases where the object was not immediately
returned from the bindings layer and may have been destroyed earlier.
2023-09-28 22:05:58 +03:00
Wojtek Figat
58b9d76d24 Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Source/Editor/Viewport/PrefabWindowViewport.cs
#	Source/Engine/Physics/PhysX/SimulationEventCallbackPhysX.cpp
2023-09-28 20:42:54 +02:00
Wojtek Figat
481bbd3a77 Merge branch 'editor_bindings' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-editor_bindings 2023-09-28 20:17:35 +02:00
Luke Schneider
ad28a3fdbf Better light theme (Style) support, and a Default light theme (as a secondary option)
1) Added ForegroundViewport as a new color.  It is used in the main game viewport (ViewportWidgetButton), and the viewport for rendering of particles and materials.  It is needed because the default foreground in a Light theme is black, but black does not work well in a viewport.  A new color seemed appropriate.

2) Fixed the profiler window to use the Foreground color in multiple text elements, instead of Color.White (or no default TitleColor).  This includes  the Row class, Asset class, SingleChart class, Timeline Class, and more.

3) Added a second theme/Style (DefaultLight) to include with the engine.  It uses RGB float values because those were easier to transfer from the saved values that I had created (and they're easier for me to edit if necessary).  I tried to emulate how the Default theme is created/loaded/etc as closely as possible.
2023-09-27 21:54:34 -05:00
Wojtek Figat
2f9c601678 Merge remote-tracking branch 'origin/master' into 1.7 2023-09-27 17:32:47 +02:00
Nils Hausfeld
b6ad252305 - Removed unnecessary null-conditional operator
- Removed unnecessary Float2 allocation
2023-09-23 19:14:06 +02:00
642766d9cc Add Editor input options for Play Current Scenes and running cooked game 2023-09-23 15:23:07 +03:00
Nils Hausfeld
963300c2cb - Implemented shift tab support for Container Controls 2023-09-23 11:56:45 +02:00
Wojtek Figat
1c20398d8c Merge remote-tracking branch 'origin/master' into 1.7 2023-09-22 22:43:29 +02:00
Wojtek Figat
19651db45e Merge branch 'max-min-on-click' of https://github.com/Tryibion/FlaxEngine into Tryibion-max-min-on-click 2023-09-22 18:49:14 +02:00
bbf8883275 Fix docking hint areas not hiding after dragging a window 2023-09-21 20:13:06 +03:00
Chandler Cox
eb5a1f1103 Fix max and min on double click main menu buttons for custom menu bar 2023-09-20 17:49:17 -05:00
Wojtek Figat
9f97787099 Merge remote-tracking branch 'origin/master' into 1.7 2023-09-20 16:02:48 +02:00
Wojtek Figat
a56ce92867 Fix crash when importing model with materials and Split Objects enabled 2023-09-19 23:07:10 +02:00
Chandler Cox
f4b7ae41a9 Fix profiler rows with larger font sizes. 2023-09-16 14:51:47 -05:00
Wojtek Figat
6bdbaecc18 Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Source/Engine/Physics/PhysX/SimulationEventCallbackPhysX.cpp
2023-09-13 10:29:28 +02:00
Wojtek Figat
dbd85fddfe Refactor Editor Tab controls system to allows customizing the tab header controls 2023-09-12 22:24:15 +02:00
Wojtek Figat
fb488cbaf7 Merge remote-tracking branch 'origin/master' into 1.7 2023-09-11 22:43:46 +02:00
Wojtek Figat
16fed8927c Refactor #1266 (code quality and simplicity) 2023-09-11 20:02:53 +02:00
Wojtek Figat
2ddb44afa8 Merge branch 'ContentBrowserImprovement' of https://github.com/NoriteSC/FlaxEngineFork into NoriteSC-ContentBrowserImprovement
# Conflicts:
#	Source/Editor/Windows/ContentWindow.cs
2023-09-11 15:39:48 +02:00