Files
UnrealEngineUWP/Engine/Source/Developer/ToolWidgets/Public/Dialog/DialogUtils.h
derek truong c137ace85e Fixing missing header guard in DialogUtils header file (added in CL 28276965)
#rnx

[CL 28290380 by derek truong in ue5-main branch]
2023-09-27 16:23:37 -04:00

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);
};