Files
UnrealEngineUWP/Engine/Source/Editor/UMGEditor/Private/Settings/WidgetDesignerSettings.cpp
daren cheng e588123757 Add anim drawer to UMG editor.
#jira UETOOL-4267
#rb Matt.Kuhlenschmidt, Vincent.Gauthier, Prajwal.Manjunath
#preflight 6141ffeb4778fa000124a7d8

[CL 17520627 by daren cheng in ue5-main branch]
2021-09-15 11:29:01 -04:00

33 lines
869 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "Settings/WidgetDesignerSettings.h"
UWidgetDesignerSettings::UWidgetDesignerSettings()
{
Favorites = CreateDefaultSubobject<UWidgetPaletteFavorites>(TEXT("WidgetPaletteFavorites"));
CategoryName = TEXT("ContentEditors");
GridSnapEnabled = true;
GridSnapSize = 4;
bShowOutlines = true;
bExecutePreConstructEvent = true;
bRespectLocks = true;
CreateOnCompile = EDisplayOnCompile::DoC_ErrorsOrWarnings;
DismissOnCompile = EDisplayOnCompile::DoC_ErrorsOrWarnings;
}
#if WITH_EDITOR
FText UWidgetDesignerSettings::GetSectionText() const
{
return NSLOCTEXT("UMG", "WidgetDesignerSettingsName", "Widget Designer");
}
FText UWidgetDesignerSettings::GetSectionDescription() const
{
return NSLOCTEXT("UMG", "WidgetDesignerSettingsDescription", "Configure options for the Widget Designer.");
}
#endif