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

28 lines
619 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Widgets/SCompoundWidget.h"
class SButton;
class SDetailTableRowBase;
class SDetailExpanderArrow : public SCompoundWidget
{
public:
SLATE_BEGIN_ARGS(SDetailExpanderArrow) {}
SLATE_END_ARGS()
void Construct(const FArguments& InArgs, TSharedRef<SDetailTableRowBase> DetailsRow);
private:
EVisibility GetExpanderVisibility() const;
const FSlateBrush* GetExpanderImage() const;
FReply OnExpanderClicked();
private:
TWeakPtr<SDetailTableRowBase> Row;
TSharedPtr<SButton> ExpanderArrow;
};