Commit Graph

1694 Commits

Author SHA1 Message Date
calvin zheng
02a5287364 Fixing cursor offset on Macbooks with notch
#rb zack.neyland
#jira UE-182466
#rnx

[CL 36442525 by calvin zheng in 5.5 branch]
2024-09-19 13:47:14 -04:00
george rolfe
af1189b4c2 [Slate] Account for custom VAlign in SWidgetBlock
#rb aditya.ravichandran
#jira UE-224486
#rnx

[CL 36324175 by george rolfe in 5.5 branch]
2024-09-16 21:21:46 -04:00
Ryan Hummer
4af2fd066d Updating Dev-Release-5.5 from Main at CL #36144969
#okforversepublic

[CL 36146571 by Ryan Hummer in Dev-5.5 branch]
2024-09-10 10:26:02 -04:00
zach bethel
0746bbd50e Implemented async task support for Slate.
[CL 36030886 by zach bethel in ue5-main branch]
2024-09-04 23:02:38 -04:00
brad monahan
4c937ad628 [Sequencer] Advanced Filtering:
- Adds various text expressions
 - Adds additional filters
 - Add custom filters created from text filter expressions
 - Add Hide/Isolate/Show filter
 - Move all filtering functions from ISequencer to ISequencerTrackFilters
 - Create filter bar widget and backend class
 - Add actions that can be hotkeyed for all filters
 - Text expression help dialog POC
 - Add USequencerTrackFilterTextExpressionExtension to enable outside modules to add custom text filter expressions

#jira UE-179472
#rb Max.Chen

[CL 35905329 by brad monahan in ue5-main branch]
2024-08-29 16:03:55 -04:00
george rolfe
0b6625a805 [SlateCore] Allow FOptionalSize to be constructed from TOptional<float>
#rb Patrick.Boutot
#rnx

[CL 35857358 by george rolfe in ue5-main branch]
2024-08-28 04:04:57 -04:00
george rolfe
46f3c44761 [SlateCore] Added MinWidth/Height to various Slot types (in addition to the existing MaxWidth/Height attributes)
#jira UE-222577
#rb daren.cheng
#rnx

[CL 35857146 by george rolfe in ue5-main branch]
2024-08-28 03:57:03 -04:00
zach bethel
705b994a81 Moved slate viewport present to occur after rendering all slate windows, rather than pipelining them. This allows the ReadyToPresentDelegate to be broadcast at the correct time.
[CL 35755251 by zach bethel in ue5-main branch]
2024-08-22 17:02:56 -04:00
henrik karlsson
78ba369d2c Fixed linker errors on some console platform when building modular builds. Fixes involves moving ctor/dtor and friends from header to cpp and dll import/export
[CL 35710553 by henrik karlsson in ue5-main branch]
2024-08-21 13:44:16 -04:00
sebastian arleryd
941e605c7f Tighten layout of the new viewport toolbar
* Add FToolBarStyle::SeparatorThickness to specify the thickness of separators in toolbars.
* Reduce button paddings in the new viewport toolbar.
* Adjust combo button paddings to add extra space on the left side of the main sub menu combo buttons in the new viewport toolbar.
* Set up separator styling to be thin using FToolBarStyle::SeparatorThickness and using the FStyleColors::Dropdown color.
* Update the Concert and Avalanche modules to use the new FToolBarStyle::SeparatorThickness default value of 2.0f instead of their hardcoded 2.0f values.

#jira UE-212287
#rb Dario.Mazzanti

[CL 35693985 by sebastian arleryd in ue5-main branch]
2024-08-21 06:45:22 -04:00
henrik karlsson
026577f35a [Slate]
* Implement default dtor (and cctor in some types) in cpp file to work around modular build linker issues on old console platform

[CL 35645000 by henrik karlsson in ue5-main branch]
2024-08-19 19:29:52 -04:00
andrea botti
6f6a994432 [SlateCore] Add check for the OverflowDirection for the MiddleEllipsis when checking if the space is enough.
#rb yohann.dossantos
#jira UE-222118

[CL 35623391 by andrea botti in ue5-main branch]
2024-08-19 08:52:23 -04:00
zach bethel
c451548ce3 Clean-up of Slate RHI renderer and conversion to RDG.
- Removed legacy render pass management.
 - Merged individual window render passes into single RDG builder.
 - Cleaned up lots of dead code around HDR processing.
 - Moved render batch merging to run asynchronously on the CPU.
 - Ported UMG post buffer system and custom draw element paths to RDG.
 - Replaced expensive scene view creation with much simpler view uniform buffer path.

