Files
UnrealEngine/Engine/Source/Developer/LogVisualizer/Private/SVisualLoggerToolbar.h
2025-05-18 13:04:45 +08:00

44 lines
1.0 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Widgets/SWidget.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Framework/Commands/UICommandList.h"
#include "SVisualLoggerBaseWidget.h"
/**
* Implements the messaging debugger toolbar widget.
*/
class SVisualLoggerToolbar : public SVisualLoggerBaseWidget
{
public:
SLATE_BEGIN_ARGS(SVisualLoggerToolbar) { }
SLATE_END_ARGS()
public:
/**
* Construct this widget
*
* @param InArgs The declaration data for this widget.
* @param InStyle The visual style to use for this widget.
* @param InCommandList The command list to bind to.
*/
void Construct(const FArguments& InArgs, const TSharedRef<FUICommandList>& InCommandList);
protected:
/**
* Creates the toolbar widget.
*
* @param CommandList The command list to use for the toolbar buttons.
* @return The toolbar widget.
*/
TSharedRef<SWidget> MakeToolbar(const TSharedRef<FUICommandList>& CommandList);
TSharedRef<SWidget> MakeClippingDistanceWidget();
};