Commit Graph

93 Commits

Author SHA1 Message Date
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
f9a9912895 Merge branch 'editor_binding_fixes' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-editor_binding_fixes 2023-11-05 21:39:24 +01:00
Wojtek Figat
c27187bd0a Fix deserializing vector types in Editor from ToString FormatException
#1802
2023-10-25 19:17:04 +02:00
06f37794c2 Add input bindings for game window mouse unlock and toggle fullscreen 2023-10-24 22:27:12 +03:00
Wojtek Figat
7c84ca5b84 Merge branch 'feat/improved-camera-settings' of https://github.com/solnem/FlaxEngine into solnem-feat/improved-camera-settings 2023-10-24 14:50:52 +02:00
Wojtek Figat
1cbf867fc7 Hide build scenes data toolbar button when none action is set and fix tooltip for cook and run action
#1731
2023-10-17 22:43:43 +02: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
Christopher Rothert
00aa54cde8 Update camera speed stepping and easing
* remove complex curve function
* update camera easing feature to use Mathf.Pow instead
* add total camera speed steps to ViewportOptions
* change default value for max camera speed from 64 to 32
* update ViewportOptions ordering and grouping
* update string format for movement speed
2023-10-07 02:40:52 +02:00
Christopher Rothert
3a9fdd8b52 Add possibility to disable camera easing
* add camera easing setting to camera settings widget
* add camera easing default setting to ViewportOptions
* update some settings in ViewportOptions
2023-10-05 13:10:02 +02:00
Christopher Rothert
1f2d665654 Add camera speed easing based on Mathf.InterpEaseInOut
* change camera move speed method to use easing curve
* add methods for inversion of Mathf.InterpEaseInOut (might have better alternative)
* add setting for easing curve degree in ViewportOptions

* update camera speed adjustments to use easing curve
* remove unused camera speed values array
* update some comments and namings
2023-10-04 23:30:51 +02:00
Christopher Rothert
ccf37e9d68 Add saving and loading of cached values for camera settings
* remove "Default" from all settings in ViewportOptions as they are shown in the "Defaults" group anyway
2023-10-04 23:30:51 +02:00
Christopher Rothert
4f93a0d9c9 Add default camera settings to editor options
* update ViewportOptions to include new default camera settings
* update existing default settings in ViewportOptions
* extract viewport options setup into own method
* initialize new camera settings with default settings in EditorViewport
2023-10-04 23:30:50 +02:00
Wojtek Figat
1838c7bba7 Minor cleanup 2023-10-04 23:21:40 +02:00
Chandler Cox
b586b5fe41 Ensure editor font is sent as something. 2023-10-04 15:57:28 -05:00
Wojtek Figat
4d6a27c92a Merge branch 'Statusbar-Imrpovements' of https://github.com/davevanegdom/FlaxEngine into davevanegdom-Statusbar-Imrpovements 2023-10-01 12:01:31 +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
52cf4df641 Add input bindings for File menu actions 2023-09-23 15:23:09 +03:00
a1cbaba743 Add Editor input bindings for Profiler window and Profiler actions 2023-09-23 15:23:09 +03:00
8ed57863b8 Add Editor input bindings for Tools menu items 2023-09-23 15:23:09 +03:00
2023aa8c94 Add viewport camera movement speed adjustment input bindings 2023-09-23 15:23:08 +03:00
0122a9f699 Implement viewport camera rotation toggle for trackpad users 2023-09-23 15:23:08 +03:00
69ce189c5d Add input bindings for Scene viewport related actions and Pilot Actor 2023-09-23 15:23:08 +03:00
17e1afb04a Add Editor input option for toggling gizmo transform space 2023-09-23 15:23:07 +03:00
61b4738b6a Fix Editor bindings with no modifiers triggering with modifiers pressed 2023-09-23 15:23:07 +03:00
642766d9cc Add Editor input options for Play Current Scenes and running cooked game 2023-09-23 15:23:07 +03: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
Ruan Lucas
f2072028d4 change default key 2023-08-10 22:31:03 -04:00
Ruan Lucas
aa3dd14bfc add locked focus 2023-08-10 22:24:55 -04:00
Wojtek Figat
ef1c812349 Merge branch 'gridscale' of https://github.com/Withaust/FlaxEngine into Withaust-gridscale 2023-08-01 10:01:32 +02:00
Wojtek Figat
81860e5f18 Cleanup code #1215 and add cook game icon 2023-07-31 19:02:53 +02:00
Wiktor Kocielski
8250f92af3 Add grid scale to the editor viewport settings 2023-07-29 13:34:46 +03: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
91c017713c Merge remote-tracking branch 'origin/master' into 1.6 2023-04-13 12:12:33 +02:00
Wojtek Figat
31c35a7dd9 Merge branch 'adjustable-editor-focus-fps' of https://github.com/Tryibion/FlaxEngine into Tryibion-adjustable-editor-focus-fps 2023-04-13 11:01:01 +02:00
Wojtek Figat
2475706df4 Merge remote-tracking branch 'origin/master' into 1.6 2023-04-04 18:08:25 +02:00
Chandler Cox
0d082f5773 Added ability to change the fps of the not focused editor window. 2023-04-01 17:23:00 -05:00
Wiktor Kocielski
27ab8ea404 Make InputBindings modifiable 2023-03-26 15:12:53 +03: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
7b20bc38a4 Merge branch '1.5' into dotnet7
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Tools/Flax.Build/Projects/VisualStudio/VCProjectGenerator.cs
2023-01-17 11:52:52 +01:00
Wojtek Figat
50fb39d238 Merge remote-tracking branch 'origin/master' into 1.5 2023-01-15 12:44:45 +01:00
Wojciech Figat
26c7d3dadc Merge branch 'auto-save-popup' of https://github.com/Tryibion/FlaxEngine into Tryibion-auto-save-popup 2023-01-13 11:39:07 +01:00
Wojciech Figat
eebc4951de Merge branch '1.5' into dotnet7
# Conflicts:
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit-agent.exe
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.api.dll
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.core.dll
#	Source/Platforms/DotNet/NUnit/agents/net7.0/nunit.agent.addins
#	Source/Platforms/DotNet/NUnit/nunit.engine.api.dll
#	Source/Platforms/DotNet/NUnit/nunit.engine.core.dll
#	Source/Platforms/DotNet/NUnit/nunit.engine.dll
#	Source/Platforms/DotNet/NUnit/nunit3-console.exe
#	Source/Platforms/DotNet/NUnit/nunit3-console.exe.config
#	Source/Platforms/DotNet/NUnit/testcentric.engine.metadata.dll
#	Source/Tools/Flax.Build/Deps/Downloader.cs
#	Source/Tools/Flax.Stats/CodeFrame.cs
#	Source/Tools/Flax.Stats/CodeFrameNode.cs
#	Source/Tools/Flax.Stats/Flax.Stats.Build.cs
#	Source/Tools/Flax.Stats/Languages.cs
#	Source/Tools/Flax.Stats/Program.cs
#	Source/Tools/Flax.Stats/TaskType.cs
#	Source/Tools/Flax.Stats/Tools.cs
#	Source/Tools/FlaxEngine.Tests/TestEditorUtils.cs
2023-01-10 15:49:44 +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
Wojciech Figat
e2aa6b8970 Fix default value in viewport options 2023-01-09 22:40:54 +01:00
Wojciech Figat
ccd919d4d6 Fix default value in viewport options 2023-01-04 14:29:00 +01:00