Files
UnrealEngineUWP/Engine/Source/Developer/ToolWidgets/Public/SSimpleButton.h
Marc Audy 0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00

28 lines
561 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Framework/SlateDelegates.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Widgets/Input/SButton.h"
class TOOLWIDGETS_API SSimpleButton : public SButton
{
public:
SLATE_BEGIN_ARGS(SSimpleButton)
{}
/** The text to display in the button. */
SLATE_ATTRIBUTE(FText, Text)
SLATE_ATTRIBUTE(const FSlateBrush*, Icon)
/** The clicked handler. */
SLATE_EVENT(FOnClicked, OnClicked)
SLATE_END_ARGS()
SSimpleButton() {}
void Construct(const FArguments& InArgs);
};