Files
UnrealEngineUWP/Engine/Source/Runtime/FriendsAndChat/Private/FriendsFontStyle.cpp
ryan durand 0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00

72 lines
1.6 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "FriendsFontStyle.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::SetChatFont(const FSlateFontInfo& FontStyle)
{
FriendsChatFont = 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;
}