Commit Graph

30 Commits

Author SHA1 Message Date
ExMatics HydrogenC
cdbe59a3fb Add fallback settings to CSharp 2023-11-30 23:12:56 +08:00
ExMatics HydrogenC
41bbce56f6 Add multifont rendering to editor 2023-11-30 13:41:45 +08:00
ExMatics HydrogenC
47a25c7828 Add font fallback
Note: All the `First()` in the code are temperary workarounds to make it work and require refractoring
2023-11-28 07:17:46 +08: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
88eca13eb3 Add default font bundling (optional) and setup UI Style to match editor logic
#641
2023-10-12 22:28:40 +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
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
davevanegdom
5fc9176ce7 Removed customization for "Normal" and "TextColor" 2023-09-21 23:18:46 +02:00
davevanegdom
80a3bb2ae2 Replaced string color lookups 2023-09-21 17:10:49 +02:00
davevanegdom
21c742bd8a Customizable statusbar 2023-09-21 14:54:57 +02:00
Wojtek Figat
2c70b74814 Refactor widowing on macOS to support screen scale and highDpi mode 2023-03-12 10:58:55 +01: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
084fe6f063 Add UseAssetImportPathRelative to Editor options and use it by default to store imported asset path relative to the project folder 2023-01-01 18:55:09 +01:00
Wojtek Figat
98473487bc Fix Editor Analytics tracking option file SetupStyle
#727
2022-06-14 19:51:38 +02:00
Wojtek Figat
6da3dff5de Fix editor options startup to not log error on missing file 2022-03-14 20:32:10 +01:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojtek Figat
484bc409d4 Add support for NotNullItems option in collections editors
#542
2021-06-09 10:58:54 +02:00
Crawcik
9b55ffdf6c Adding collections background color in global settings 2021-06-03 14:29:42 +02:00
W2.Wizard
887b52c18a Merge branch '1.2' into IconOverhaul 2021-05-13 15:21:36 +02:00
W2Wizard
d54efc73f1 Adapt to new spritehandle names
Lots of files! However only change was renaming the icons overall.
2021-05-13 15:16:45 +02:00
Wojtek Figat
02856273ad Add error message box on Editor Options saving error 2021-04-21 23:47:27 +02:00
W2.Wizard
7877f77242 Add Scalar Icon, PS & XBox
A separate scalar icon for the value box
2021-04-13 10:41:04 +02:00
W2.Wizard
8b3fc9842d Apply review changes
Applied review changes and one additional skip of an unused variable
2021-02-21 17:03:58 +01:00
W2.Wizard
92fafe877c Cleanup 2 2021-02-21 10:23:01 +01:00
VNC
6ab300025b Fixed a ton of typos 2021-01-05 02:13:15 +01:00
Jean-Baptiste Perrier
03eb39afe6 Bumping all copyright headers to 2021. 2021-01-02 14:28:49 +01:00
stefnotch
96dbd3a937 Prevent loading 'null' style 2020-12-30 10:28:17 +01:00
Wojtek Figat
6fb9eee74c You're breathtaking! 2020-12-07 23:40:54 +01:00