You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
37 lines
821 B
C++
37 lines
821 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Internationalization/Text.h"
|
|
|
|
enum class EAppMsgCategory : uint8;
|
|
struct FSlateBrush;
|
|
|
|
struct FDialogButtonTexts
|
|
{
|
|
static TOOLWIDGETS_API const FDialogButtonTexts& Get();
|
|
|
|
/** Common dialog button texts */
|
|
const FText No;
|
|
const FText Yes;
|
|
const FText YesAll;
|
|
const FText NoAll;
|
|
const FText Cancel;
|
|
const FText Ok;
|
|
const FText Retry;
|
|
const FText Continue;
|
|
|
|
private:
|
|
FDialogButtonTexts(const FDialogButtonTexts&) = delete;
|
|
FDialogButtonTexts& operator=(const FDialogButtonTexts&) = delete;
|
|
|
|
FDialogButtonTexts();
|
|
};
|
|
|
|
class TOOLWIDGETS_API FDialogUtils
|
|
{
|
|
public:
|
|
/** Returns the Slate brush corresponding to the provided message category */
|
|
static const FSlateBrush* GetMessageCategoryIcon(const EAppMsgCategory MessageCategory);
|
|
};
|