28 lines
619 B
C++
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;
|
|
}; |