Commit Graph

5761 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
e8088f42ac Fix string use-after-free while loading managed assemblies 2023-09-26 17:37:53 +03:00
Wojtek Figat
a919130434 Merge branch 'ui-adds' of https://github.com/Tryibion/FlaxEngine into Tryibion-ui-adds 2023-09-26 10:47:24 +02:00
Wojtek Figat
3b26d1e0ea Merge branch 'patch-13' of https://github.com/stefnotch/FlaxEngine into stefnotch-patch-13 2023-09-26 10:46:05 +02:00
Wojtek Figat
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
Wojtek Figat
da47088250 Add conditional profiling in Editor (run only when using Profiler window) 2023-09-25 18:34:07 +02:00
Wojtek Figat
216a5e9f92 Add support for displaying all active Network Peer stats in Editor Profiler tab 2023-09-25 16:49:18 +02:00
Wojtek Figat
c374127de1 Fix error when loading project on non-ASCII path
#1439
2023-09-25 16:34:01 +02:00
Wojtek Figat
96b6313acb Fix crash when loading C# assembly from non-ASNSI path
#1439
2023-09-25 16:30:24 +02:00
Wojtek Figat
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
Wojtek Figat
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
Wojtek Figat
212a2e1ded Format code from recent PRs 2023-09-25 15:42:23 +02:00
Wojtek Figat
c46ec41f6f Merge branch 'MMB_Pan' of https://github.com/Radiangames/FlaxEngine into Radiangames-MMB_Pan 2023-09-25 15:40:19 +02:00
Wojtek Figat
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
Wojtek Figat
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
Wojtek Figat
1b9d61b408 Merge branch 'TextBox-ControlBackspaceSupport' of https://github.com/Chikinsupu/FlaxEngine into Chikinsupu-TextBox-ControlBackspaceSupport 2023-09-25 15:34:40 +02:00
Wojtek Figat
2fb1778801 Merge branch 'ContainerControl-ShiftTabSupport' of https://github.com/Chikinsupu/FlaxEngine into Chikinsupu-ContainerControl-ShiftTabSupport 2023-09-25 15:31:23 +02:00
Chandler Cox
84ecd49439 Fix slider clipping left most pixel of fill bar. 2023-09-24 15:40:56 -05:00
Chandler Cox
8a2272b825 Add has border and border thickness options. 2023-09-24 15:40:40 -05:00
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
Wojtek Figat
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
Wojtek Figat
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
Wojtek Figat
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
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
Wojtek Figat
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
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
Wojtek Figat
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
Wojtek Figat
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
Wojtek Figat
6b8d1f448e Merge branch 'rider-open-file' of https://github.com/MineBill/FlaxEngine into MineBill-rider-open-file 2023-09-22 12:57:54 +02:00
Wojtek Figat
787479357e Codestyle fix #1495 2023-09-22 12:57:07 +02:00
Wojtek Figat
d6c177ffca Merge branch 'window_flicker_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-window_flicker_fix 2023-09-22 12:55:11 +02:00
Wojtek Figat
9731d76a94 Merge branch 'unloaded_assembly_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-unloaded_assembly_fix 2023-09-22 12:54:22 +02:00
Wojtek Figat
97be8b572f Merge branch 'shader-division' of https://github.com/MineBill/FlaxEngine into MineBill-shader-division 2023-09-22 12:53:16 +02:00
Wojtek Figat
0fbb3f4414 Merge branch 'macos-csproj-fix' of https://github.com/wackoisgod/FlaxEngine into wackoisgod-macos-csproj-fix 2023-09-22 12:51:08 +02:00
Wojtek Figat
62c2008cbc Fix crash in C# JobSystem.Dispatch due to GC collecting Delegate object 2023-09-22 12:50:50 +02:00
Wojtek Figat
a0de513a43 Optimize updating scripts tick arrays 2023-09-22 12:37:35 +02:00
Wojtek Figat
31b3f56ddb Fix visibility of some internal NativeInterop methods for game bindings 2023-09-22 12:37:13 +02:00
Wojtek Figat
abcfc8af35 Add using exact C# method profiler data for profiler events in overriden thunk method callbacks 2023-09-22 12:04:41 +02:00
Andrew Spiering
ab7ca683bb Addressing Feedback
* use a better method of getting Editor binary folder
2023-09-22 02:59:38 -07:00
Andrew Spiering
1537f49e73 Fixing Editor Path
* Again the path was hardcoded to win64
2023-09-22 02:41:09 -07:00
Andrew Spiering
017967d5f8 Fixing non-windows platforms csproj files
* Seems there was a hardcoded path ? for the prebuilt binaries for the FlaxEngine dll
2023-09-22 02:13:49 -07:00
MineBill
1714bc243a Fix not capturing the the Debug.Log line in the DebugLogWindow 2023-09-22 11:03:59 +03:00
Chandler Cox
7012832050 Add filter to content window to hide generated files. Hide by default. 2023-09-21 21:29:21 -05:00
Chandler Cox
521b180352 Fix issue with copying and poasting in same folder. 2023-09-21 18:56:45 -05:00
bbf8883275 Fix docking hint areas not hiding after dragging a window 2023-09-21 20:13:06 +03:00