Files
UnrealEngineUWP/Engine/Source/Developer/TraceTools/Private/TraceToolsStyle.h
catalin dragoiu 9f36fda32e Add Trace Control Window in Session Frontend
Initial implementation of the TraceTools module.
#rb ionut.matasaru
#jira UE-215072

[CL 33655703 by catalin dragoiu in ue5-main branch]
2024-05-15 08:55:14 -04:00

34 lines
659 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Styling/SlateStyle.h"
class ISlateStyle;
struct FTextBlockStyle;
namespace UE::TraceTools
{
class FTraceToolsStyle
{
public:
static void Initialize();
static void Shutdown();
static const ISlateStyle& Get();
static const FName& GetStyleSetName();
static const FSlateBrush* GetBrush(FName PropertyName, const ANSICHAR* Specifier = NULL)
{
return StyleSet->GetBrush(PropertyName, Specifier);
}
private:
/** Singleton instances of this style. */
static TSharedPtr< class FSlateStyleSet > StyleSet;
static FTextBlockStyle NormalText;
};
} // namespace UE::TraceTools