2019-12-26 15:32:37 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
2014-11-19 07:43:07 -05:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2016-11-23 15:48:37 -05:00
|
|
|
#include "CoreMinimal.h"
|
|
|
|
|
#include "Widgets/SWidget.h"
|
|
|
|
|
#include "Widgets/DeclarativeSyntaxSupport.h"
|
|
|
|
|
#include "Framework/Commands/UICommandList.h"
|
2020-10-20 09:57:33 -04:00
|
|
|
#include "SVisualLoggerBaseWidget.h"
|
2014-11-19 07:43:07 -05:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Implements the messaging debugger toolbar widget.
|
|
|
|
|
*/
|
2015-06-11 09:51:31 -04:00
|
|
|
class SVisualLoggerToolbar : public SVisualLoggerBaseWidget
|
2014-11-19 07:43:07 -05:00
|
|
|
{
|
|
|
|
|
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);
|
|
|
|
|
};
|