// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved. /*============================================================================= FriendsAndChatStyle.cpp: Implements the FFriendsAndChatStyle class. =============================================================================*/ #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; }