37 lines
831 B
C++
37 lines
831 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Styling/SlateTypes.h"
|
|
#include "Widgets/DeclarativeSyntaxSupport.h"
|
|
#include "Widgets/SCompoundWidget.h"
|
|
|
|
class SBorder;
|
|
class FToolBarBuilder;
|
|
|
|
/** Ribbon based toolbar used as a main menu in the Profiler window. */
|
|
class SMemoryProfilerToolbar: public SCompoundWidget
|
|
{
|
|
public:
|
|
/** Default constructor. */
|
|
SMemoryProfilerToolbar();
|
|
|
|
/** Virtual destructor. */
|
|
virtual ~SMemoryProfilerToolbar();
|
|
|
|
SLATE_BEGIN_ARGS(SMemoryProfilerToolbar) {}
|
|
SLATE_END_ARGS()
|
|
|
|
/**
|
|
* Construct this widget
|
|
*
|
|
* @param InArgs The declaration data for this widget
|
|
*/
|
|
void Construct(const FArguments& InArgs);
|
|
|
|
private:
|
|
/** Create the UI commands for the toolbar */
|
|
void CreateCommands();
|
|
};
|