Files
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

37 lines
783 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Widgets/SCompoundWidget.h"
#define UE_API SHAREDSETTINGSWIDGETS_API
/////////////////////////////////////////////////////
// SHyperlinkLaunchURL
// This widget is a hyperlink that launches an external URL when clicked
class SHyperlinkLaunchURL : public SCompoundWidget
{
SLATE_BEGIN_ARGS(SHyperlinkLaunchURL)
{}
/** If set, this text will be used for the display string of the hyperlink */
SLATE_ATTRIBUTE(FText, Text)
SLATE_END_ARGS()
public:
UE_API void Construct(const FArguments& InArgs, const FString& InDestinationURL);
protected:
UE_API void OnNavigate();
protected:
FString DestinationURL;
};
#undef UE_API