You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira #ROBOMERGE-AUTHOR: bryan.sefcik #ROBOMERGE-SOURCE: CL 21121764 via CL 21121765 via CL 21121766 #ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824) [CL 21143035 by bryan sefcik in ue5-main branch]
23 lines
594 B
C++
23 lines
594 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "SlateFontDialogModule.h"
|
|
|
|
#include "Modules/ModuleManager.h"
|
|
#include "SlateFontDlgWindow.h"
|
|
|
|
bool FSlateFontDialogModule::OpenFontDialog(FString& OutFontName, float& OutHeight, EFontImportFlags& OutFlags)
|
|
{
|
|
bool SuccessfulLoad = false;
|
|
FSlateFontDlgWindow FontDialog(SuccessfulLoad);
|
|
if (!SuccessfulLoad)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
bool SuccessfulWindow = false;
|
|
FontDialog.OpenFontWindow(OutFontName, OutHeight, OutFlags, SuccessfulWindow);
|
|
return SuccessfulWindow;
|
|
}
|
|
|
|
IMPLEMENT_MODULE(FSlateFontDialogModule, SlateFontDialog);
|