You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035 [CL 17949667 by aurel cordonnier in ue5-main branch]
34 lines
733 B
C++
34 lines
733 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Input/Reply.h"
|
|
#include "Misc/Attribute.h"
|
|
#include "Widgets/DeclarativeSyntaxSupport.h"
|
|
#include "Widgets/SCompoundWidget.h"
|
|
|
|
class SDocumentationAnchor : public SCompoundWidget
|
|
{
|
|
public:
|
|
SLATE_BEGIN_ARGS( SDocumentationAnchor )
|
|
{}
|
|
SLATE_ARGUMENT( FString, PreviewLink )
|
|
SLATE_ARGUMENT( FString, PreviewExcerptName )
|
|
|
|
/** The string for the link to follow when clicked */
|
|
SLATE_ATTRIBUTE( FString, Link )
|
|
SLATE_END_ARGS()
|
|
|
|
void Construct(const FArguments& InArgs);
|
|
|
|
private:
|
|
|
|
FReply OnClicked() const;
|
|
|
|
private:
|
|
|
|
TAttribute<FString> Link;
|
|
TSharedPtr<class SButton> Button;
|
|
TSharedPtr<class SImage> ButtonImage;
|
|
};
|