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
a919130434
Merge branch 'ui-adds' of https://github.com/Tryibion/FlaxEngine into Tryibion-ui-adds
2023-09-26 10:47:24 +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
1b9d61b408
Merge branch 'TextBox-ControlBackspaceSupport' of https://github.com/Chikinsupu/FlaxEngine into Chikinsupu-TextBox-ControlBackspaceSupport
2023-09-25 15:34:40 +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
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
Tryibion
ffbd14ad49
Fix right clicking on source folder to sometimes select non-visible child.
2023-09-20 15:35:36 -05:00
mafiesto4
8cd8ae93c3
Add ObjectRadius to DrawCall to properly cull local lights and env probes in Forward Shading
2023-09-20 15:01:02 +02:00
Tryibion
dabbd7bc6a
Add highlighting when mouse is over slider thumb.
2023-09-16 11:46:36 -05:00
mafiesto4
097d26f8cb
Codestyle fix #1262
2023-09-12 14:21:27 +02:00
mafiesto4
6ece66b018
Merge branch 'input-editors' of https://github.com/Tryibion/FlaxEngine into Tryibion-input-editors
2023-09-12 14:09:49 +02:00
Tryibion
d96f19e5c6
Change exposed positionns to float 2
2023-09-05 08:44:59 -05:00
Tryibion
65a02f032f
Expose helpful slider data.
2023-09-05 08:25:25 -05:00
Tryibion
20f35e332f
Add slider control
2023-09-04 20:15:59 -05:00
Tryibion
a98458be1f
Small improvements.
2023-08-31 14:14:01 -05:00
Tryibion
e4dfda7202
Add method enum.
2023-08-31 14:07:17 -05:00
Tryibion
d7112dc534
Improve progress bar to add switch between clipping and stretch and add direction.
2023-08-30 17:59:39 -05:00
Tryibion
5354063129
Add simple way to remove button border.
2023-08-19 10:43:04 -05:00
Tryibion
9b0c6a070a
Add InputEvent and InputAxis editors and changed UICanvas to use them.
2023-07-21 13:26:51 -05:00
GoaLitiuM
2190031ccf
Support decimal values in Font sizes
2023-06-18 20:52:46 +03:00
mafiesto4
b57a3165fa
Fix textbox submit when it's nav focused
2023-06-16 10:56:17 +02:00
mafiesto4
f552dd0c28
Merge remote-tracking branch 'origin/master' into 1.6
2023-06-10 23:29:22 +02:00
mafiesto4
3bbfe9de8a
Code cleanup, add tooltip and cache property option in layout #1140
2023-06-09 17:32:57 +02:00
mafiesto4
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
mafiesto4
007edb4651
Merge commit '2c809389ad7d8953b10e7ab3b1b29aca4d072116' into 1.6
2023-06-01 01:06:27 +02:00
mafiesto4
3953e6ddc0
Merge commit 'f2ecefb7ee9b9e6c5daac9f44fe40ebdccbb1c76' into 1.6
2023-06-01 01:06:14 +02:00
mafiesto4
fb6a9728a3
Hide editor-only properties from animating in UI Control
2023-05-28 23:30:49 +02:00
mafiesto4
6a482c987c
Fix 3D UI Canvas point conversion from parent control space to local space
...
#1129
2023-05-28 23:21:36 +02:00
mafiesto4
44036a26d0
Fix UI Control selection highlights when using Canvas Scaler
...
#977
2023-05-28 21:35:56 +02:00
mafiesto4
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
mafiesto4
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
mafiesto4
3fa9f9e9cf
Follow up 4482fc0bcf
...
#1086
2023-05-16 12:14:52 +02:00
mafiesto4
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
mafiesto4
b57018f55c
Merge remote-tracking branch 'origin/master' into 1.6
2023-05-12 14:41:21 +02:00
mafiesto4
b5117af4b8
Format code
2023-05-12 14:19:40 +02:00
Tryibion
eeaf7eb733
Move BoxSize
2023-05-10 08:04:47 -05:00
Tryibion
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
mafiesto4
d56f7a211f
Optimize UI performance when destroying complex UI structures
2023-05-05 09:23:22 +02:00
mafiesto4
67b373c6df
Merge remote-tracking branch 'origin/master' into 1.6
2023-04-17 13:18:08 +02:00
mafiesto4
e9bdc8b319
Fix crash when starting drag&drop with invalid control state (detached from window)
2023-04-17 12:36:59 +02:00
mafiesto4
91c017713c
Merge remote-tracking branch 'origin/master' into 1.6
2023-04-13 12:12:33 +02:00
Tryibion
06ba894e39
Various changes to scroll bar to make it feel better
2023-04-08 23:00:43 -05:00