Files
UnrealEngineUWP/Engine/Source/Developer/FriendsAndChat/Private/FriendsAndChatStyle.cpp
Max Preussner 121fccd2ab Code and documentation cleanup pass
- removed dummy UClasses (no longer needed)
- removed file header comments (not used)
- removed duplicated function documentation in cpp files
- documentation cleanup, punctuation, spelling etc.
- pragma once include guards (now work on all platforms)
- relative public includes (are auto-discovered by UBT)
- fixed too many/too few line breaks
- deleted empty files
- missing override
- NULL to nullptr

[CL 2305058 by Max Preussner in Main branch]
2014-09-21 20:35:48 -04:00

98 lines
2.1 KiB
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#include "FriendsAndChatPrivatePCH.h"
const FName FFriendsAndChatStyle::TypeName( TEXT("FFriendsAndChatStyle") );
FFriendsAndChatStyle& FFriendsAndChatStyle::SetCloseButtonStyle( const FButtonStyle& InButtonStyle)
{
CloseButtonStyle = InButtonStyle;
return *this;
}
FFriendsAndChatStyle& FFriendsAndChatStyle::SetMinimizeStyle( const FButtonStyle& InButtonStyle)
{
MinimizeButtonStyle = InButtonStyle;
return *this;
}
FFriendsAndChatStyle& FFriendsAndChatStyle::SetSearchButtonStyle( const FButtonStyle& InButtonStyle)
{
SearchButtonStyle = InButtonStyle;
return *this;
}
FFriendsAndChatStyle& FFriendsAndChatStyle::SetOfflineBrush(const FSlateBrush& InOffLine)
{
OfflineBrush = InOffLine;
return *this;
}
FFriendsAndChatStyle& FFriendsAndChatStyle::SetOnlineBrush(const FSlateBrush& InOnLine)
{
OnlineBrush = InOnLine;
return *this;
}
FFriendsAndChatStyle& FFriendsAndChatStyle::SetBackgroundBrush(const FSlateBrush& InBackground)
{
Background = InBackground;
return *this;
}
FFriendsAndChatStyle& FFriendsAndChatStyle::SetTextStyle(const FTextBlockStyle& InTextStle)
{
TextStyle = InTextStle;
return *this;
}
FFriendsAndChatStyle& FFriendsAndChatStyle::SetFontStyle(const FSlateFontInfo& InFontStyle)
{
FriendsFontStyle = InFontStyle;
return *this;
}
FFriendsAndChatStyle& FFriendsAndChatStyle::SetCheckboxToggleStyle(const FCheckBoxStyle& InCheckboxStyle)
{
CheckBoxToggleStyle = InCheckboxStyle;
return *this;
}
FFriendsAndChatStyle& FFriendsAndChatStyle::SetMenuSetColor(const FLinearColor& InSetColor)
{
MenuSetColor = InSetColor;
return *this;
}
FFriendsAndChatStyle& FFriendsAndChatStyle::SetMenuUnsetColor(const FLinearColor& InUnsetColor)
{
MenuUnsetColor = InUnsetColor;
return *this;
}
FFriendsAndChatStyle& FFriendsAndChatStyle::SetFriendItemStyle(const FComboButtonStyle& InFriendItemStyle)
{
FriendItemStyle = InFriendItemStyle;
return *this;
}
const FFriendsAndChatStyle& FFriendsAndChatStyle::GetDefault()
{
static FFriendsAndChatStyle Default;
return Default;
}