#rb daren.cheng
#jira UE-211739

[CL 35454938 by zach bethel in ue5-main branch]
2024-08-12 12:00:42 -04:00
andrea botti
edc6357e9b [Slate/SlateCore] Adding new OverflowPolicy MiddleEllipsis
This new OverflowPolicy will cut the names in the middle keeping the initial and last part visible.

#rb yohann.dossantos, Vincent.Gauthier
#jira UE-215507


#virtualized

[CL 35452595 by andrea botti in ue5-main branch]
2024-08-12 10:50:11 -04:00
brandon schaefer
6ccf824218 Enable AutoRTFM for this module
#rb Brandon.Schaefer

[CL 35429813 by brandon schaefer in ue5-main branch]
2024-08-09 13:56:08 -04:00
yohann dossantos
67fcf57378 Slate: Display glyph info (Font, size, outline size, glyphindex, fontskew, ...) when hovering a glyph in the Font Atlas Visualizer.
[RN] Slate Font Atlas Visualizer: when hovering a glyph, display info about it (Font, size,...).
#tests Opened the Font atlas viewer and Texture atlas viewer, hovered glyphs and textures, was able to display expected info for all but one (issue in the FontCache system with SDF to investigate). No regression on texture tooltip display. Flushed the cache while actively hovering glyph without stability issue.
#jira UE-220365
#rb daren.cheng

[CL 35345942 by yohann dossantos in ue5-main branch]
2024-08-06 13:27:06 -04:00
viktor chlumsky
6d0e193e46 Slate SDF fonts - moved from Font to Font Face and per device profile configuration
[REVIEW] [at]Yohann.DosSantos, [at]Patrick.Boutot, [at]JC.Authier, [at]daren.cheng, [at]editor-ui-systems, [at]Peter.Rockwell
#tests Tested in editor
#rnx <Release Notes exclude>
#rb Peter.Rockwell, yohann.dossantos

[CL 35304712 by viktor chlumsky in ue5-main branch]
2024-08-05 07:58:04 -04:00
marc audy
0afb288968 Shrink FSlateBrush 16bytes
#rnx

[CL 35216322 by marc audy in ue5-main branch]
2024-07-31 12:13:39 -04:00
joe kirchoff
7064c9b251 Fix remaining new compiler analyze warnings
#rnx

[CL 35117906 by joe kirchoff in ue5-main branch]
2024-07-26 15:47:24 -04:00
andre peres
4cef05c71d DrawElementTypes: Added a new function MakeRotatedShapedText that allows the text to be rotated around a given point
Original review: 34813945
#rb daren.cheng

[CL 35089841 by andre peres in ue5-main branch]
2024-07-25 14:20:00 -04:00
ben hoffman
076d728610 Face-lift Search Box icons
#rb aditya.ravichandran
#jira none

#fyi aditya.ravichandran

#ushell-cherrypick of 34929957 by kristof.morva1

[CL 35018950 by ben hoffman in ue5-main branch]
2024-07-23 10:34:51 -04:00
patrick boutot
484106a6c1 Slate: Fix typo in documentation.
[CL 34811577 by patrick boutot in ue5-main branch]
2024-07-15 09:36:30 -04:00
steve robb
f40be2d759 Fixed some 'deprecated' FString usage.
#rb james.hopkin

[CL 34603027 by steve robb in ue5-main branch]
2024-06-24 09:25:50 -04:00
andrew rodham
65be212f5a Slate: Added the ability to draw dotted and dashed line segments
In order to support this the following changes have been made:
 - A new API for FSlateDrawElement::MakeDashedLines.
 - Anti-aliased lines now upload texture coordinates dictating each vertex's position along the line, and the dash length in addition to the existing antialias gradient. This shouldn't add any additional bandwidth overhead since these texture coordinates were always being uploaded before anyway, just with a value of (1,1)
 - Additional shader instructions for anti-aliased lines are now also run to compute the opacity for each pixel based on the dash length and position. These are always run, even for non-dashed, antialiased lines. Profiling showed negligible performance difference for a test with heavy line-rendering.


#rb Daren.Cheng, Patrick.Boutot

[CL 34526531 by andrew rodham in ue5-main branch]
2024-06-20 09:26:33 -04:00
viktor chlumsky
377db39495 Slate SDF font - fix for excessive signed distance spread when text is tiny
[CL 34502721 by viktor chlumsky in ue5-main branch]
2024-06-19 12:03:49 -04:00