Files
UnrealEngineUWP/Engine/Source/Developer/SlateFileDialogs/Public/SlateFileDialogsStyles.h
Ryan Vance 7c51ff94af Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
CL 1 of 8
#rb integration

[CL 4748712 by Ryan Vance in Dev-VR branch]
2019-01-17 18:54:05 -05:00

31 lines
766 B
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Fonts/SlateFontInfo.h"
#include "Styling/SlateStyle.h"
class FSlateFileDialogsStyle
{
public:
static void Initialize();
static void Shutdown();
static const FSlateStyleSet *Get();
static FName GetStyleSetName();
static const FSlateBrush * GetBrush(FName PropertyName, const ANSICHAR* Specifier = NULL)
{
return StyleInstance->GetBrush(PropertyName, Specifier);
}
static FSlateFontInfo GetFontStyle(FName PropertyName, const ANSICHAR* Specifier = NULL)
{
return StyleInstance->GetFontStyle(PropertyName, Specifier);
}
private:
static TSharedPtr<class FSlateStyleSet> Create();
static TSharedPtr<class FSlateStyleSet> StyleInstance;
};