Replacing legacy EditorStyle calls with AppStyle

#preflight 6272a74d2f6d177be3c6fdda
#rb Matt.Kuhlenschmidt

#ROBOMERGE-OWNER: Lauren.Barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
#ROBOMERGE-CONFLICT from-shelf

[CL 20105363 by Lauren Barnes in ue5-main branch]
This commit is contained in:
Lauren Barnes
2022-05-09 13:12:28 -04:00
parent 91688f5a36
commit 6248f8d412
2175 changed files with 8125 additions and 8177 deletions
@@ -22,7 +22,7 @@
#include "GraphEditor.h"
#include "Layout/ArrangedChildren.h"
#include "Types/PaintArgs.h"
#include "EditorStyleSet.h"
#include "Styling/AppStyle.h"
#include "Layout/LayoutUtils.h"
#include "MarqueeOperation.h"
#include "Templates/UniquePtr.h"
@@ -564,7 +564,7 @@ public:
/** @return The brush to use for drawing the shadow for this node */
virtual const FSlateBrush* GetShadowBrush(bool bSelected) const
{
return bSelected ? FEditorStyle::GetBrush(TEXT("Graph.Node.ShadowSelected")) : FEditorStyle::GetBrush(TEXT("Graph.Node.Shadow"));
return bSelected ? FAppStyle::GetBrush(TEXT("Graph.Node.ShadowSelected")) : FAppStyle::GetBrush(TEXT("Graph.Node.Shadow"));
}
/** Populate the brushes array with any overlay brushes to render */
@@ -636,7 +636,7 @@ public:
protected:
SNode()
: BorderImage( FCoreStyle::Get().GetBrush( "NoBorder" ) )
, BorderBackgroundColor( FEditorStyle::GetColor("Graph.ForegroundColor"))
, BorderBackgroundColor( FAppStyle::GetColor("Graph.ForegroundColor"))
, DesiredSizeScale(FVector2D(1,1))
, Children(this)
{