Commit Graph

6569 Commits

Author SHA1 Message Date
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
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
mafiesto4 bff9c3419d Merge branch 'GoaLitiuM-fix_uaf' 2023-09-26 21:30:04 +02:00
GoaLitiuM e8088f42ac Fix string use-after-free while loading managed assemblies 2023-09-26 17:37:53 +03:00
mafiesto4 0ddb0e4350 Merge branch 'Tryibion-ui-adds' 2023-09-26 10:48:32 +02:00
mafiesto4 a919130434 Merge branch 'ui-adds' of https://github.com/Tryibion/FlaxEngine into Tryibion-ui-adds 2023-09-26 10:47:24 +02:00
mafiesto4 c015feac84 Merge branch 'stefnotch-patch-13' 2023-09-26 10:46:11 +02:00
mafiesto4 3b26d1e0ea Merge branch 'patch-13' of https://github.com/stefnotch/FlaxEngine into stefnotch-patch-13 2023-09-26 10:46:05 +02:00
mafiesto4 6621e70ae7 Add objects replication and RPC stats table to Network Profiler 2023-09-26 10:33:12 +02:00
stefnotch 1bc7ad5e9d Update SerializeAttribute.cs 2023-09-26 10:30:57 +02:00
mafiesto4 da47088250 Add conditional profiling in Editor (run only when using Profiler window) 2023-09-25 18:34:07 +02:00
mafiesto4 216a5e9f92 Add support for displaying all active Network Peer stats in Editor Profiler tab 2023-09-25 16:49:18 +02:00
mafiesto4 a672f6aa6b Merge branch 'Tryibion-npute-editor-improve' 2023-09-25 16:34:09 +02:00
mafiesto4 c374127de1 Fix error when loading project on non-ASCII path
#1439
2023-09-25 16:34:01 +02:00
mafiesto4 96b6313acb Fix crash when loading C# assembly from non-ASNSI path
#1439
2023-09-25 16:30:24 +02:00
mafiesto4 cfd53eea60 Merge branch 'npute-editor-improve' of https://github.com/Tryibion/FlaxEngine into Tryibion-npute-editor-improve 2023-09-25 15:47:38 +02:00
mafiesto4 273e70da09 Merge branch 'Tryibion-fix-rightclick-source' 2023-09-25 15:46:49 +02:00
mafiesto4 d7b5a582f2 Merge branch 'fix-rightclick-source' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-rightclick-source 2023-09-25 15:46:43 +02:00
mafiesto4 212a2e1ded Format code from recent PRs 2023-09-25 15:42:23 +02:00
mafiesto4 ef106c6a29 Merge branch 'Radiangames-MMB_Pan' 2023-09-25 15:41:08 +02:00
mafiesto4 c46ec41f6f Merge branch 'MMB_Pan' of https://github.com/Radiangames/FlaxEngine into Radiangames-MMB_Pan 2023-09-25 15:40:19 +02:00
mafiesto4 90a4fba767 Improve #1490 performance to use Ordinal string comparision and just check for extension on some generated files 2023-09-25 15:39:00 +02:00
mafiesto4 e37d9017c0 Merge branch 'Tryibion-gen-file-filter' 2023-09-25 15:37:23 +02:00
mafiesto4 8ac23e556a Merge branch 'gen-file-filter' of https://github.com/Tryibion/FlaxEngine into Tryibion-gen-file-filter 2023-09-25 15:37:11 +02:00
mafiesto4 0e5755ddaf Merge branch 'Chikinsupu-TextBox-ControlBackspaceSupport' 2023-09-25 15:36:17 +02:00
mafiesto4 1b9d61b408 Merge branch 'TextBox-ControlBackspaceSupport' of https://github.com/Chikinsupu/FlaxEngine into Chikinsupu-TextBox-ControlBackspaceSupport 2023-09-25 15:34:40 +02:00
mafiesto4 ee5c11cef5 Merge branch 'Chikinsupu-ContainerControl-ShiftTabSupport' 2023-09-25 15:34:11 +02:00
mafiesto4 2fb1778801 Merge branch 'ContainerControl-ShiftTabSupport' of https://github.com/Chikinsupu/FlaxEngine into Chikinsupu-ContainerControl-ShiftTabSupport 2023-09-25 15:31:23 +02:00
mafiesto4 8d72b1661b Merge branch 'GoaLitiuM-vulkan_shader_comp_fix' 2023-09-25 15:22:55 +02:00
Tryibion 84ecd49439 Fix slider clipping left most pixel of fill bar. 2023-09-24 15:40:56 -05:00
Tryibion 8a2272b825 Add has border and border thickness options. 2023-09-24 15:40:40 -05:00
GoaLitiuM 9021deb49e Fix Vulkan shader compilation with source files missing the last newline 2023-09-24 15:39:24 +03:00
Nils Hausfeld b6ad252305 - Removed unnecessary null-conditional operator
- Removed unnecessary Float2 allocation
2023-09-23 19:14:06 +02:00
Nils Hausfeld 963300c2cb - Implemented shift tab support for Container Controls 2023-09-23 11:56:45 +02:00
mafiesto4 248304a78f Fix regression of importing only a single material for models with split objects enabled
#1483
2023-09-22 19:43:00 +02:00
Nils Hausfeld df23174deb - Added proper control backspace support 2023-09-22 19:23:16 +02:00
mafiesto4 0948f7f18e Merge branch 'Tryibion-copy-paste-fix' 2023-09-22 18:56:44 +02:00
mafiesto4 07db94c4f7 Merge branch 'copy-paste-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-copy-paste-fix 2023-09-22 18:56:39 +02:00
mafiesto4 aa969ec023 Merge branch 'Tryibion-create-folder-fix' 2023-09-22 18:54:53 +02:00
mafiesto4 cb423f78f4 Merge branch 'create-folder-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-create-folder-fix 2023-09-22 18:50:57 +02:00
mafiesto4 86a7484947 Merge branch 'Tryibion-max-min-on-click' 2023-09-22 18:49:19 +02:00
mafiesto4 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
mafiesto4 72d61017f1 Merge branch 'Chikinsupu-fix-VisjectContextMenu-SpaceInput' 2023-09-22 18:46:00 +02:00
mafiesto4 2b4911ef06 Merge branch 'fix-VisjectContextMenu-SpaceInput' of https://github.com/Chikinsupu/FlaxEngine into Chikinsupu-fix-VisjectContextMenu-SpaceInput 2023-09-22 18:45:55 +02:00
mafiesto4 cf4fc535b3 Merge branch 'GoaLitiuM-debug_log_exception_line_fix' 2023-09-22 17:49:11 +02:00
GoaLitiuM 08d04ea6fb Fix exceptions in Debug Log Window not using correct line numbers
Additions to fix in commit 1714bc243a
2023-09-22 16:54:58 +03:00
mafiesto4 faeb21a77a Merge branch 'GoaLitiuM-csproj_file_structure' 2023-09-22 13:02:42 +02:00
mafiesto4 da00d3b971 Merge branch 'csproj_file_structure' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-csproj_file_structure 2023-09-22 13:02:20 +02:00
mafiesto4 bd4efe5f02 Merge branch 'wackoisgod-macos-bugs-two' 2023-09-22 13:01:28 +02:00
mafiesto4 79aba00ab4 Merge branch 'macos-bugs-two' of https://github.com/wackoisgod/FlaxEngine into wackoisgod-macos-bugs-two 2023-09-22 13:01:21 +02:00