Files
UnrealEngineUWP/Engine/Source/Developer/SlateFileDialogs/Public/SlateFileDialogsStyles.h
Dmitry Rekman 93818641c7 SlateFileDialogs: updated from 6/17 code drop.
- Uses separate style and not Core.
- A new button to create the directory.

#codereview Nick.Atamas, Matthew.Lewis, Josh.Adams

[CL 2592945 by Dmitry Rekman in Main branch]
2015-06-18 19:27:23 -04:00

29 lines
701 B
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "SlateBasics.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;
};