Files
UnrealEngineUWP/Engine/Source/Developer/FriendsAndChat/Private/FriendsFontStyle.cpp
Nicholas Davies 83c572170e #jira OPP-3557 Update Fortnite to use new Chat system
Fix up more style stuff in Fortnite
#codereview Antony.Carter

[CL 2582867 by Nicholas Davies in Main branch]
2015-06-10 12:10:03 -04:00

66 lines
1.5 KiB
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "FriendsAndChatPrivatePCH.h"
const FName FFriendsFontStyle::TypeName( TEXT("FFriendsFontStyle") );
const FFriendsFontStyle& FFriendsFontStyle::GetDefault()
{
static FFriendsFontStyle Default;
return Default;
}
FFriendsFontStyle& FFriendsFontStyle::SetFontSmall(const FSlateFontInfo& FontStyle)
{
FriendsFontSmall = FontStyle;
return *this;
}
FFriendsFontStyle& FFriendsFontStyle::SetFontSmallBold(const FSlateFontInfo& FontStyle)
{
FriendsFontSmallBold = FontStyle;
return *this;
}
FFriendsFontStyle& FFriendsFontStyle::SetFontNormal(const FSlateFontInfo& FontStyle)
{
FriendsFontNormal = FontStyle;
return *this;
}
FFriendsFontStyle& FFriendsFontStyle::SetFontNormalBold(const FSlateFontInfo& FontStyle)
{
FriendsFontNormalBold = FontStyle;
return *this;
}
FFriendsFontStyle& FFriendsFontStyle::SetFontLarge(const FSlateFontInfo& FontStyle)
{
FriendsFontLarge = FontStyle;
return *this;
}
FFriendsFontStyle& FFriendsFontStyle::SetFontLargeBold(const FSlateFontInfo& FontStyle)
{
FriendsFontLargeBold = FontStyle;
return *this;
}
FFriendsFontStyle& FFriendsFontStyle::SetDefaultFontColor(const FLinearColor& FontColor)
{
DefaultFontColor = FontColor;
return *this;
}
FFriendsFontStyle& FFriendsFontStyle::SetInvertedFontColor(const FLinearColor& FontColor)
{
InvertedFontColor = FontColor;
return *this;
}
FFriendsFontStyle& FFriendsFontStyle::SetDefaultDullFontColor(const FLinearColor& FontColor)
{
DefaultDullFontColor = FontColor;
return *this;
}