You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
22 lines
641 B
C++
22 lines
641 B
C++
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
|
||
|
|
#include "EditorStyleSettingsCustomization.h"
|
||
|
|
#include "DetailCategoryBuilder.h"
|
||
|
|
#include "Styling/StyleColors.h"
|
||
|
|
#include "DetailLayoutBuilder.h"
|
||
|
|
|
||
|
|
|
||
|
|
TSharedRef<IDetailCustomization> FEditorStyleSettingsCustomization::MakeInstance()
|
||
|
|
{
|
||
|
|
return MakeShared<FEditorStyleSettingsCustomization>();
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
void FEditorStyleSettingsCustomization::CustomizeDetails(IDetailLayoutBuilder& DetailLayout)
|
||
|
|
{
|
||
|
|
IDetailCategoryBuilder& ColorCategory = DetailLayout.EditCategory("Color");
|
||
|
|
|
||
|
|
TArray<UObject*> Objects = { &UStyleColorTable::Get() };
|
||
|
|
|
||
|
|
ColorCategory.AddExternalObjectProperty(Objects, "Colors");
|
||
|
|
}
|