Commit Graph

267 Commits

Author SHA1 Message Date
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
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
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
1b9d61b408 Merge branch 'TextBox-ControlBackspaceSupport' of https://github.com/Chikinsupu/FlaxEngine into Chikinsupu-TextBox-ControlBackspaceSupport 2023-09-25 15:34:40 +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
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
Nils Hausfeld
df23174deb - Added proper control backspace support 2023-09-22 19:23:16 +02:00
Chandler Cox
ffbd14ad49 Fix right clicking on source folder to sometimes select non-visible child. 2023-09-20 15:35:36 -05:00
Chandler Cox
dabbd7bc6a Add highlighting when mouse is over slider thumb. 2023-09-16 11:46:36 -05:00
Wojtek Figat
6ece66b018 Merge branch 'input-editors' of https://github.com/Tryibion/FlaxEngine into Tryibion-input-editors 2023-09-12 14:09:49 +02:00
Chandler Cox
d96f19e5c6 Change exposed positionns to float 2 2023-09-05 08:44:59 -05:00
Chandler Cox
65a02f032f Expose helpful slider data. 2023-09-05 08:25:25 -05:00
Chandler Cox
20f35e332f Add slider control 2023-09-04 20:15:59 -05:00
Chandler Cox
a98458be1f Small improvements. 2023-08-31 14:14:01 -05:00
Chandler Cox
e4dfda7202 Add method enum. 2023-08-31 14:07:17 -05:00
Chandler Cox
d7112dc534 Improve progress bar to add switch between clipping and stretch and add direction. 2023-08-30 17:59:39 -05:00
Chandler Cox
5354063129 Add simple way to remove button border. 2023-08-19 10:43:04 -05:00
Chandler Cox
9b0c6a070a Add InputEvent and InputAxis editors and changed UICanvas to use them. 2023-07-21 13:26:51 -05:00
Wojtek Figat
b57a3165fa Fix textbox submit when it's nav focused 2023-06-16 10:56:17 +02:00
Wojtek Figat
f552dd0c28 Merge remote-tracking branch 'origin/master' into 1.6 2023-06-10 23:29:22 +02:00
Wojtek Figat
3bbfe9de8a Code cleanup, add tooltip and cache property option in layout #1140 2023-06-09 17:32:57 +02:00
Wojtek Figat
a0d6f3c22b Merge branch 'ui-resize-update' of https://github.com/Swiggies/FlaxEngine into Swiggies-ui-resize-update 2023-06-09 17:23:00 +02:00
Wojtek Figat
007edb4651 Merge commit '2c809389ad7d8953b10e7ab3b1b29aca4d072116' into 1.6 2023-06-01 01:06:27 +02:00
Wojtek Figat
3953e6ddc0 Merge commit 'f2ecefb7ee9b9e6c5daac9f44fe40ebdccbb1c76' into 1.6 2023-06-01 01:06:14 +02:00
Wojtek Figat
fb6a9728a3 Hide editor-only properties from animating in UI Control 2023-05-28 23:30:49 +02:00
Wojtek Figat
6a482c987c Fix 3D UI Canvas point conversion from parent control space to local space
#1129
2023-05-28 23:21:36 +02:00
Wojtek Figat
44036a26d0 Fix UI Control selection highlights when using Canvas Scaler
#977
2023-05-28 21:35:56 +02:00
Wojtek Figat
694980160b Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	Source/Editor/CustomEditors/CustomEditorsUtil.cs
#	Source/Engine/Networking/NetworkReplicator.cpp
#	Source/Engine/Scripting/ManagedCLR/MUtils.cpp
#	Source/Tools/Flax.Build/Bindings/BindingsGenerator.Cpp.cs
2023-05-24 23:28:38 +02:00
Olly Rybak
c92a3e566e New button styling 2023-05-21 09:57:39 +10:00
Wojtek Figat
24396031a7 Fix keyboard input in various cases on macOS 2023-05-17 17:27:41 +02:00
Olly Rybak
ff3bc557b2 Added pivot relative resizing to GUI Controls 2023-05-17 14:05:31 +10:00
Wojtek Figat
3fa9f9e9cf Follow up 4482fc0bcf
#1086
2023-05-16 12:14:52 +02:00
Wojtek Figat
73ee5676c6 Merge branch 'scale-icon-change' of https://github.com/Menotdan/FlaxEngine into Menotdan-scale-icon-change 2023-05-16 12:01:10 +02:00
Wojtek Figat
b57018f55c Merge remote-tracking branch 'origin/master' into 1.6 2023-05-12 14:41:21 +02:00
Wojtek Figat
b5117af4b8 Format code 2023-05-12 14:19:40 +02:00
Chandler Cox
eeaf7eb733 Move BoxSize 2023-05-10 08:04:47 -05:00
Chandler Cox
2b59cbf0f1 Organize the style groups of UI controls 2023-05-10 07:44:54 -05:00
Menotdan
681564189f Finish implementing IconButton and use that to create a more intuitive scale linking interface. 2023-05-08 00:42:38 -04:00
Menotdan
141555377b Begin working on an IconButton class, and demoing the IconButton idea using the scale link icon. 2023-05-07 22:58:57 -04:00
Wojtek Figat
d56f7a211f Optimize UI performance when destroying complex UI structures 2023-05-05 09:23:22 +02:00
Wojtek Figat
67b373c6df Merge remote-tracking branch 'origin/master' into 1.6 2023-04-17 13:18:08 +02:00
Wojtek Figat
e9bdc8b319 Fix crash when starting drag&drop with invalid control state (detached from window) 2023-04-17 12:36:59 +02:00
Wojtek Figat
91c017713c Merge remote-tracking branch 'origin/master' into 1.6 2023-04-13 12:12:33 +02:00
Chandler Cox
06ba894e39 Various changes to scroll bar to make it feel better 2023-04-08 23:00:43 -05:00
Wojtek Figat
74758f5380 Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	Source/Tools/Flax.Build/Build/Builder.Projects.cs
#	Source/Tools/Flax.Build/Build/Plugins/NetworkingPlugin.cs
2023-03-14 11:52:41 +01:00
Wojtek Figat
d2a0438b71 Fix error on control reorder while it got remove before 2023-03-13 20:06:45 +01:00
Wojtek Figat
0112f70c05 Merge remote-tracking branch 'origin/master' into dotnet7 2023-03-01 19:50:22 +01:00