You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
29 lines
667 B
C++
29 lines
667 B
C++
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Input/Reply.h"
|
|
#include "Styling/SlateColor.h"
|
|
#include "Widgets/DeclarativeSyntaxSupport.h"
|
|
#include "Widgets/Input/SButton.h"
|
|
|
|
class ULocalizationTarget;
|
|
|
|
class SLocalizationTargetStatusButton : public SButton
|
|
{
|
|
public:
|
|
SLATE_BEGIN_ARGS( SLocalizationTargetStatusButton ){}
|
|
SLATE_END_ARGS()
|
|
|
|
void Construct(const FArguments& InArgs, ULocalizationTarget& Target);
|
|
|
|
private:
|
|
const FSlateBrush* GetImageBrush() const;
|
|
FSlateColor GetColorAndOpacity() const;
|
|
FText GetToolTipText() const;
|
|
FReply OnClicked();
|
|
|
|
private:
|
|
ULocalizationTarget* Target;
|
|
};
|