Files
UnrealEngine/Engine/Source/Developer/SessionFrontend/Private/SessionFrontendStyle.h
2025-05-18 13:04:45 +08:00

23 lines
521 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Styling/SlateStyle.h"
class FSessionFrontendStyle
{
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;
};