Files
UnrealEngineUWP/Engine/Source/Runtime/FriendsAndChat/Private/FriendsFontStyle.cpp
Ben Marsh 20bf0eb6a1 Updating copyright notices to 2017 (copying from //Tasks/UE4/Dev-Copyright-2017).
#rb none
#lockdown Nick.Penwarden

[CL 3226823 by Ben Marsh in Main branch]
2016-12-08 08:52:44 -05:00

72 lines
1.6 KiB
C++

// Copyright 1998-2017 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;
}